GithubHelp home page GithubHelp logo

maroc-os / cleanedbitcrack Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 12.0 3.49 MB

A tool for brute-forcing Bitcoin private keys.

License: MIT License

Makefile 3.79% C++ 53.72% C 18.52% Cuda 23.87% Shell 0.04% Dockerfile 0.07%

cleanedbitcrack's People

Contributors

brichard19 avatar maroc-os avatar

Stargazers

 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

cleanedbitcrack's Issues

Compile on windows

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

random not work

cuBitCrack.exe -b 16 -t 128 -p 256 -i 1to32.txt -o f.txt -r --compression both

error with make and Kan not start it

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?

Does not find key opencl (AMD Radeon Pro 5500M Compute Engine)

[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]

Error About Compiling Linux CuBitCrack

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

change starting point runtime.

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.

CL_INVALID_WORK_GROUP_SIZE

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.

error

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.

Not building on Apple M1 (arm64)

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!

Error when execute MAKE

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.....

Fix build for windows

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

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.