updated with pep8 compliance

This commit is contained in:
Kevin Rode 2019-09-29 15:20:36 -04:00
parent 51ef51bdf9
commit 453dc05611

5
amt.py
View File

@ -11,6 +11,8 @@ import re
import time import time
import requests import requests
from lxml import html from lxml import html
def adb_start(): def adb_start():
if "platform-tools" in os.environ['PATH']: if "platform-tools" in os.environ['PATH']:
print("ADB found in PATH") print("ADB found in PATH")
@ -97,6 +99,7 @@ def root_device():
print("After Magisk installs click [Reboot] then [Do Not Install]") print("After Magisk installs click [Reboot] then [Do Not Install]")
input("Press Enter when the device has rebooted") input("Press Enter when the device has rebooted")
def menu(): def menu():
while True: while True:
print("[1] Root Device (WIP)\n[2] Extract Data (Coming Soon)\n[99] Quit") print("[1] Root Device (WIP)\n[2] Extract Data (Coming Soon)\n[99] Quit")
@ -113,6 +116,8 @@ def menu():
elif int(choice) == 99: elif int(choice) == 99:
print("Goodbye!") print("Goodbye!")
sys.exit() sys.exit()
def show_help(): def show_help():
print("Android Mobile Toolkit v1.1") print("Android Mobile Toolkit v1.1")
print("Written by Kevin Rode (kevroded)") print("Written by Kevin Rode (kevroded)")