Skip to content

Instantly share code, notes, and snippets.

View TheArchivistsDomain's full-sized avatar

TheArchivist01 TheArchivistsDomain

View GitHub Profile
@TheArchivistsDomain
TheArchivistsDomain / shodan2list.py
Created August 29, 2022 09:52
Convert Shodan's json files to a txt list for feeding into other programs.
import json
from sys import argv
if len(argv) != 2:
print("Usage: python3 shodan2list.py <filename>")
exit(0)
with open(argv[1]) as f:
str_list = list(filter(None, f.read().split("\n")))
for host_json in str_list:
@TheArchivistsDomain
TheArchivistsDomain / CrackingBitcoin.md
Created August 29, 2022 10:40
Tutorial on how to break into bitcoin accounts with poorly censored private keys.

image Imagine you find a screenshot of a private key for a bitcoin wallet with money in it, but some of the characters are censored. Here is how you crack it.

First, note down the public address and private key: 1KtcmtacFsN5SR2Lt5rn1gfHe9enEHaBoZ L43kTaWVaQGZNfsCrRtZv9n7JUsXimR3x7pqKn??...??1km

Remember, private keys (WIF's) usually have 52 characters in them and only occasionally 51. Use this to figure out how many characters you are missing in the private key.