Last active
October 9, 2022 02:14
-
-
Save ghifarit53/9878bf62671a3f1712259cc1476d6288 to your computer and use it in GitHub Desktop.
An attempt to spam phisher's website with fake credentials
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime as dt | |
import random | |
import string | |
import requests | |
def get_random_string(length): | |
# choose from all lowercase letter | |
result = ''.join(random.SystemRandom().choice(string.ascii_lowercase + | |
string.digits) | |
for _ in range(length)) | |
return result | |
url = "https://ig-ftopicture.b0tnet.com/data.php" | |
while True: | |
creds = { | |
'email': (None, get_random_string(10) + "@gmail.com"), | |
'pass': (None, get_random_string(20)) | |
} | |
print(dt.datetime.now(), end=": ") | |
requests.post(url, data=creds) | |
print(creds['email'][1], creds['pass'][1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment