Skip to content

Commit

Permalink
Initial upload of the Scammer Spammer project.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLightside committed Apr 7, 2021
0 parents commit 6d29846
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__pycache__/
fake-details/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Scammer-Spammer

Spam those Scammers out of existence!
105 changes: 105 additions & 0 deletions ScammerSpammer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
#!/usr/bin/python3

import requests
import threading
import zipfile
import random
import os
import csv

class config:
def __init__(self):
pass

# Change configuration settings here.
config.zipFile = "fake-details.zip"
config.fakeDetailsFile = "FakeNameGenerator.com-100000-UK,US,AUS,CAN.csv"
config.fakeDetailsLength = 100000
config.multiThreading = True
config.multiThreads = 50

class fakePerson:
def __init__(self):
self.details = fakeDetails[random.randint(0,config.fakeDetailsLength-1)]

self.gender = self.details['Gender']
self.title = self.details['Title']
self.firstName = self.details['GivenName']
self.lastName = self.details['Surname']
self.address = self.details['StreetAddress']
self.city = self.details['City']
self.state = self.details['StateFull']
self.postal = self.details['ZipCode']
self.countrycode = self.details['Country']
self.country = self.details['CountryFull']
self.email = self.details['EmailAddress']
self.username = self.details['Username']
self.password = self.details['Password']
self.browseragent = self.details['BrowserUserAgent']
self.telephone = self.details['TelephoneNumber']
self.telephonecode = self.details['TelephoneCountryCode']
self.mothersmaiden = self.details['MothersMaiden']
self.birthday = self.details['Birthday']
self.age = self.details['Age']
self.cctype = self.details['CCType']
self.ccnumber = self.details['CCNumber']
self.cvv2 = self.details['CVV2']
self.ccexpires = self.details['CCExpires']
self.nationalid = self.details['NationalID']
self.favouritecolor = self.details['Color']
self.occupation = self.details['Occupation']
self.comany = self.details['Company']

def make_request():
while True:
person = fakePerson()

### Setup your Request Here. ###

url = ''
data = {}

################################

response = requests.post(url, headers = {'User-Agent':person.browseragent}, data = data).text
print("[SEND] {}\n[RECIEVED] {}".format(str(data),response))

def multi_threading():
threads = []

for i in range(config.multiThreads):
t = threading.Thread(target=make_request())
t.daemon = True
threads.append(t)

for i in range(config.multiThreads):
threads[i].start()

for i in range(config.multiThreads):
threads[i].join()

def main():
global fakeDetails

if config.zipFile != "":
if not os.path.isfile(config.zipFile.split(".")[0]+"\\"+config.fakeDetailsFile):
print("[STATUS] Extracting archive...")
with zipfile.ZipFile(config.zipFile) as zf:
zf.extractall(config.zipFile.split(".")[0])
del zf
print("[STATUS] Archive extracted successfully!")

print("[STATUS] Reading details file...")
with open(config.zipFile.split(".")[0]+"\\"+config.fakeDetailsFile, newline='') as f:
reader = csv.DictReader(f)
fakeDetails = list(reader)
f.close()
print("[STATUS] Details file read successfully!")

print("Starting attack...")
if config.multiThreading: multi_threading()
else:
while True: make_request()

if __name__ == '__main__':
main()
Binary file added fake-details.zip
Binary file not shown.

0 comments on commit 6d29846

Please sign in to comment.