Code Monkey home page Code Monkey logo

brainflayer's Introduction

brainflayer's People

Contributors

floodyberry avatar gsonghashrate avatar nmathewson avatar ryancdotorg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brainflayer's Issues

how to use -k and -n ?

[root@brainflayer]# ./brainflayer -v -I 0000000000000000000000000000000000000000000000000000000000000001 -b btcaddress.blf -f btcaddress.bin -k 5 -n 2

Invalid '-n' argument, remainder '2' must be <= modulus '0'

how can i use it ? what does this error mean ?

what is the flow ?

Thanks.

wont compile

The files wont compile.
I get an error.
In function 'main':
Hex2blf.c:(.text+0x448): undefined reference to 'bloom_set_hash160'
Hex2blf.c:(.text+0x576):undefined reference to 'exp'
Hex2blf.c:(.text+0x593):undefined reference to 'pow'
Collect2: error: ld returned 1 exit status

"Does 130k guesses/second on my machine" ?

Thanks for bringing attending to this and for sharing your research. I've played with libsecp256k1 using threads before and I was able to hit 75k/s on an i7 4970 using four threads. Looking at your code I find it difficult to understand how you're getting ~130k and how are you measuring it?

uint64_t time_1, time_2;
int64_t time_delta;

Isn't used? Omitted code? Anyway you could share the metrics part? Thanks.

Brainflayer not finding match’s

Was running a test of 2 known 160 hashes and I’m unable to get a match .

I created a hex file and phrase.txt with hashes and correct phrases. Then created the blf file with hex2blf and finally a test.bin file wit sort -u | xxd.

I believe I should get the 2 matches. Did I miss anything? I even tried without the test.bin

Running in server with 8 cores and 96gb of ram

program killed

info: 426834 blocks, 170.954 MegaAddrs ,
info: 426837 blocks, 170.963 MegaAddrs ,
info: 426840 blocks, 170.971 MegaAddrs ,
info: 426843 blocks, 170.977 MegaAddrs ,
info: 426847 blocks, 170.988 MegaAddrs ,
info: 426851 blocks, 170.998 MegaAddrs ,
Killed

it got killed twice, with 32GB Ram and 64GB SSD Swap.
at block 426851 seems the last it can handle, any idea?

Ubuntu 16.10 - Makefile:68: recipe for target 'brainflayer' failed - cloned GIT

What might be causing it? Make worked perfect until the very last recipe.
All necessary dependencies, were installed, I think, including openssl, gpm and secp256k1.
Also, do I need openssl-devel?

