Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
Etayson committed Jul 8, 2020
0 parents commit e4ddd8d
Show file tree
Hide file tree
Showing 7 changed files with 6,076 additions and 0 deletions.
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[crackhelperServer.exe] commands:
-port N Listen port N for client connections
-range begin:end Using range from begin to end
-dp N Divide whole range into 2^N subranges
-out fileneame Name of your log file where will be stored finded key
-address ADDR Address that will be find with bitckrack app.
-map fileneame Name of your map file where will be stored subranges key
Example: crackhelperServerX64.exe -range 8000000000:ffffffffff -dp 5 -map mmm.bin -address 1EeAxcprB2PpCnr34VfZdFrkUWuxyiNEFv

[crackhelperClient.exe] commands:
-prog filename The name of bitckrack app without exe suffix
-name NAME Instance name for stats on server
-pool host:port Server host:port by default 127.0.0.1:8000
-d N GPU device id
-t N Number of threads
-b N Number of blocks
-p N Number of points per thread
Example: crackhelperClientX64.exe -prog cuBitCrack.exe -name 2080ti -d 0 -pool 127.0.0.1:8000 -t 256 -b 136 -p 512

Note! When you complile apps by yourself don`t forget in compile options:
Uncheck > create unicode executable
Check > Create threadsafe executable
and set Executable format> console

Note! Bitcrack app sholud be put in the same folder as crackhelperClientX64.exe
If you have few GPU on the same PC put each instance of crackhelperClientX64.exe to new folder(and Bitcrack app)
How to correct set -dp:
Job timeout is 1 day. If client do not submit job in 1 day, job will be deleted.
So the width of the subrange should be such that it can be solved in 1 day maximum by 1 instance client.
For ex your gpu can calculate 2^30 keys/s
In this case for 2.5h gpu can calculate 2^43keys
If your whole range is 2^63 than devide 2^63 / 2^43 = 2^20
So -dp 20, mean devide whole range into 1048576(2^20) subranges and width of each subrange is 2^43.

[merger.exe] is needed to combine the results of work from crackhelperServerX64.

The same ranges and addresses are required in both map files!
You can combine files with the same -dp

But you can also combine files with different -dp, for ex -dp 20 with -dp 22
But here it should be remembered that in the saved file dp will be the greatest!
If you are merge -dp 20 with -dp 22 then merger logic will be:
copy file with -dp 22 to savingmap file
copy all scanned subranges from file with -dp 20 to savingmap file
totaly you will have savingmap file with -dp 22 where already put scanned ranges from file with -dp 20

example of usage > merger.exe mmm.bin mmmmerge.bin mmmsave.bin
Loading

0 comments on commit e4ddd8d

Please sign in to comment.