btcrecover icon indicating copy to clipboard operation
btcrecover copied to clipboard

'fixing telegram bot api notification'

Open vishalkumar2806 opened this issue 4 years ago • 14 comments

I fixed a little implementation in fixing telegram bot to get alert of current status and a simple utility for managing wordlist

vishalkumar2806 avatar Nov 02 '21 08:11 vishalkumar2806

So what sort of system are you targeting with these scripts? (Looks like just Ubuntu?)

3rdIteration avatar Nov 04 '21 01:11 3rdIteration

Yes ubuntu basically for autoscripts like auto install and autocrack autocustom auto install which do all lifting

vishalkumar2806 avatar Nov 04 '21 08:11 vishalkumar2806

but if one wants do run on windows it also run on windows but with some runtime issue may be but i don't use window for cracking wallets but still it good for getting updates it send updates and password on user telegram bot

vishalkumar2806 avatar Nov 04 '21 08:11 vishalkumar2806

can work in windows too but not auto scripts or may be work but definitely autoinstall.py will not work

vishalkumar2806 avatar Nov 04 '21 08:11 vishalkumar2806

but wordlist-cl.py is must for push

vishalkumar2806 avatar Nov 04 '21 08:11 vishalkumar2806

The reason I ask is that adding things like pyopencl to pip requirements doesn't work outside of Linux. I'm wondering if the networking based requirements would better go in a separate requirements file, as BTCRecover has thus far need designed not to "call home" in any way. (Or these automation scripts would be in a separate folder, similar to the extract scripts) Basically it's really bad security to run some of these recoveries in a networked environment... (So ideally it would limit it to extract scripts only or something like that, unless someone adds a specific argument to run in this insecure way)

It would also need some documentation added.

On Thu., Nov. 4, 2021, 04:52 vishalkumar2806, @.***> wrote:

but wordlist-cl.py is must for push

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/3rdIteration/btcrecover/pull/271#issuecomment-960562931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARAQLWVCC3LHGPXSMDJIG3UKJCVPANCNFSM5HF2UFWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

3rdIteration avatar Nov 04 '21 11:11 3rdIteration

actually home dir is for telegram-send but auto install is very good it make my work simple and wordlist cli is also awesome

vishalkumar2806 avatar Nov 04 '21 11:11 vishalkumar2806

So can you add some detailed documentation? (And warnings around the safety of using this in a networked environment)

The networked tools will need to one in to a different directory from the home.

On Thu., Nov. 4, 2021, 07:56 vishalkumar2806, @.***> wrote:

actually home dir is for telegram-send but auto install is very good it make my work simple and wordlist cli is also awesome

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/3rdIteration/btcrecover/pull/271#issuecomment-960736260, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARAQLX2LSCTMO3I6UBDIEDUKJYG3ANCNFSM5HF2UFWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

3rdIteration avatar Nov 04 '21 12:11 3rdIteration

I don't have any kind of issue using them checkout the latest commit I add some more functionality and most of time people don't use isolated environment so they don't give a f for isolation. Actually I use aws server for cracking wallets so moving files is a little bit difficult so i also owns a window rdp port 80 open and split wordlist(3gb) into chunks(5mb) then upload it into server then download it using wordlist-cli.py

vishalkumar2806 avatar Nov 04 '21 12:11 vishalkumar2806

Nobody seems to read the --help type of message, so something needs to go in the docs folder so that it in included at https://btcrecover.readthedocs.io/en/latest/

I'll also re-org the files so that all of the "automated" parts are in their own subfolder like the extract scripts. (And add an additional requirements file for these)

3rdIteration avatar Nov 04 '21 14:11 3rdIteration

okie man as you find good also create a log folder which save cracked passwords

vishalkumar2806 avatar Nov 04 '21 14:11 vishalkumar2806

I created these scripts in such a way that it help me in automation now I'm getting logs on telegram bot like this `` bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎14‎ ‎AM] Finished wallets/22/wallet.dat with wordlist wordlist/cyclone/cyclone_hk_000038.txt Remaining wordlist 221

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎14‎ ‎AM] Starting wallets/22/wallet.dat with wordlist wordlist/cyclone/cyclone_hk_000039.txt

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎14‎ ‎AM] 125000 SHA-512 iterations

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎17‎ ‎AM] Finished wallets/22/wallet.dat with wordlist wordlist/cyclone/cyclone_hk_000039.txt Remaining wordlist 220

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎17‎ ‎AM] Starting wallets/22/wallet.dat with wordlist wordlist/cyclone/cyclone_hk_000040.txt

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎17‎ ‎AM] 125000 SHA-512 iterations

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎20‎ ‎AM] Finished wallets/22/wallet.dat with wordlist wordlist/cyclone/cyclone_hk_000040.txt Remaining wordlist 219

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎20‎ ‎AM] Starting wallets/22/wallet.dat with wordlist wordlist/cyclone/cyclone_hk_000041.txt

bitcoin-core, [‎11‎/‎4‎/‎2021 ‎1‎:‎20‎ ‎AM] 125000 SHA-512 iterations `` So I have the log of which wordlist or file i have to test if somehow my ssh get crashed or disconnected

vishalkumar2806 avatar Nov 04 '21 14:11 vishalkumar2806

you should try this repo https://github.com/vishalkumar2806/btcrecover just for testing

vishalkumar2806 avatar Nov 04 '21 14:11 vishalkumar2806

The reason I ask is that adding things like pyopencl to pip requirements doesn't work outside of Linux. I'm wondering if the networking based requirements would better go in a separate requirements file, as BTCRecover has thus far need designed not to "call home" in any way. (Or these automation scripts would be in a separate folder, similar to the extract scripts) Basically it's really bad security to run some of these recoveries in a networked environment... (So ideally it would limit it to extract scripts only or something like that, unless someone adds a specific argument to run in this insecure way) It would also need some documentation added. On Thu., Nov. 4, 2021, 04:52 vishalkumar2806, @.***> wrote: but wordlist-cl.py is must for push — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#271 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARAQLWVCC3LHGPXSMDJIG3UKJCVPANCNFSM5HF2UFWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

No pyopencl works in windows as well but only for nvidia gpu we can just only install it

vishalkumar2806 avatar Nov 04 '21 17:11 vishalkumar2806