adrijano / bitcoin-wallet-cracker Goto Github PK
View Code? Open in Web Editor NEWAutomated Bitcoin wallet generator that with mnemonic and passphrases bruteforces wallet addresses
License: MIT License
Automated Bitcoin wallet generator that with mnemonic and passphrases bruteforces wallet addresses
License: MIT License
Hello!
I just tried to run this program through termux and i got an error. This is the output of the command ("pip3 install -r requirements.txt")
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/data/data/com.termux/files/usr/tmp/pip-install-64y8x61s/hashlib_ebf15824fd1c4af8b711517f5edf5d72/setup.py", line 68
print "unknown OS, please update setup.py"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output```
Hi there would it be possible to specify a single wallet? and run through combinations like so?
Cool
How can i decrypt a wallet and access the funds?
when checking the mnemonics do not fit wallets, if you press stop and check at least one, it will turn out to be incorrect
How does the balance gets checked with your tool?
I just got the files look like from 2 year ago. Looking at the code it seems some difference. Is there a problem using old code or is there advantage to new code? What is difference?
Like my catchphrase?
What is causing this to flagged as a virus?
sorry
hey nice work the python gui looks good. maybe you can make some changes:
For now the script shows many things like the key and mnemonic but to test i thinks it will work slowly with all the information listing. Also if i want to see if the script will work i must copy everything search and replace the not luck text and see if it find an adress with balance.
Solution: Maybe you can made a Wallet Generator Mode with iformation like seed and anything like not but with input field with own passphrase and 2 more modes a cracking mode with passphrase and one without passphrase and then it only shows the adress without balance in output field or maybe that someone can chose output in file or in the window.
It also will be very cool if you can made a multiwallet version that also checks other crypto coins or tokens like SafeMoon, Elongate, ADA and something like in Trust Wallet. For this we also need no passphrase and it is maybe easier to find balance.
The Windows Version inside is also really cool that i only must open the .exe and chose passwort file and it will run, no python update errors or something else.
An Database Update tool also will be nice.
thx
I think it's like looking for an atom among a million million xD
I am using it to recover an old wallet
Has anyone running this script actually been able to find a working wallet with a balance? how long did they leave the cracker running for? or does it not matter as it's a random chance if you find one?
just trying to find some reassurance that it's worth running this 24/7 lol.
only have uncompressed address
I would like to know what the verification functions are so that it can say that such mnemonic passphrase is valid ?
I'd also like to know what the data-base file is for, which it doesn't seem to use to check wallets because even if it's empty, it checks random addresses.
Thank you very much in advance for your reply.
Ive notice that the wallet database that the cracker is using a a bit outdated, and was wondering if you will release a new one, or even expand the curent one for more coins.
How to get access to someone bitcoin wallet and transfer the funds to another wallet
Hi,
I have problem for try this tool, when i want install hmac on windows or debian I get this error on windows :
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\freem\AppData\Local\Temp\pip-install-43un5jvm\hashlib_2818bcfc620d42319391f72b9b9f3100\setup.py", line 68
print "unknown OS, please update setup.py"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("unknown OS, please update setup.py")?
----------------------------------------
and on debian :
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/dist-packages/setuptools/init.py", line 16, in
import setuptools.version
File "/usr/local/lib/python3.7/dist-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/init.py", line 33, in
import email.parser
File "/usr/lib/python3.7/email/parser.py", line 12, in
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.7/email/feedparser.py", line 27, in
from email._policybase import compat32
File "/usr/lib/python3.7/email/_policybase.py", line 9, in
from email.utils import _has_surrogates
File "/usr/lib/python3.7/email/utils.py", line 28, in
import random
File "/usr/lib/python3.7/random.py", line 46, in
from hashlib import sha512 as _sha512
File "/tmp/pip-install-xtn20qsf/hashlib/hashlib.py", line 80
raise ValueError, "unsupported hash type"
^
SyntaxError: invalid syntax----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-xtn20qsf/hashlib/
and when i click on start :
How to download this in android how bro
?
How can I increase the database size I want to add more wallets
Hi
I asked ChatGPT to make this script run through CUDA (NVidia RTX 2060). This is what it replied to me:
To run a Python script on CUDA with an NVIDIA RTX 2060 instead of using the CPU, you'll need to utilize NVIDIA's CUDA library. The CUDA library provides support for parallel programming on NVIDIA GPUs.
Here are the basic steps you'll need to follow:
Verify that you have the CUDA driver installed on your system. Make sure you have the correct version of the CUDA driver that is compatible with your RTX 2060 GPU.
Install the pycuda
package, which is a Python library that provides an interface to the CUDA API.
You can install pycuda
using the pip
package manager:
pip install pycuda
Import the necessary modules in your Python script:
import pycuda.autoinit
import pycuda.driver as cuda
from pycuda.compiler import SourceModule
Write the CUDA kernel that will run on the GPU. CUDA kernels are written in a C-like programming language and are dynamically compiled during the execution of the Python script. Here's a simple example of a CUDA kernel that adds two vectors:
kernel_code = """
__global__ void vector_add(float *a, float *b, float *c, int n) {
int i = threadIdx.x + blockIdx.x * blockDim.x;
if (i < n) {
c[i] = a[i] + b[i];
}
}
"""
Compile the CUDA kernel using SourceModule
from pycuda
:
mod = SourceModule(kernel_code)
Obtain a reference to the compiled kernel function:
vector_add = mod.get_function("vector_add")
Create NumPy arrays for the data that will be transferred to the GPU:
import numpy as np
n = 100 # size of the vectors
a = np.random.randn(n).astype(np.float32)
b = np.random.randn(n).astype(np.float32)
c = np.zeros(n, dtype=np.float32)
Transfer the data to GPU memory:
a_gpu = cuda.mem_alloc(a.nbytes)
b_gpu = cuda.mem_alloc(b.nbytes)
c_gpu = cuda.mem_alloc(c.nbytes)
cuda.memcpy_htod(a_gpu, a)
cuda.memcpy_htod(b_gpu, b)
Set the block and grid size configuration for kernel execution:
block = (128, 1, 1) # block size
grid = ((n + block[0] - 1) // block[0], 1) # grid size
Call the kernel to execute on the GPU:
vector_add(a_gpu, b_gpu, c_gpu, np.int32(n), block=block, grid=grid)
Transfer the result back to host memory:
cuda.memcpy_dtoh(c, c_gpu)
Now, c
will contain the result of the vector addition on the GPU.
Please note that this is just a simple example to illustrate the use of CUDA with PyCUDA. Depending on your specific Python script, additional modifications may be required.
Also, it's important to consider that not all parts of your script may benefit from GPU execution. Not all operations are suitable for CUDA parallelization, so you need to identify the parts of your code that can be accelerated
Certainly! To make your script utilize CUDA with an NVIDIA RTX 2060, you would need to identify parts of the code that can be accelerated using GPU parallelization and modify them accordingly. In the provided script, it seems that most of the computations are CPU-bound and may not benefit significantly from GPU acceleration. However, you can explore optimizing specific sections of your code using CUDA. Here's an example of how you could modify a specific function, hmac512
, to utilize CUDA with PyCUDA:
First, make sure you have PyCUDA and the CUDA toolkit installed on your system.
Next, modify the hmac512
function to use PyCUDA for GPU acceleration:
import pycuda.autoinit
import pycuda.driver as cuda
from pycuda.compiler import SourceModule
import numpy as np
def hmac512(mnemonic, passphrase):
mod = SourceModule("""
#include <string.h>
#include <openssl/hmac.h>
__global__ void hmac_kernel(const char* mnemonic, const char* passphrase, char* result) {
unsigned char digest[EVP_MAX_MD_SIZE];
unsigned int digest_len;
HMAC(EVP_sha512(), (const unsigned char*)mnemonic, strlen(mnemonic),
(const unsigned char*)passphrase, strlen(passphrase),
digest, &digest_len);
for (int i = 0; i < digest_len; i++) {
result[i] = digest[i];
}
}
""")
# Transfer mnemonic and passphrase to device memory
mnemonic_gpu = cuda.to_device(mnemonic.encode())
passphrase_gpu = cuda.to_device(passphrase.encode())
# Allocate memory for the result on the device
result_gpu = cuda.mem_alloc(len(mnemonic) + len(passphrase) + 1)
# Launch the kernel
hmac_kernel = mod.get_function("hmac_kernel")
hmac_kernel(mnemonic_gpu, passphrase_gpu, result_gpu, block=(1, 1, 1))
# Transfer the result back to the host
result = np.empty(len(mnemonic) + len(passphrase) + 1, dtype=np.uint8)
cuda.memcpy_dtoh(result, result_gpu)
return result.tobytes().decode()
In this modified version, the hmac512
function now utilizes a CUDA kernel to perform the HMAC calculation on the GPU. The SourceModule
from PyCUDA is used to define and compile the CUDA kernel code. The kernel is launched using the hmac_kernel
function, and the result is transferred back to the host for further processing.
Please note that this modification is just an example and focuses on a specific part of your code. Depending on the specific requirements and computations in your script, you may need to explore and modify other sections to take full advantage of GPU acceleration.
In the modified script, the following changes have been made:
The bip
function now only takes the num
parameter and reads the BIP0039 word list from the file. It generates a random set of words based on the specified num
and returns the generated mnemonic.
The master
function now takes the mnemonic
as a parameter and directly calculates the master key by hashing the mnemonic using SHA-256. It returns the resulting master key.
The pubkey
function remains unchanged.
The addr
function remains unchanged.
The wif
function now takes the masterkey
as a parameter and directly calculates the WIF (Wallet Import Format) by hashing the master key. It returns the resulting WIF.
The database
function remains unchanged.
The mnemonic
variable is generated using the bip
function with the specified num
value.
The masterkey
variable is generated by calling the master
function with the mnemonic
as a parameter.
The public_key
variable is generated using the pubkey
function with the masterkey
as a parameter.
The address
variable is generated using the addr
function with the public_key
as a parameter.
The WIF
variable is generated using the wif
function with the masterkey
as a parameter.
The data_base
variable is obtained from the database
function by passing the address
as a parameter.
The output in the print
statement has been updated to reflect the changes in the variable names and structure.
These changes ensure that the script generates the mnemonic, master key, public key, address, WIF, and checks the database for the address with balance correctly.
Hi, I have tried to run your program in python 3 and python 2. In the case of python 3, I get this error (when i install the requirements) (I am running it from ubuntu-20.04, pip3)
In the case of python 2, I can install the requirements without problems, but it fails me when I try to run bc.py:
thanks in advance!
It just feels that adding a password file (13th word) makes things so much harder.
How can I run this without password?
I am willing to possibly donate some if we can get this sorted.
Hello! what will be the name of the text file in which the positive result will be saved?
Hello sir can you please tell me that where can i find the working private keys??
is there maybe a way that i can set a start and an endpoint to the script without using random? and can i maybe directly save then to an txt file that split every 100mb?
there is a bitcoin puzzle chalenge i need to find a key between
0000000000000000000000000000000000000000000000007cce5efdaccf6808
and
000000000000000000000000000000000000000000000001a838b13505b26867
i know that i must generate billion of keys but maybe is it possible with some changes on your script? thx
I think it would be extremely helpful to have a 'wallets per second checked' feature on the top of the cracker, right above the timer at the top.
the dark web ones apparently have it but they're very unreliable and not supported/updated at all from what I've heard.
I think it would be a good way to test the speed of the computers running the cracker and see which ones are the most powerful for running the code. By the way is it the GPU that is being used the most or the RAM?
dictionary.txt Is it Entropy, or is it standard bip39 data for generating mnemonics?
why is there a database with addresses?
When you random select words and check if they exist then you don't need a database list with addresses right?
delete me sorry
hi bro..
while i click bc - application file in dist folder...
its immeidately disappeared.. not opening..
still this tool works..? kindly update pls.
thanks
Does it work offline without internet?
Hi,
I downloaded Python 3 embedded package, typed in "py" in the search in start menu on Windows and ran,
git clone https://github.com/adrijano/Bitcoin-wallet-cracker.git
cd Bitcoin-wallet-cracker && pip install -r requirements.txt
python bc.py
I also tried running,
cd dist
start bc.exe
Both gave me "Invalid Sysntax," and the program did not open. How can I run this?
hi, i forgot my own passphrases. It consisted of 12 words. I have 11 words, but not 1 word. balance, what explorer is it looking for? I want to remove it. and instead I want to specify an address with 4 addresses of my own.
When i start the program it says failed to execute script bc
Pls someone tell me how to fix issue
Hi! On 'select passwords' Do you use Dictionary as in your gif?
Also is there an alert when an address is found? Where is the txt file?
I'm looking to break my own. Just wondering if i can just let it crack 1 address. Thanks!
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.