Bitcoin Forum
April 25, 2026, 03:16:46 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 »
  Print  
Author Topic: BitCrack - A tool for brute-forcing private keys  (Read 79983 times)
sp_
Legendary
*
Offline Offline

Activity: 2996
Merit: 1089

Team Black developer


View Profile
March 26, 2021, 01:28:19 PM
 #981

Doesn't work. The 30 series problem is code related, not a PTX compile issue.

I will receive my first 30 series card in a week or so. Will fix then.

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW QUAI-KAWPOW FIROPOW EVRPROGPOW MEOWPOW + dual mining.. https://github.com/sp-hash/TeamBlackMiner
renedx
Jr. Member
*
Offline Offline

Activity: 36
Merit: 3


View Profile
March 26, 2021, 02:15:43 PM
 #982

Doesn't work. The 30 series problem is code related, not a PTX compile issue.

I will receive my first 30 series card in a week or so. Will fix then.

Awesome, would you mind sharing what the fix if you get it fixed? As we noobs been trying for a while  Grin Would love to know what've been overlooking.
NotATether
Legendary
*
Offline Offline

Activity: 2310
Merit: 9632


┻┻ ︵㇏(°□°㇏)


View Profile WWW
March 26, 2021, 02:21:33 PM
 #983

Doesn't work. The 30 series problem is code related, not a PTX compile issue.

I will receive my first 30 series card in a week or so. Will fix then.

Awesome, would you mind sharing what the fix if you get it fixed? As we noobs been trying for a while  Grin Would love to know what've been overlooking.

Hang on, I'm zoning in on the error. It appears to be returned from a CUDA API function so that's some good news Smiley

This issue is also reproducible on RTX 20 cards.

I'm currently busy strapping all the API calls with printf's after the error checks are triggered to see which one it is.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
renedx
Jr. Member
*
Offline Offline

Activity: 36
Merit: 3


View Profile
March 26, 2021, 02:32:18 PM
 #984


Hang on, I'm zoning in on the error. It appears to be returned from a CUDA API function so that's some good news Smiley

This issue is also reproducible on RTX 20 cards.

I'm currently busy strapping all the API calls with printf's after the error checks are triggered to see which one it is.

Cool! Hopefully your printfs do not slow it down too much causing it to work. That was our biggest pain in the .........
I've been checking our discord, but there is really nothing you didn't already know/ran into it.
NotATether
Legendary
*
Offline Offline

Activity: 2310
Merit: 9632


┻┻ ︵㇏(°□°㇏)


View Profile WWW
March 26, 2021, 03:25:56 PM
 #985


Hang on, I'm zoning in on the error. It appears to be returned from a CUDA API function so that's some good news Smiley

This issue is also reproducible on RTX 20 cards.

I'm currently busy strapping all the API calls with printf's after the error checks are triggered to see which one it is.

Cool! Hopefully your printfs do not slow it down too much causing it to work. That was our biggest pain in the .........
I've been checking our discord, but there is really nothing you didn't already know/ran into it.

I discovered that it's actually the Link Time Optimization (-dlto switch) that nvcc is doing to the object code that's the culprit and messing with CUDA API functions, which is also the reason why linking takes so long, and that this feature is turned off while using the debugging switch -G. Unfortunately there is no switch that turns it off, but it shouldn't be too bad because I can successfully reproduce the bug with -b 1 -t 32 -p 1 (the threads absolutely have to be a multiple of 32 or else the program will complain).

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
renedx
Jr. Member
*
Offline Offline

Activity: 36
Merit: 3


View Profile
March 26, 2021, 04:15:42 PM
 #986



I discovered that it's actually the Link Time Optimization (-dlto switch) that nvcc is doing to the object code that's the culprit and messing with CUDA API functions, which is also the reason why linking takes so long, and that this feature is turned off while using the debugging switch -G. Unfortunately there is no switch that turns it off, but it shouldn't be too bad because I can successfully reproduce the bug with -b 1 -t 32 -p 1 (the threads absolutely have to be a multiple of 32 or else the program will complain).

Isn't this the same thing as for Legacy Mode execution? Would at least explain why legacy was running (just horribly slow).

Didn't know about this one tho:
Quote
With a new code target, lto_70, you can get fine-grained control to indicate which target architecture should store the LTO intermediary instead of SASS or PTX. For example, to store Volta LTO and Ampere PTX, you would compile with the following code example:

nvcc -gencode arch=compute_70,code=lto_70
     -gencode arch=compute_80,code=compute_80
NotATether
Legendary
*
Offline Offline

Activity: 2310
Merit: 9632


┻┻ ︵㇏(°□°㇏)


View Profile WWW
March 26, 2021, 04:22:33 PM
 #987



I discovered that it's actually the Link Time Optimization (-dlto switch) that nvcc is doing to the object code that's the culprit and messing with CUDA API functions, which is also the reason why linking takes so long, and that this feature is turned off while using the debugging switch -G. Unfortunately there is no switch that turns it off, but it shouldn't be too bad because I can successfully reproduce the bug with -b 1 -t 32 -p 1 (the threads absolutely have to be a multiple of 32 or else the program will complain).

