keyhunt icon indicating copy to clipboard operation
keyhunt copied to clipboard

how the -R switch works in bsgs mode

Open Noname400 opened this issue 4 years ago • 8 comments

how the -R switch works in bsgs mode

Noname400 avatar May 19 '21 18:05 Noname400

hi. can you explain how random mode works in BSGS mode

Noname400 avatar Sep 19 '21 16:09 Noname400

It select a random value in the given range, and then it use as basekey for the search in the bsgs mode, from that value to the same value plus N

example:

[+] Min range: 800000000000000000000000000000
[+] Max range: 1000000000000000000000000000000
[+] Setting random mode.
[+] Setting N up to 17592186044416.
...
[+] Thread b521656305ca32547ac29f567793ee
[+] Thread 9af90da21dc807ac91977a4430c3cd
[+] Thread c2d10f360a2c06150876e5bad364e0
...

ever thread set his own base key, N = 17592186044416 this is 0x100000000000 (hexadecimal) (2^25), so every thread search from - to:

[+] Thread b521656305ca32547ac29f567793ee to b521656305ca32547ad29f567793ee
[+] Thread 9af90da21dc807ac91977a4430c3cd to 9af90da21dc807ac91a77a4430c3cd
[+] Thread c2d10f360a2c06150876e5bad364e0 to c2d10f360a2c06150886e5bad364e0

Sorry for not explain this before.

Regards

albertobsd avatar Oct 04 '21 15:10 albertobsd

how to increase N

Noname400 avatar Oct 04 '21 16:10 Noname400

-n value

I recoment one of the next values:

70368744177664
281474976710656
1125899906842624
4503599627370496
18014398509481984
72057594037927936
288230376151711744
1152921504606846976
4611686018427387904

albertobsd avatar Oct 04 '21 16:10 albertobsd

keyhunt -m bsgs -f 120.txt -b 120 -R -k 20 -n 17592186044416 error image

Noname400 avatar Oct 04 '21 16:10 Noname400

yes i have some bug, i will solve it in the next update

albertobsd avatar Oct 04 '21 16:10 albertobsd

thx. when to wait for the update?

Noname400 avatar Oct 04 '21 16:10 Noname400

it fixed now!

albertobsd avatar Oct 16 '21 02:10 albertobsd

Thank you so much 😊


From: Alberto @.> Sent: Tuesday, November 22, 2022 02:27 To: albertobsd/keyhunt @.> Cc: Subscribed @.***> Subject: Re: [albertobsd/keyhunt] how the -R switch works in bsgs mode (#72)

Closed #72https://github.com/albertobsd/keyhunt/issues/72 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/albertobsd/keyhunt/issues/72#event-7862535235, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXPS6QJM7DMOEVMYBMWEN4TWJQORTANCNFSM45FHR2DA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

SMF-contact avatar Nov 22 '22 12:11 SMF-contact