davidmgilbert / btc-hack-offline Goto Github PK
View Code? Open in Web Editor NEWAn automated bitcoin wallet generator that brute forces random wallet addresses by checking their balance against an offline database.
An automated bitcoin wallet generator that brute forces random wallet addresses by checking their balance against an offline database.
pip3 install -r requirements.txt Collecting base58 (from -r requirements.txt (line 1))
Downloading base58-2.1.1-py3-none-any.whl (5.6 kB)
Collecting ecdsa (from -r requirements.txt (line 2))
Downloading ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
━━━━━━━━━━ 142.9/142.9 851.9 kB/s eta 0:00:00
kB
Collecting requests (from -r requirements.txt (line 3))
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting multiprocessing (from -r requirements.txt (line 4))
Downloading multiprocessing-2.6.2.1.tar.gz (108 kB)
━━━━━━━━━━━━ 108.0/108.0 3.5 MB/s eta 0:00:00
kB
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-xxy0az08/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-xxy0az08/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-xxy0az08/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-xxy0az08/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 94
print 'Macros:'
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
pip3 install -r requirements.txt
Requirement already satisfied: base58 in c:\users\appdata\local\programs\python\python312\lib\site-packages (from -r requirements.txt (line 1)) (2.1.1)
Requirement already satisfied: ecdsa in c:\users\appdata\local\programs\python\python312\lib\site-packages (from -r requirements.txt (line 2)) (0.18.0)
Requirement already satisfied: requests in c:\users\appdata\local\programs\python\python312\lib\site-packages (from -r requirements.txt (line 3)) (2.31.0)
Collecting multiprocessing (from -r requirements.txt (line 4))
Using cached multiprocessing-2.6.2.1.tar.gz (108 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\AppData\Local\Temp\pip-install-g33o6v0d\multiprocessing_409eb2d5e92149ca9a2c65708db60885\setup.py", line 94
print 'Macros:'
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
It seems that the script generates uncompressed addresses only. If the database contains compressed addresses it would obviously not work.
Is it possible to add compressed address generation to the script?
this is the error whenever i try to run it on ubuntu with pyton3 installed
Traceback (most recent call last):
File "/usr/lib/python3.10/hashlib.py", line 160, in __hash_new
return _hashlib.new(name, data, **kwargs)
ValueError: [digital envelope routines] unsupported
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/root/Desktop/btc-hack-offline/btc-hack-offline.py", line 67, in main
address = public_key_to_address(public_key)
File "/root/Desktop/btc-hack-offline/btc-hack-offline.py", line 32, in public_key_to_address
var = hashlib.new('ripemd160')
File "/usr/lib/python3.10/hashlib.py", line 166, in __hash_new
return __get_builtin_constructor(name)(data)
File "/usr/lib/python3.10/hashlib.py", line 123, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type ripemd160
please help fix this, Thanks
idk why but i get this error:
reading database files...
DONE
database size: 43212885
processes spawned: 24
Process Process-1:
Traceback (most recent call last):
File "C:\Users\EpicYT\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 315, in _bootstrap
self.run()
File "C:\Users\EpicYT\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\EpicYT\Desktop\⠀⠀⠀⠀⠀⠀⠀\2xWallet\btc-hack-offline-main\btc-hack-offline-main\btc-hack-offline.py", line 66, in main
public_key = private_key_to_public_key(private_key, args['fastecdsa'])
File "C:\Users\EpicYT\Desktop\⠀⠀⠀⠀⠀⠀⠀\2xWallet\btc-hack-offline-main\btc-hack-offline-main\btc-hack-offline.py", line 26, in private_key_to_public_key
pk = PrivateKey().fromString(bytes.fromhex(private_key))
File "C:\Users\EpicYT\AppData\Local\Programs\Python\Python39\lib\site-packages\ellipticcurve\privateKey.py", line 65, in fromString
return PrivateKey(secret=intFromHex(string), curve=curve)
File "C:\Users\EpicYT\AppData\Local\Programs\Python\Python39\lib\site-packages\ellipticcurve\utils\binary.py", line 13, in intFromHex
return int(hexadecimal, 16)
ValueError: invalid literal for int() with base 16: b'p,!=s\x89Y\xdb\x0b\x0b\xf58\xb9\xa9\xc5}\xda\x97\x9f\x95\x83\xec\xfe:\x88\xba\xd1kg\xa72\x0e'
Do it
Can i harness my gpu power to do it even faster?? If yes how, can i use multiple gpu?
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.