27 Commits
Author SHA1 Message Date
AltF4 8e0c077478 Added Java to README list of supported prng's in the usage example 2015-08-25 11:17:42 -07:00
AltF4 4f2272a2a8 Added a warning about large Java seed space when brute forcing 2015-08-25 11:14:04 -07:00
AltF4 189ced076f Add Java to the README description of supported PRNGs 2015-08-25 10:57:05 -07:00
AltF4 8fb022f490 Added a text file wth some helpful reminders on how to add a new PRNG 2015-08-25 10:40:22 -07:00
AltF4 c8ac6cfce8 Add support for Java's Random() class PRNG
- This commit has a lot going on, since Java's PRNG uses signed
  64 bit seeds. Blah! So we changed a lot of plumbing to support
  that. That's why so many files were touched.
- Added -s and S flags to support manual specification of seeding
  ranges.
- Also added support for Java's bounded random. IE: nextInt(int)
2015-08-25 10:33:05 -07:00
AltF4 7f21fae4cb Clarified copyright notice to say Bishop Fox
- Also removed notices from un-copyright-able headers
2015-08-17 13:00:24 -07:00
AltF4 0106905cf6 Fixe for deadlock issue when a solution is found too quickly
- Status thread was not waiting on the correct condition
2015-08-17 10:31:27 -07:00
AltF4 4c0a688a6d Specified in help docs that bounding is inclusive 2015-08-14 14:41:26 -07:00
AltF4 4551eae0bb Add test input file for bounded Ruby rand(int..int) 2015-08-14 13:53:42 -07:00
AltF4 7d46619195 Added ability to comment out lines in input number lists
- start the line with a # character, and untwister will ignore it
2015-08-14 13:52:53 -07:00
AltF4 40190438a3 Add support for Ruby's bounded integer random PRNG
- As if you did: rand(int..int)
- Added general bounding support, too
- Uses two new cmd flags: -m min and -M max
2015-08-14 12:59:23 -07:00
AltF4 c672cba2c8 Add support for PHP's mt_rand()
- PHP has its own mt_rand implementation, so it needed to
be supported separately.
- Also added unit tests for php-mt_rand
2015-04-23 13:36:09 -07:00
AltF4 fcadcd899c Bug fixes for generating random number sets
- Fixed parsing of the options for -g
- Added new option -D
- Fixed high memory usage for large -D fields
- Removed unused option for generating numbers from PRNG state
2015-03-09 11:15:36 -07:00
AltF4 2f808e3074 Update help menu and README files
- they were both missing some flags
2015-03-06 15:00:57 -07:00
AltF4 40c2677f53 Changed output float precision to 2 2014-12-15 15:28:55 -07:00
AltF4 43b5323419 Improved time estimate printing
- Now shows the time in seconds/minutes/hours/days/years
    Rather than just 12345678 minutes.
- Set decimal printing to a fixed precision, so that the text
    doesn't "bounce" around when precision changes.
2014-12-15 15:17:08 -07:00
AltF4 16c3e86deb Merge branch 'master' of https://github.com/moloch--/untwister into moloch 2014-12-12 16:16:41 -07:00
AltF4 4682475938 Merge branch 'master' of https://github.com/moloch--/untwister into moloch 2014-12-12 15:28:17 -07:00
AltF4 f910c2f4f5 Merge branch 'moloch'
Conflicts:
	Untwister.cpp
	prngs/Ruby.cpp
2014-12-12 09:50:29 -07:00
AltF4 2b007735c9 Fix for segfault on missing default prng type
- The PRNG string wasn't being set to any default, and segfaulting
2014-12-12 09:35:14 -07:00
AltF4 b03a4847ce Fix for Ruby-rand memory leak
- Also prefixes the "mt" member variable with a "m_"
2014-08-13 17:02:15 -07:00
AltF4 c2b0cf86a9 Fix for segfault when generating integers
- Merge error left some code in where it shouldn't have been
2014-04-29 14:47:34 -07:00
AltF4 10258bac61 Fix GCC build issue on python target
- added "-fPIC" to build flags
2014-04-28 10:01:55 -07:00
AltF4 b61797308d Added support for generating numbers from an input state file 2014-04-25 17:07:41 -07:00
AltF4 eb656b8cf8 Added some usage examples to the README 2014-04-25 15:08:58 -07:00
AltF4 a3e37e3001 Fixed up README a little to be more accurate and better formatted 2014-04-25 14:49:58 -07:00
AltF4 8a9904da14 Initial glibc-rand state inference code commit
- It seems to work about ~50% of the time. Have to look further into this later.
 - Also, other PNRGs nee to be added.
 - Evidence is only inspected forward. Needs to be generalized to look forward and backward
2014-04-25 12:57:39 -07:00