Isn't this the same thing as for Legacy Mode execution? Would at least explain why legacy was running (just horribly slow).

Legacy mode is really just no-frills CUDA compilation without fancy optimizations behind your back.

The optimizations are what's killing the program this is why it can only be reproduced in PTX and not in source code. Think about it, even a T4 running Bitcrack compiled with compute 5.2 is crashing. It means that something has changed in the way newer GPUs get their code compiled that makes bad PTX.

The annoying part is that the offending region of memory is 32-bit aligned (so maybe older cards had no problem with that), and there's unsigned int arrays everywhere. Also today's debugging efforts have come to nothing so I think I'll try arming BSGS/Kangaroo/VanitySearch with Bitcrack-like searches instead.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
sp_
Legendary
*
Offline Offline

Activity: 2996
Merit: 1089

Team Black developer


View Profile
March 26, 2021, 06:00:43 PM
 #988

The annoying part is that the offending region of memory is 32-bit aligned

Vector instructions need 16byte alignment.
In bitcrack sp-mod #5 ~66% of the time is used to multuply numbers. Pretty stupid algorithm. With tensor cores enabled, might push the hashrate abit.

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW QUAI-KAWPOW FIROPOW EVRPROGPOW MEOWPOW + dual mining.. https://github.com/sp-hash/TeamBlackMiner
NotATether
Legendary
*
Offline Offline

Activity: 2310
Merit: 9632


┻┻ ︵㇏(°□°㇏)


View Profile WWW
March 26, 2021, 11:58:26 PM
 #989

The annoying part is that the offending region of memory is 32-bit aligned

Vector instructions need 16byte alignment.
In bitcrack sp-mod #5 ~66% of the time is used to multuply numbers. Pretty stupid algorithm. With tensor cores enabled, might push the hashrate abit.

So dynamically allocating all the blasted local variables should solve it then since those are returned on 256-bit boundaries.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
Markzuberg64
Jr. Member
*
Offline Offline

Activity: 35
Merit: 2


View Profile
March 27, 2021, 06:58:09 AM
 #990



I have a program that find the key in 1ms. It is written in sql. Local database. Here is the sourcecode. It is OpenSource:

select privatekey from compressed_bitcoinadresses where adress="122AJhKLEfkFBaGAd84pLp1kfE7xK3GdT8";


Quote

SP_ LINK IS MISSING to your opensource sql search tool. Cant find in your repositries also.
fxsniper
Member
**
Offline Offline

Activity: 406
Merit: 47


View Profile
March 29, 2021, 12:20:30 AM
 #991

my strategy scan is random slot for scan ( split to small keyspace to search)
because I have very small GPU on laptop and I works use for solve puzzle only free time)

First time I use batch file call BitCrack it work fine

and I try to use C# create small utility make bitcrack lurcher
create launcher work better bath file
but I have problem with use variable private key is very long
I am not programmer I don't understand about byte

now I try python call cubitcrack.exe to work , python very easy

try to use subprocess function, it is work on windows 10

subprocess it work on windows 10

Code:
import subprocess
import os
 
#p=subprocess.Popen("notepad",shell=False)
#p=subprocess.Popen("kangaroo in.txt",shell=False)
p=subprocess.Popen("cubitcrack.exe -i in.txt",shell=False)

fxsniper
Member
**
Offline Offline

Activity: 406
Merit: 47


View Profile
March 30, 2021, 06:16:33 AM
 #992


Hi,

How can I modify bitcrack  (CLbitCrack.exe) to search vanity?

https://github.com/Telariust/VanitySearch-bitcrack/releases/tag/1.15.4
WanderingPhilospher
Sr. Member
****
Offline Offline

Activity: 1498
Merit: 286

Shooters Shoot...


View Profile
March 30, 2021, 06:47:51 AM
 #993


Hi,

How can I modify bitcrack  (CLbitCrack.exe) to search vanity?

https://github.com/Telariust/VanitySearch-bitcrack/releases/tag/1.15.4

You DON'T.

You use this program if you want to search for vanity:

https://github.com/JeanLucPons/VanitySearch
fxsniper
Member
**
Offline Offline

Activity: 406
Merit: 47


View Profile
March 30, 2021, 08:24:47 AM
 #994


Hi,

How can I modify bitcrack  (CLbitCrack.exe) to search vanity?

https://github.com/Telariust/VanitySearch-bitcrack/releases/tag/1.15.4

You DON'T.

You use this program if you want to search for vanity:

https://github.com/JeanLucPons/VanitySearch

OK,
I would like to search vanity with keyspace.
VanitySearch search to full key 256 bit and VanitySearch  can not control keyspace search
bitCrack can search by options keyspace

How can use VanitySearch for search Vanity by limited keyspace search?
NotATether
Legendary
*
Offline Offline

Activity: 2310
Merit: 9632


┻┻ ︵㇏(°□°㇏)


View Profile WWW
March 30, 2021, 08:35:56 AM
 #995

