-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInternet-Dumper.py
More file actions
77 lines (67 loc) · 6.25 KB
/
Internet-Dumper.py
File metadata and controls
77 lines (67 loc) · 6.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import subprocess
import time
from unittest import result
import sys
sys.stdout.reconfigure(encoding='utf-8')
ascii_art = r"""
................................................:::-:.................... . --:.....................
..........:::::...........::::::::::--======.##########.======---------==.. ===:-:..................
====-:-----=============================##########.##=.. ================.. ===-----:::::...........
======================================############..#= ===============.. ==.=====================
====================================############....#. ===============.. ==.=====================
=================================############## #. ==============.. ========================
==============================. ############= #. =============#. ========================
================================. ###.#.#. #. ============.. ========================
================================= .#..# .. ===========.. ========================
================================= .. ==========-##.========================
=================================@ . =========.# ========================
==================================. . =======.. =======================
===================================# . #. ======@. =======================
======-============================@ # #. ##. ======. ========================
==..##..#######............=========# . . #####.... -=.== =.=====================
==..######@########################### . ##### ##.... = = ##==#..######........===
==..###=@=@########################### ####.##. . . #@.##################===
==..###===############################# #=#######= .: =. .#############===@===
==..###=################################ ###### . = =####..#######====*@==
==..###.################################ . = == =- .############=====@==
*=..###=#@############################## = = =-###########========
@=..###=##.############################# #.# .. .= ############====@===
@=..###=###############################* ### #. .############====@===
@=..###=##.############################. ### #. . #################===
@=..###=##=############################= @.# #. . ################===
@=..###=##################################### ##= ##############=#===
@=..###=###############.=########@###### #.###.. .###########@====@@@
@=..###=############..## .## ###### #### ###########%====..:
....###=##@@#######....... ##### # ##= #= = .##########-.### ..
....##############.. . :#=#.. #. = ...--:...........
.. .############. .. # .####- =.- = ##.....:.........
..........###. .... .###.### #- ## = = #####.#=.........
.............. .#...... . ####### #####. .#....... ... ...
............############ #. .#. .== .. .....##........
...#########.##########: # ... . .#.+..-#..#......
####################.. .#. . . ...:.#............
████████╗██╗ ██╗███████╗ ██████╗ ██████╗ ██╗ ██╗██████╗ ███████╗██████╗
╚══██╔══╝██║ ██║██╔════╝ ██╔══██╗ ╚════██╗██║ ██║██╔══██╗██╔════╝██╔══██╗
██║ ███████║█████╗ █████╗ ██████╔╝ █████╔╝███████║██████╔╝█████╗ ██████╔╝
██║ ██╔══██║██╔══╝ ╚════╝ ██╔══██╗ ╚═══██╗╚════██║██╔═══╝ ██╔══╝ ██╔═██╗
██║ ██║ ██║███████╗ ██║ ██║██████╔╝ ██║██║ ███████╗██║ ██║
╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝╚═════╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝
Windows Internet Dumper
Created by: The-R34per
GitHub: https://github.com/The-R34per
Website: https://the-r34per.github.io/The-R34per-Website/index.html
-----------------------------------------------------------------------------------------------------
"""
print(ascii_art)
print("\n\nGathering all connection profiles and passwords...\n\n")
time.sleep(3)
data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8', errors="backslashreplace").split('\n')
profile = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i]
for i in profile:
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles', i, 'key=clear']).decode('utf-8', errors="backslashreplace").split('\n')
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
try:
print("{:<3}| {:<}".format(i, results[0]))
except IndexError:
print("{:<3}| {:<}".format(i, "None"))
input("\n\nPress enter to end the program...")