Skip to content

0.2.2 #13

Merged
merged 2 commits into from
Nov 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions src/leap.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
from uuid import getnode as get_mac


start = int(input("which line of code would you like to try?\n 1: enum-1 by: Tazmin \n 2: enum-2 by: Jacob\n 3: enum-3 by: Webb\n 4: enum-4 by:Jordan\n 5: enum-5 by:Jacob\n 6: enum-6 by:Joe and tazmin\n 7: enum-7 by:Joe\n 8: enum-8 by:Reece\n 9: priv-esc-1 by:\n 10: priv-esc-2 by:\n 11: priv-esc-3 by:\n"))
def AdminTest():
try:
return ctypes.windll.shell32.IsUserAnAdmin()
except:
return False

start = int(input("which line of code would you like to try?\n 1: enum-1 by: Tazmin \n 2: enum-2 by: Jacob\n 3: enum-3 by: Webb\n 4: enum-4 by:Jordan\n 5: enum-5 by:Jacob\n 6: enum-6 by:Joe and tazmin\n 7: enum-7 by:Joe\n 8: enum-8 by:Reece\n 9: priv-esc-1 by:Tazmin and Webb\n 10: priv-esc-2 by:\n 11: priv-esc-3 by:\n"))
if start == 1:
print("enum-1")
Username = os.getlogin()
Expand Down Expand Up @@ -57,9 +63,21 @@
print(macaddress)
input()
elif start == 9:
print("priv-esc-1")
input()
#placeholder
print("priv-esc-1 this was a joint effort by Webb and Tazmin")
if is_admin():
print("you are running in admin.")
print("press enter to view all your prvious saved wifi connections")
input()
os.system("netsh wlan show profile")
input()
else:
print("you are not running as admin, press enter to run as admin")
input()
ctypes.windll.shell32.ShellExecuteW(None, "runas", sys.executable, " ".join(sys.argv), None, 1)
print("press enter to view all your prvious saved wifi connections")
input()
os.system("netsh wlan show profile")
input()
elif start == 11:
print("priv-esc-2")
input()
Expand Down