git submodule init
Submodule 'scrypt-jane' (https://github.com/ryancdotorg/scrypt-jane.git) registered for path 'scrypt-jane'
Submodule 'secp256k1' (https://github.com/ryancdotorg/secp256k1.git) registered for path 'secp256k1'
git submodule update
Cloning into 'scrypt-jane'...
remote: Counting objects: 379, done.
remote: Total 379 (delta 0), reused 0 (delta 0), pack-reused 379
Receiving objects: 100% (379/379), 128.75 KiB | 0 bytes/s, done.
Resolving deltas: 100% (252/252), done.
Checking connectivity... done.
Submodule path 'scrypt-jane': checked out '1be9d57162392f11a860bec8005cc3ce5afdd057'
Cloning into 'secp256k1'...
remote: Counting objects: 3229, done.
remote: Total 3229 (delta 0), reused 0 (delta 0), pack-reused 3229
Receiving objects: 100% (3229/3229), 1.18 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (2299/2299), done.
Checking connectivity... done.
Submodule path 'secp256k1': checked out 'cc623d50e43507f1d41490280a06065bf7fa3128'
cd secp256k1; make distclean || true
make[1]: Entering directory '/home/ubuntubox/Documents/New/brainflayer/secp256k1'
make[1]: *** No rule to make target 'distclean'.  Stop.
make[1]: Leaving directory '/home/ubuntubox/Documents/New/brainflayer/secp256k1'
cd secp256k1; ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
cd secp256k1; ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C89... (cached) none needed
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking for __int128... no
checking for __builtin_expect... yes
checking for x86_64 assembly availability... no
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking for CRYPTO... yes
checking for main in -lcrypto... yes
checking for EC functions in libcrypto... yes
checking whether byte ordering is bigendian... no
configure: Using assembly optimizations: no
configure: Using field implementation: 32bit
configure: Using bignum implementation: no
configure: Using scalar implementation: 32bit
configure: Using endomorphism optimizations: no
configure: Building ECDH module: no
configure: Building Schnorr signatures module: no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
cd secp256k1; make
make[1]: Entering directory '/home/ubuntubox/Documents/New/brainflayer/secp256k1'
gcc -I./ -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc gen_context.o -o gen_context
./gen_context
  CC       src/libsecp256k1_la-secp256k1.lo
  CCLD     libsecp256k1.la
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  CC       src/tests-tests.o
  CCLD     tests
make[1]: Leaving directory '/home/ubuntubox/Documents/New/brainflayer/secp256k1'
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c brainflayer.c -o brainflayer.o
brainflayer.c: In function ‘main’:
brainflayer.c:830:13: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
             "\033[0G\033[2K"
             ^
brainflayer.c:830:13: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c hex.c -o hex.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c bloom.c -o bloom.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c mmapf.c -o mmapf.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c hsearchf.c -o hsearchf.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -Wno-unused-function -c ec_pubkey_fast.c -o ec_pubkey_fast.o
In file included from ec_pubkey_fast.c:24:0:
secp256k1/src/ecmult.h:29:13: warning: ‘secp256k1_ecmult’ used but never defined
 static void secp256k1_ecmult(const secp256k1_ecmult_context_t *ctx, secp256k1_g
             ^
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c ripemd160_256.c -o ripemd160_256.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c dldummy.c -o dldummy.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/brainwalletio.c -o algo/brainwalletio.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/warpwallet.c -o algo/warpwallet.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/keccak.c -o algo/keccak.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/sha3.c -o algo/sha3.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/brainv2.c -o algo/brainv2.o
cd scrypt-jane; gcc -O3 -DSCRYPT_SALSA -DSCRYPT_SHA256 -c scrypt-jane.c -o scrypt-jane.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static brainflayer.o hex.o bloom.o mmapf.o hsearchf.o ec_pubkey_fast.o ripemd160_256.o dldummy.o algo/brainwalletio.o algo/warpwallet.o algo/keccak.o algo/sha3.o algo/brainv2.o secp256k1/.libs/libsecp256k1.a scrypt-jane/scrypt-jane.o -lssl -lrt -lcrypto -lz -lgmp -o brainflayer
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
Makefile:68: recipe for target 'brainflayer' failed
make: *** [brainflayer] Error 1

Compiling error, please excuse my rookie tendencies im new to this, but i cant get to the bottom of these reference errors

root@KALINATIVE:~/Downloads/brainflayer-master# make
gcc -O3 -flto -pedantic -std=gnu99 -Wall -Wextra -funsigned-char -Wno-pointer-sign -Wno-sign-compare -c warpwallet.c -o warpwallet.o
gcc -O3 -flto -pedantic -std=gnu99 -Wall -Wextra -funsigned-char -Wno-pointer-sign -Wno-sign-compare -c brainwalletio.c -o brainwalletio.o
gcc -O3 -flto -pedantic -std=gnu99 -Wall -Wextra -funsigned-char -Wno-pointer-sign -Wno-sign-compare -c brainv2.c -o brainv2.o
cd scrypt-jane; gcc -O3 -DSCRYPT_SALSA -DSCRYPT_SHA256 -c scrypt-jane.c -o scrypt-jane.o
gcc -O3 -flto -pedantic -std=gnu99 -Wall -Wextra -funsigned-char -Wno-pointer-sign -Wno-sign-compare -static brainflayer.o hex.o bloom.o warpwallet.o brainwalletio.o brainv2.o secp256k1/.libs/libsecp256k1.a scrypt-jane/scrypt-jane.o -lssl -lrt -lcrypto -lz -ldl -lgmp -o brainflayer
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function dlfcn_globallookup': (.text+0x11): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /tmp/cck0clOv.ltrans0.ltrans.o: In functionhexpass2hash160.lto_priv.6':
cck0clOv.ltrans0.o:(.text+0x142): undefined reference to secp256k1_ecdsa_pubkey_create' /tmp/cck0clOv.ltrans0.ltrans.o: In functionhexpriv2hash160.lto_priv.7':
cck0clOv.ltrans0.o:(.text+0x33a): undefined reference to secp256k1_ecdsa_pubkey_create' /tmp/cck0clOv.ltrans0.ltrans.o: In functionpass2hash160.lto_priv.5':
cck0clOv.ltrans0.o:(.text+0x55d): undefined reference to secp256k1_ecdsa_pubkey_create' /tmp/cck0clOv.ltrans0.ltrans.o: In functionbwiopass2hash160.lto_priv.11':
cck0clOv.ltrans0.o:(.text+0x7b1): undefined reference to secp256k1_ecdsa_pubkey_create' /tmp/cck0clOv.ltrans0.ltrans.o: In functionbwiosalt2hash160.lto_priv.10':
cck0clOv.ltrans0.o:(.text+0xa19): undefined reference to secp256k1_ecdsa_pubkey_create' /tmp/cck0clOv.ltrans0.ltrans.o:cck0clOv.ltrans0.o:(.text+0xc2f): more undefined references tosecp256k1_ecdsa_pubkey_create' follow
/tmp/cck0clOv.ltrans1.ltrans.o: In function main': cck0clOv.ltrans1.o:(.text.startup+0x279): undefined reference tosecp256k1_start'
cck0clOv.ltrans1.o:(.text.startup+0x8ef): undefined reference to `secp256k1_stop'
collect2: error: ld returned 1 exit status
Makefile:43: recipe for target 'brainflayer' failed
make: *** [brainflayer] Error 1

No matches from file

Hello. For some reason, Brainflayer does not find a match from the file on Debian. But if I use a password generator through the pipe it all works. The problem is only when reading from a file.
On Ubuntu everything works perfectly.

Example:
./brainflayer -v -b test.blf -i key.txt
rate: 499.42 p/s found: 0/9 elapsed: 0.018 s

if (argc == 2) {} else... in main()

Wondering, what happens if we don't pass any arguments into brainflayer. What's the if (argc == 2) {} else{ } part in main(), i.e. no arguments passed into brainflayer?

fprintf(stdout, "%08x%08x%08x%08x%08x:u:%s\n",
ntohl(hash160_uncmp.ul[0]),
ntohl(hash160_uncmp.ul[1]),
ntohl(hash160_uncmp.ul[2]),
ntohl(hash160_uncmp.ul[3]),
ntohl(hash160_uncmp.ul[4]),
line);
fprintf(stdout, "%08x%08x%08x%08x%08x:c:%s\n",
ntohl(hash160_compr.ul[0]),
ntohl(hash160_compr.ul[1]),
ntohl(hash160_compr.ul[2]),
ntohl(hash160_compr.ul[3]),
ntohl(hash160_compr.ul[4]),
line);

Where are matches stored?

Ran through using $brainflayer -v -I 0000000000000000000000000000000000000000000000000000000000000001 -b sampleaccounts.blf
Got some matches. Is there anyway to pause/resume? or do I just close and re-open?

$brainflayer -b sampleaccounts.blf to check matches. nothing is returned.

Thanks

compile error

Hi,

Can you assist me with this error?

root@kali:~/Desktop/brainflayer-master# make all
git submodule init
fatal: Not a git repository (or any of the parent directories): .git
Makefile:17: recipe for target 'secp256k1/.libs/libsecp256k1.a' failed
make: *** [secp256k1/.libs/libsecp256k1.a] Error 128

Compilation issu on ubuntu 16.10

Hello,
I try to compile on ubuntu 16.10 but i have a problem for finalise this.
My error is that :
(.text+0x11): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: cannot find -lgmp collect2: error: ld returned 1 exit status Makefile:43: recipe for target 'brainflayer' failed make: *** [brainflayer] Error 1
I reading other issues and i think apps are linked badly but i don't found how to replace them.
Do you have an idea for fix that ?

Thanks

Please Help Me

Hello Ryan

I have tried running your program that you have created and I couldn't get it to work I don't have much knolegde with how to get the program started and I've tried many times and still don't understand 😪

If you could assist myself with any help it would be greatly appreciated

Thank You

MultiChain support

Hi there. I'm just wondering if you could make this particular tool run against multichain instead of bitcoin and what file in particular I might need to edit to do that. Thanks in advance.

Build error

Gentoo stable 64 bit. gcc 4.9.3.

~/builds/brainflayer $ make
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static brainflayer.o hex.o bloom.o mmapf.o hsearchf.o ec_pubkey_fast.o ripemd160_256.o dldummy.o algo/brainwalletio.o algo/warpwallet.o algo/keccak.o algo/sha3.o algo/brainv2.o secp256k1/.libs/libsecp256k1.a scrypt-jane/scrypt-jane.o -L/usr/lib/libssl.so -L/usr/lib/libgmp.so -o brainflayer
/tmp/ccYF8NbC.ltrans8.ltrans.o: In function `secp256k1_fe_inv_var.lto_priv.23':
<artificial>:(.text+0x8b1): undefined reference to `__gmpn_set_str'
<artificial>:(.text+0x8f7): undefined reference to `__gmpn_set_str'
<artificial>:(.text+0xa0b): undefined reference to `__gmpn_gcdext'
<artificial>:(.text+0xb04): undefined reference to `__gmpn_get_str'
<artificial>:(.text+0x1042): undefined reference to `__gmpn_sub_n'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `pass2priv.lto_priv.29':
<artificial>:(.text+0x15): undefined reference to `SHA256_Init'
<artificial>:(.text+0x23): undefined reference to `SHA256_Update'
<artificial>:(.text+0x2e): undefined reference to `SHA256_Final'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `rush2priv.lto_priv.37':
<artificial>:(.text+0x5a): undefined reference to `SHA256_Init'
<artificial>:(.text+0x74): undefined reference to `SHA256_Update'
<artificial>:(.text+0x81): undefined reference to `SHA256_Final'
<artificial>:(.text+0xf5): undefined reference to `SHA256_Init'
<artificial>:(.text+0x10d): undefined reference to `SHA256_Update'
<artificial>:(.text+0x121): undefined reference to `SHA256_Update'
<artificial>:(.text+0x12e): undefined reference to `SHA256_Final'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `brainv2pass2priv.lto_priv.36':
<artificial>:(.text+0x1a3): undefined reference to `SHA256_Init'
<artificial>:(.text+0x1b5): undefined reference to `SHA256_Update'
<artificial>:(.text+0x1c2): undefined reference to `SHA256_Final'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `brainv2salt2priv.lto_priv.35':
<artificial>:(.text+0x223): undefined reference to `SHA256_Init'
<artificial>:(.text+0x235): undefined reference to `SHA256_Update'
<artificial>:(.text+0x242): undefined reference to `SHA256_Final'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `bwiopass2priv.lto_priv.34':
<artificial>:(.text+0x325): undefined reference to `SHA256_Init'
<artificial>:(.text+0x339): undefined reference to `SHA256_Update'
<artificial>:(.text+0x346): undefined reference to `SHA256_Final'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `bwiosalt2priv.lto_priv.33':
<artificial>:(.text+0x425): undefined reference to `SHA256_Init'
<artificial>:(.text+0x439): undefined reference to `SHA256_Update'
<artificial>:(.text+0x446): undefined reference to `SHA256_Final'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `warppass2priv.lto_priv.32':
<artificial>:(.text+0x4d5): undefined reference to `EVP_sha256'
<artificial>:(.text+0x4f7): undefined reference to `PKCS5_PBKDF2_HMAC'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `warpsalt2priv.lto_priv.31':
<artificial>:(.text+0x5b6): undefined reference to `EVP_sha256'
<artificial>:(.text+0x5d8): undefined reference to `PKCS5_PBKDF2_HMAC'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `uhash160.lto_priv.25':
<artificial>:(.text+0xcc5): undefined reference to `SHA256_Init'
<artificial>:(.text+0xcd7): undefined reference to `SHA256_Update'
<artificial>:(.text+0xce4): undefined reference to `SHA256_Final'
/tmp/ccYF8NbC.ltrans9.ltrans.o: In function `chash160.lto_priv.26':
<artificial>:(.text+0xd43): undefined reference to `SHA256_Init'
<artificial>:(.text+0xd57): undefined reference to `SHA256_Update'
<artificial>:(.text+0xd64): undefined reference to `SHA256_Final'
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'brainflayer' failed
make: *** [brainflayer] Error 1

please help,.. i can't run brainflayer on ubuntu 14.04.5 lts,.. what can i do ??

i cant run and this
rivan@ubuntu14:/brainflayer$ make all
git submodule init
Submodule 'scrypt-jane' (https://github.com/ryancdotorg/scrypt-jane.git) registered for path 'scrypt-jane'
Submodule 'secp256k1' (https://github.com/ryancdotorg/secp256k1.git) registered for path 'secp256k1'
git submodule update
Cloning into 'scrypt-jane'...
remote: Counting objects: 379, done.
remote: Total 379 (delta 0), reused 0 (delta 0), pack-reused 379
Receiving objects: 100% (379/379), 128.75 KiB | 22.00 KiB/s, done.
Resolving deltas: 100% (252/252), done.
Checking connectivity... done.
Submodule path 'scrypt-jane': checked out '1be9d57162392f11a860bec8005cc3ce5afdd057'
Cloning into 'secp256k1'...
remote: Counting objects: 3229, done.
remote: Total 3229 (delta 0), reused 0 (delta 0), pack-reused 3229
Receiving objects: 100% (3229/3229), 1.18 MiB | 17.00 KiB/s, done.
Resolving deltas: 100% (2299/2299), done.
Checking connectivity... done.
Submodule path 'secp256k1': checked out 'cc623d50e43507f1d41490280a06065bf7fa3128'
cd secp256k1; make distclean || true
make[1]: Entering directory /home/rivan/brainflayer/secp256k1' make[1]: *** No rule to make target distclean'. Stop.
make[1]: Leaving directory /home/rivan/brainflayer/secp256k1' cd secp256k1; ./autogen.sh libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, build-aux'.
libtoolize: copying file build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, build-aux/m4'.
libtoolize: copying file build-aux/m4/libtool.m4' libtoolize: copying file build-aux/m4/ltoptions.m4'
libtoolize: copying file build-aux/m4/ltsugar.m4' libtoolize: copying file build-aux/m4/ltversion.m4'
libtoolize: copying file build-aux/m4/lt~obsolete.m4' configure.ac:10: installing 'build-aux/compile' configure.ac:5: installing 'build-aux/config.guess' configure.ac:5: installing 'build-aux/config.sub' configure.ac:9: installing 'build-aux/install-sh' configure.ac:9: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' cd secp256k1; ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 3458764513820540925 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether make supports nested variables... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for gcc option to accept ISO C89... (cached) none needed checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes checking for __int128... yes checking for __builtin_expect... yes checking for x86_64 assembly availability... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for __gmpz_init in -lgmp... yes checking for CRYPTO... yes checking for main in -lcrypto... yes checking for EC functions in libcrypto... yes checking whether byte ordering is bigendian... no configure: Using assembly optimizations: x86_64 configure: Using field implementation: 64bit configure: Using bignum implementation: gmp configure: Using scalar implementation: 64bit configure: Using endomorphism optimizations: no configure: Building ECDH module: no configure: Building Schnorr signatures module: no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libsecp256k1.pc config.status: creating src/libsecp256k1-config.h config.status: executing depfiles commands config.status: executing libtool commands cd secp256k1; make make[1]: Entering directory /home/rivan/brainflayer/secp256k1'
gcc -I./ -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc gen_context.o -o gen_context
./gen_context
CC src/libsecp256k1_la-secp256k1.lo
CCLD libsecp256k1.la
CC src/tests-tests.o
CCLD tests
make[1]: Leaving directory `/home/rivan/brainflayer/secp256k1'
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c brainflayer.c -o brainflayer.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c hex.c -o hex.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c bloom.c -o bloom.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c mmapf.c -o mmapf.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c hsearchf.c -o hsearchf.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -Wno-unused-function -c ec_pubkey_fast.c -o ec_pubkey_fast.o
In file included from ec_pubkey_fast.c:24:0:
secp256k1/src/ecmult.h:29:13: warning: ‘secp256k1_ecmult’ used but never defined [enabled by default]
static void secp256k1_ecmult(const secp256k1_ecmult_context_t *ctx, secp256k1_gej_t *r, const secp256k1_gej_t *a, const secp256k1_scalar_t *na, const secp256k1_scalar_t *ng);
^
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c ripemd160_256.c -o ripemd160_256.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c dldummy.c -o dldummy.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/brainv2.c -o algo/brainv2.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/brainwalletio.c -o algo/brainwalletio.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/keccak.c -o algo/keccak.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/sha3.c -o algo/sha3.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c algo/warpwallet.c -o algo/warpwallet.o
cd scrypt-jane; gcc -O3 -DSCRYPT_SALSA -DSCRYPT_SHA256 -c scrypt-jane.c -o scrypt-jane.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static brainflayer.o hex.o bloom.o mmapf.o hsearchf.o ec_pubkey_fast.o ripemd160_256.o dldummy.o algo/brainv2.o algo/brainwalletio.o algo/keccak.o algo/sha3.o algo/warpwallet.o secp256k1/.libs/libsecp256k1.a scrypt-jane/scrypt-jane.o -lssl -lrt -lcrypto -lz -lgmp -o brainflayer
algo/sha3.o (symbol from plugin): warning: memset used with constant zero length parameter; this could be due to transposed parameters
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c hexln.c -o hexln.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static hexln.o hex.o -lssl -lrt -lcrypto -lz -lgmp -o hexln
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c hex2blf.c -o hex2blf.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static hex2blf.o hex.o bloom.o mmapf.o -lssl -lrt -lcrypto -lz -lgmp -lm -o hex2blf
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c blfchk.c -o blfchk.o
blfchk.c: In function ‘main’:
blfchk.c:30:17: warning: unused variable ‘buf’ [-Wunused-variable]
unsigned char buf[128];
^
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static blfchk.o hex.o bloom.o mmapf.o hsearchf.o -lssl -lrt -lcrypto -lz -lgmp -o blfchk
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c ecmtabgen.c -o ecmtabgen.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static ecmtabgen.o mmapf.o ec_pubkey_fast.o -lssl -lrt -lcrypto -lz -lgmp -o ecmtabgen
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -c filehex.c -o filehex.o
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static filehex.o hex.o -lssl -lrt -lcrypto -lz -lgmp -o filehex
rivan@ubuntu14:
/brainflayer$ brainflayer
brainflayer: command not found

how fix this command not found on brainflayer ??

why 512MBs?

Why BLOOM_SIZE is 512MB, what happens if I double it? would I get less false positives?

make: *** [ec_pubkey_fast.o] Error 1

Hi,

I changed from Kali rolling to Ubuntu 14.04 as directed. i think I am close to getting Brainflayer up and running finally. Hopefully you can assist to get me past these errors and warning. Thanks in advance.

I have Bitcoin and secp256k1 installed and all dependencies as far as I tell. I am getting the attached warnings and error: https://paste.ubuntu.com/23660433

make: *** [ec_pubkey_fast.o] Error 1

Ubuntu 14.04 compile fail

I keep getting the same error on compiling. What am I missing to test this. Thanks

choice@ubuntu:/brainflayer$ make
git submodule init
git submodule update
cd secp256k1; make distclean || true
make[1]: Entering directory /home/choice/brainflayer/secp256k1' make[1]: *** No rule to make targetdistclean'. Stop.
make[1]: Leaving directory `/home/choice/brainflayer/secp256k1'
cd secp256k1; ./autogen.sh
./autogen.sh: 2: ./autogen.sh: autoreconf: not found
make: *** [secp256k1/.libs/libsecp256k1.a] Error 127
choice@ubuntu:
/brainflayer$

Make fail

Hello I tried to compile using "make" or "make all" but I'm getting the ff. error
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lrt
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lgmp
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status

what could be the reason behind? How should I fix the error? Thank you.

Make Install Failing

After sucessfully running make, I run make install and receive the error "No rule to make target 'install' stop".

After if i try to run brainflayer i receive "no such command"

Not sure what I've done wrong in the process?

Won't compile on Arch Linux

$ make
gcc -O3 -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare -pedantic -std=gnu99 -static brainflayer.o hex.o bloom.o mmapf.o hsearchf.o ec_pubkey_fast.o ripemd160_256.o dldummy.o warpwallet.o brainwalletio.o brainv2.o secp256k1/.libs/libsecp256k1.a scrypt-jane/scrypt-jane.o -lssl -lrt -lcrypto -lz -lgmp -o brainflayer
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
Makefile:59: recipe for target 'brainflayer' failed
make: *** [brainflayer] Error 1

$ pacman -Q openssl
openssl 1.0.2.f-1

$ pacman -Q gmp
gmp 6.1.0-3

what i need to speed up bruteforcing ? more cpu cores or more RAM ?

what i need to speed up bruteforcing ? more cpu cores or more RAM ?

i am doing like this

An incremental private key brute force.

brainflayer -v -I 0000000000000000000000000000000000000000000000000000000000000001 -b example.blf

so what i need ? more cores or more RAM ?

Thanks

No matches from file

Hello. For some reason, Brainflayer does not find a match from the file. But if I use a password generator through the pipe it all works. The problem is only when reading from a file.
Ubuntu 16.04

Example:
./brainflayer -v -b test.blf -i key.txt
rate: 499.42 p/s found: 0/9 elapsed: 0.018 s

strange behavior

Runing with a full bloomfilter up to block 430000 and the same hashes160.bin file I'm getting this strange "false positives?", I tought that with the binfile it would suppres them.

5dedfbf9ea599dd4e3ca6a80b333c472fd0b3f69:c:(hex)priv:3030303030303030303030303030303030303030303030303030303030303030
5dedfbf9ea599dd4e3ca6a80b333c472fd0b3f69:c:(hex)priv:303030303030303030303030303030303030303030303030303030303030303030
751e76e8199196d454941c45d1b3a323f1433bd6:c:(hex)priv:3030303030303030303030303030303030303030303030303030303030303030
751e76e8199196d454941c45d1b3a323f1433bd6:c:(hex)priv:303030303030303030303030303030303030303030303030303030303030303030
751e76e8199196d454941c45d1b3a323f1433bd6:c:(hex)priv/btc:3030303030303030303030303030303030303030303030303030303030303030
7a680f79f36210df493cee5f055c1af8a8348878:c:(hex)priv:3030303030303030303030303030303030303030303030303030303030303030
7a680f79f36210df493cee5f055c1af8a8348878:c:(hex)priv/btc:3030303030303030303030303030303030303030303030303030303030303030
7dd65592d0ab2fe0d0257d571abf032cd9db93dc:c:(hex)priv:3030303030303030303030303030303030303030303030303030303030303030
7dd65592d0ab2fe0d0257d571abf032cd9db93dc:c:(hex)priv/btc:3030303030303030303030303030303030303030303030303030303030303030
8f9dff39a81ee4abcbad2ad8bafff090415a2be8:c:(hex)priv:3030303030303030303030303030303030303030303030303030303030303030
8f9dff39a81ee4abcbad2ad8bafff090415a2be8:c:(hex)priv/btc:3030303030303030303030303030303030303030303030303030303030303030
c42e7ef92fdb603af844d064faad95db9bcdfd3d:c:(hex)priv:3030303030303030303030303030303030303030303030303030303030303030
fc7250a211deddc70ee5a2738de5f07817351cef:c:(hex)priv:3131313131313131313131313131313131313131313131313131313131313131
fc7250a211deddc70ee5a2738de5f07817351cef:c:(hex)priv/btc:3131313131313131313131313131313131313131313131313131313131313131

password search

Hello .
I'm try decrypt my wallet.dat.
I got hex address from DOGE address here use http://lenschulwitz.com/base58
After did btcaddress.blf use command /brainflayer$ ./hex2blf btcaddress.hex btcaddress.blf[] Reading existing bloom filter from 'btcaddress.blf'...
[
] Loading hash160s from 'btcaddress.hex' 100.0%
[] Loaded 1 hashes, false positive rate: ~2.298e-167 (1 in ~4.351e+166)
[
] Writing bloom filter to 'btcaddress.blf'...
[+] Success!
r@r-System-Product-Name:
/brainflayer$

password 34os48trs
password.txt
contain 2 lines
454545rt
34os48trs
after this command i get
/brainflayer$ ./brainflayer -v -b btcaddress.blf -i password.txt
rate: 107.39 p/s found: 0/2 elapsed: 0.019 s
r@r-System-Product-Name:
/brainflayer$
What wrong?
It should find password< he is here<but no work???

Issue in README.md

Under "Building" you refer to libsecp256k1 as libscp256k1, note the lack of e.

This is a minor issue but knowing users, they might blindly keep trying to install libscp256k1 dev libs and of course that doesn't exist, and it might result in more issues being logged regarding libsecp256k1.

Command to the brainflayer

If we run this option "brainflayer-v -I 00000000000000000000000000000000000000000000000000000000000000000001 -b example.blf". What is the command to continue where we stayed when we stop brainflayer. We do not have to run again from scratch "00000000000000000000000000000000000000000000000000000000000000000001".

Very slow!

Even if you comment out the bloom-filter / matching code and just feed secp256k1 i.e. secp256k1_ecdsa_pubkey_create(pub_chr, &pub_chr_sz, hash256, 0); the same over and over again to eliminate bottlenecks. secp256k1_ecdsa_pubkey_create() would not be able to generate 20k/s on an i7 yet alone over 100k as claimed by op.

What am I missing here?

If someoone have time to help me

If i try to compile it on centos 7, i get this errors:

/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lrt
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lgmp
/usr/bin/ld: cannot find -lc

I already installed openssl-devel

Problem bloom

I'm asking for help
I use ubuntu 16.10. I have 8gb memory but I always get a bug for a bloom.
bit@bit:/bit/brainflayer$ ./brainflayer -v -I 0000000000000000000000000000000000000000000000000000000000000001 -b example.blf
failed to open bloom filter 'example.blf': Incorrect file size
bit@bit:
/bit/brainflayer$ ./hex2blf bitc4.txt example.blf
[!] Bloom filter file 'example.blf' is not the correct size (0 != 536870912)
bit@bit:~/bit/brainflayer$

Output

Sorry for that maybe stupid Question.
If i run it, where i can see which key he found ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.