| 5994 | } |
| 5995 | |
| 5996 | void menu() { |
| 5997 | printf("\nUsage:\n"); |
| 5998 | printf("-h show this help\n"); |
| 5999 | printf("-B Mode BSGS now have some modes <sequential, backward, both, random, dance>\n"); |
| 6000 | printf("-b bits For some puzzles you only need some numbers of bits in the test keys.\n"); |
| 6001 | printf("-c crypto Search for specific crypto. <btc, eth> valid only w/ -m address\n"); |
| 6002 | printf("-C mini Set the minikey Base only 22 character minikeys, ex: SRPqx8QiwnW4WNWnTVa2W5\n"); |
| 6003 | printf("-8 alpha Set the bas58 alphabet for minikeys\n"); |
| 6004 | printf("-e Enable endomorphism search (Only for address, rmd160 and vanity)\n"); |
| 6005 | printf("-f file Specify file name with addresses or xpoints or uncompressed public keys\n"); |
| 6006 | printf("-I stride Stride for xpoint, rmd160 and address, this option don't work with bsgs\n"); |
| 6007 | printf("-k value Use this only with bsgs mode, k value is factor for M, more speed but more RAM use wisely\n"); |
| 6008 | printf("-l look What type of address/hash160 are you looking for <compress, uncompress, both> Only for rmd160 and address\n"); |
| 6009 | printf("-m mode mode of search for cryptos. (bsgs, xpoint, rmd160, address, vanity) default: address\n"); |
| 6010 | printf("-M Matrix screen, feel like a h4x0r, but performance will dropped\n"); |
| 6011 | printf("-n number Check for N sequential numbers before the random chosen, this only works with -R option\n"); |
| 6012 | printf(" Use -n to set the N for the BSGS process. Bigger N more RAM needed\n"); |
| 6013 | printf("-q Quiet the thread output\n"); |
| 6014 | printf("-r SR:EN StarRange:EndRange, the end range can be omitted for search from start range to N-1 ECC value\n"); |
| 6015 | printf("-R Random, this is the default behavior\n"); |
| 6016 | printf("-s ns Number of seconds for the stats output, 0 to omit output.\n"); |
| 6017 | printf("-S S is for SAVING in files BSGS data (Bloom filters and bPtable)\n"); |
| 6018 | printf("-t tn Threads number, must be a positive integer\n"); |
| 6019 | printf("-v value Search for vanity Address, only with -m address and rmd160\n"); |
| 6020 | printf("-z value Bloom size multiplier, only address,rmd160,vanity, xpoint, value >= 1\n"); |
| 6021 | printf("\nExample:\n\n"); |
| 6022 | printf("./keyhunt -m rmd160 -f tests/unsolvedpuzzles.rmd -b 66 -l compress -R -q -t 8\n\n"); |
| 6023 | printf("This line runs the program with 8 threads from the range 20000000000000000 to 40000000000000000 without stats output\n\n"); |
| 6024 | printf("Developed by AlbertoBSD\tTips BTC: 1Coffee1jV4gB5gaXfHgSHDz9xx9QSECVW\n"); |
| 6025 | printf("Thanks to Iceland always helping and sharing his ideas.\nTips to Iceland: bc1q39meky2mn5qjq704zz0nnkl0v7kj4uz6r529at\n\n"); |
| 6026 | exit(EXIT_FAILURE); |
| 6027 | } |
| 6028 | |
| 6029 | bool vanityrmdmatch(unsigned char *rmdhash) { |
| 6030 | bool r = false; |