maroc-os / cleanedbitcrack Goto Github PK
View Code? Open in Web Editor NEWA tool for brute-forcing Bitcoin private keys.
License: MIT License
A tool for brute-forcing Bitcoin private keys.
License: MIT License
I'm sorry, but I don't understand you.
how do i enable random mode?
I can’t create a build on ubuntu - it gives an error
CudaAtomicList.h:6:10: fatal error: sys/_types/_null.h: File not found
#include <sys/_types/_null.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Built on Mac Book Pro with no issues.
When I launch:
bin/clBitCrack with one address on command line
I get:
[2020-04-13.23:22:31] [Info] Compression: compressed
[2020-04-13.23:22:31] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000000000001
[2020-04-13.23:22:31] [Info] Ending at: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140
[2020-04-13.23:22:31] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2020-04-13.23:22:31] [Info] Compiling OpenCL kernels...
[2020-04-13.23:22:41] [Info] Initializing Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
[2020-04-13.23:22:42] [Info] Generating 262,144 starting points (10.0MB)
[2020-04-13.23:22:42] [Info] Error: CL_INVALID_WORK_GROUP_SIZE
Suggestions?
Thanks.
done
CudaKeySearchDevice.cpp: In member function ‘void CudaKeySearchDevice::cudaCall(cudaError_t)’:
CudaKeySearchDevice.cpp:11:53: error: no matching function for call to ‘KeySearchException::KeySearchException(std::string&)’
11 | throw KeySearchException(errorString);
| ^
In file included from CudaKeySearchDevice.h:7,
from CudaKeySearchDevice.cpp:1:
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:18:18: note: candidate: ‘KeySearchException::KeySearchException(const string&, const string&)’
18 | explicit KeySearchException(const std::string &_msg, const std::string &_description): msg(_msg), description(_description) {
| ^~~~~~~~~~~~~~~~~~
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:18:18: note: candidate expects 2 arguments, 1 provided
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:15:9: note: candidate: ‘KeySearchException::KeySearchException()’
15 | KeySearchException() {
| ^~~~~~~~~~~~~~~~~~
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:15:9: note: candidate expects 0 arguments, 1 provided
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: candidate: ‘KeySearchException::KeySearchException(const KeySearchException&)’
10 | class KeySearchException {
| ^~~~~~~~~~~~~~~~~~
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: no known conversion for argument 1 from ‘std::string’ {aka ‘std::__cxx11::basic_string’} to ‘const KeySearchException&’
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: candidate: ‘KeySearchException::KeySearchException(KeySearchException&&)’
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: no known conversion for argument 1 from ‘std::string’ {aka ‘std::__cxx11::basic_string’} to ‘KeySearchException&&’
CudaKeySearchDevice.cpp: In constructor ‘CudaKeySearchDevice::CudaKeySearchDevice(int, int, int, int, int)’:
CudaKeySearchDevice.cpp:22:53: error: ‘class cuda::CudaException’ has no member named ‘description’
22 | throw KeySearchException(ex.msg, ex.description);
| ^~~~~~~~~~~
CudaKeySearchDevice.cpp: In member function ‘virtual void CudaKeySearchDevice::doStep()’:
CudaKeySearchDevice.cpp:179:53: error: ‘class cuda::CudaException’ has no member named ‘description’
179 | throw KeySearchException(ex.msg, ex.description);
| ^~~~~~~~~~~
make[1]: *** [Makefile:8: cuda] Error 1
make[1]: Leaving directory '/content/CleanedBitCrack/CudaKeySearchDevice'
make: *** [Makefile:100: dir_cudaKeySearchDevice] Error 2
[2023-04-13.05:30:53] [Info] CleanedBitCrack
[2023-04-13.05:30:53] [Info] Compression: compressed
[2023-04-13.05:30:53] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000000000001
[2023-04-13.05:30:53] [Info] Ending at: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140
[2023-04-13.05:30:53] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2023-04-13.05:30:53] [Info] Threads: 64
[2023-04-13.05:30:53] [Info] Blocks: 64
[2023-04-13.05:30:53] [Info] Points per Thread: 5000
[2023-04-13.05:30:53] [Info] Compiling OpenCL kernels...
[2023-04-13.05:30:53] [Info] Initializing AMD Radeon Pro 5500M Compute Engine
[2023-04-13.05:30:53] [Info] Allocating Memory for Buffers (2500.0MB)
[2023-04-13.05:30:53] [Info] Generating 20,480,000 starting points (781.2MB)
[2023-04-13.05:30:56] [Info] 10.0%
[2023-04-13.05:30:56] [Info] 20.0%
[2023-04-13.05:30:56] [Info] 30.0%
[2023-04-13.05:30:56] [Info] 40.0%
[2023-04-13.05:30:56] [Info] 50.0%
[2023-04-13.05:30:56] [Info] 60.0%
[2023-04-13.05:30:56] [Info] 70.0%
[2023-04-13.05:30:56] [Info] 80.0%
[2023-04-13.05:30:56] [Info] 90.0%
[2023-04-13.05:30:56] [Info] 100.0%
[2023-04-13.05:30:56] [Info] Done
[2023-04-13.05:30:56] [Info] Loading addresses from '../btc.txt'
[2023-04-13.05:30:56] [Info] 33 address(es) loaded (0.0MB)
0 address(es) ignored
[2023-04-13.05:30:56] [Info] Initializing BloomFilter (0.0MB)
[00:00:32] 3750/4080MB | 33 targets 13380.27 MKey/s (115,792,089,237,316,195,423,570,985,008,687,907,852,837,564,279,074,904,382,605,163,141,056,603,734,335 remaining) [ETA 100000000.00 milleniums and more]
Hello, i tried to compile the code but the result was unsuccessful, please anyone compile the "EXE" version of the code for using on windows. i need CuBitCrack.exe and ClBitCrack.exe
thank you all
Hey, I know you don 't spend much time here or care about your own code, but your windows version won't build .. Yes, we are on correct VS version and everything else. We are able to build other variations of this code perfectly fine. Your code however, produces LNK1181 cannot open input file '.......\x64\Release\CudaKeySearchDevice.lib'. Can you please double check your code and roll out a fix? Or provide us with the steps to follow to correct this
Compiling in C++ gives an error in windows when making CLKeySearchDevice.
Error MSB3073 The command "type D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\clMath\ripemd160.cl D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\clMath\secp256k1.cl D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\clMath\sha256.cl keysearch.cl > bitcrack.cl
D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\tools\embedcl.exe bitcrack.cl bitcrack_cl.cpp _bitcrack_cl
:VCEnd" exited with code 3. CLKeySearchDevice C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 145
CodeFactor found an issue: Complex Code
It's currently on:
KeyFinder\main.cpp
Commit 75f8ade
the start when I command make
........done
.........done
.......at last
duplicate symbol '__bitcrack_cl' in:
bitcrack_cl.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libCLKeySearchDevice.a] Error 1
make: *** [dir_clKeySearchDevice] Error 2
when I start it mypc CleanedBitCrack-master % clBitCrack 1FshYsUh3mqgsG29XpZ23eLjWV8Ur3VwH
zsh: command not found: clBitCrack
how most I start it?
Please created functions random search keys hex please!
cuBitCrack.exe -b 16 -t 128 -p 256 -i 1to32.txt -o f.txt -r --compression both
CodeFactor found an issue: Consider using localtime_r(...) instead of localtime(...) for improved thread safety.
It's currently on:
Logger\Logger.cpp:33
brother i cant find the exe file in here
Hi. how can i change starting points in runtime mode?
I called the getResultsInternal () function;
but I still have a problem. how to clear allocated memory in GPU. you can help me.
cudaFree () doesn't work.
please tell me.
Hi,
I'm trying to build with make BUILD_OPENCL=1
on MacBook with M1 (arm64 architecture). I'm getting many warnings of this kind:
ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/liblogger.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libcommonutils.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libsecp256k1.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libkeyfinder.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libcryptoutil.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libaddressutil.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libclutil.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libCLKeySearchDevice.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libcmdparse.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
in the end the build fails with:
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [all] Error 1
Is there a way to build it for arm64 with OpenCL?
Thanks a lot!
CodeFactor found an issue: Consider using rand_r(...) instead of rand(...) for improved thread safety.
It's currently on:
secp256k1lib\secp256k1.cpp:686
Commit 154e1de
hello, please add a change of points after a period of time.
For example: at startup, 16,000,000 random points are created and every 30 minutes they are randomly generated again.
CodeFactor found an issue: Complex Method
It's currently on:
KeyFinder\main.cpp:571-805
In file included from clContext.h:4:0,
from clContext.cpp:4:
clUtil.h:20:10: fatal error: CL/cl2.hpp: No such file or directory
#include <CL/cl2.hpp>
^~~~~~~~~~~~
compilation terminated.
In file included from clerrors.cpp:1:0:
clUtil.h:20:10: fatal error: CL/cl2.hpp: No such file or directory
#include <CL/cl2.hpp>
^~~~~~~~~~~~
compilation terminated.
In file included from clUtil.cpp:1:0:
clUtil.h:20:10: fatal error: CL/cl2.hpp: No such file or directory
#include <CL/cl2.hpp>
^~~~~~~~~~~~
compilation terminated.
Makefile:6: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/mnt/f/cleanedbitcrack/clUtil'
Makefile:138: recipe for target 'dir_clutil' failed
make: *** [dir_clutil] Error 2
can someone help please.....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.