OK,
I would like to search vanity with keyspace.
VanitySearch search to full key 256 bit and VanitySearch  can not control keyspace search
bitCrack can search by options keyspace

How can use VanitySearch for search Vanity by limited keyspace search?


Why would you want to do that? By reducing the keyspace, you are making it harder for it to find a vanity address since there are now less possible addresses that are in that keyspace.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
zahid888
Member
**
Offline Offline

Activity: 335
Merit: 24

the right steps towards the goal


View Profile
March 30, 2021, 09:14:00 AM
 #996

Doesn't work. The 30 series problem is code related, not a PTX compile issue.

I will receive my first 30 series card in a week or so. Will fix then.

Bitcrack sp-mod #5 (https://github.com/sp-hash)


[2021-03-30.14:27:51] [Info] Compression: compressed
[2021-03-30.14:27:51] [Info] Starting at: 000000000000000000000000000000000000000000000000800000000AE55034
[2021-03-30.14:27:51] [Info] Ending at:   000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFF
[2021-03-30.14:27:51] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000010000000
[2021-03-30.14:27:51] [Info] Initializing GeForce RTX 3060 Ti
[2021-03-30.14:27:54] [Info] Generating 33,554,432 starting points (1280.0MB)
[2021-03-30.14:27:58] [Info] 10.0%
[2021-03-30.14:27:58] [Info] 20.0%
[2021-03-30.14:27:58] [Info] 30.0%
[2021-03-30.14:27:58] [Info] 40.0%
[2021-03-30.14:27:59] [Info] 50.0%
[2021-03-30.14:27:59] [Info] 60.0%
[2021-03-30.14:27:59] [Info] 70.0%
[2021-03-30.14:27:59] [Info] 80.0%
[2021-03-30.14:27:59] [Info] 90.0%
[2021-03-30.14:27:59] [Info] 100.0%
[2021-03-30.14:27:59] [Info] Done
[2021-03-30.14:27:59] [Info] Error: misaligned address
Execution time = 8 seconds

Same Problem

Can you make these improvements for ClBitcrack including --random ?

1BGvwggxfCaHGykKrVXX7fk8GYaLQpeixA
fxsniper
Member
**
Offline Offline

Activity: 406
Merit: 47


View Profile
March 30, 2021, 10:44:00 AM
 #997

OK,
I would like to search vanity with keyspace.
VanitySearch search to full key 256 bit and VanitySearch  can not control keyspace search
bitCrack can search by options keyspace

How can use VanitySearch for search Vanity by limited keyspace search?


Why would you want to do that? By reducing the keyspace, you are making it harder for it to find a vanity address since there are now less possible addresses that are in that keyspace.


Just do some experiment
for search puzzle #64
fxsniper
Member
**
Offline Offline

Activity: 406
Merit: 47


View Profile
March 31, 2021, 01:41:44 AM
 #998

OK,
I would like to search vanity with keyspace.
VanitySearch search to full key 256 bit and VanitySearch  can not control keyspace search
bitCrack can search by options keyspace

How can use VanitySearch for search Vanity by limited keyspace search?


Why would you want to do that? By reducing the keyspace, you are making it harder for it to find a vanity address since there are now less possible addresses that are in that keyspace.

No need Vanity bitCrack anymore because bitCrack are scan every key from 1234...99.100
I want to test by random
now I want test VanitySearch that can use option keyspace search
Can seed option on VanitySearch use custom keyspace?
anybody know please  advice
NotATether
Legendary
*
Offline Offline

Activity: 2310
Merit: 9632


┻┻ ︵㇏(°□°㇏)


View Profile WWW
March 31, 2021, 08:31:42 PM
 #999

Well boys, I think I may have just fixed RTX 30xx compatibility  Smiley



No debug switch used - speed is awful because I'm using tiny -t -p and -b settings. I didn't want to wait several minutes to see if it worked.

That being said, there's no optimization in this program either. I guess the optimization was too aggressive and it broke things. Maybe I will inch it up a few increments to see the highest that'll work without crashing.

Code and benchmarks tomorrow - I'm dead tired now.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
pacnload
Newbie
*
Offline Offline

Activity: 28
Merit: 1


View Profile
March 31, 2021, 11:07:42 PM
 #1000

I have a question about the commands i found here many times: -b 64 -t 128 -p 256
i have an old GTX 660 OC II with 960 Shader-Units / 80 TMUs / 24ROPs. How must i config the commans -b -t and -p with my GPU?

With the cudaInfo it will give me this info:
ID:  0
Name: GeForce GTX 660
Capability: 3.0
MP: 5
Cores: 960 (192 per MP)
Memory: 2048MB

for now i have 17.79Mkeys/s i thinks i must be more than this for normal because it have also CUDA.
And another Question if i have some adresses i want to can why i must start with 0000000000000000000000000000000000000000000000000000000000000001 is that only a count number or have it something to do with the Private key?
I Only want to use it for education that i can see if there is really a way to hack my wallet and if bitcoin is secure.

thx

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!