def ettercap(): if int(inputstream("id -u".split()).decode("utf8")) != 0: print("\nERROR: Make sure you're device has been rooted"); else: print('\n###### Installing ettercap') os.system('apt update && apt upgrade') os.system('apt install root-repo ettercap') print('###### Done') print("###### Type 'ettercap' to start.") backtomenu_option()
def wifite(): if int(inputstream("id -u".split()).decode("utf8")) != 0: print("\nERROR: Make sure you're device has been rooted") else: print('\n###### Installing Wifite') os.system('apt update && apt upgrade') os.system('apt install git python2') os.system('git clone https://github.com/derv82/wifite') os.system('mv wifite ~') print('###### Done') backtomenu_option()