Skip to content

Commit

Permalink
Merge pull request #4 from dmdhrumilmistry/colored-text
Browse files Browse the repository at this point in the history
Minor Bug Fix
  • Loading branch information
dmdhrumilmistry authored Apr 8, 2021
2 parents ef72ba2 + df4ffa0 commit 646d8b0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions termux.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,16 @@ def generate_passwd(user):
def install_req():
banner()
print(Fore.YELLOW + '[+] Installing required packages')
print('------------------------------------------------------------')
print(Fore.YELLOW + '[+] Updating...')
subprocess.call(["apt", "update"])
subprocess.call(["pkg", "update"])
print(Fore.YELLOW + '[+] Upgrading...')
subprocess.call(["apt", "upgrade"])
print(Fore.YELLOW + '[+] Installing requirements...')
subprocess.call(["apt", "install", "nmap", "openssh", "python3", "python3-pip", "-y"])
subprocess.call(["python3", "-m", "pip", "install", "colorama"])
subprocess.call(["pkg", "upgrade"])
print(Fore.YELLOW + '[+] Installing requirements ...')
subprocess.call(["pkg", "install", "nmap", "-y"])
subprocess.call(["pkg", "install", "openssh", "-y"])
subprocess.call(["pkg", "install", "termux-auth", "-y"])
subprocess.call(["pkg", "install", "termux-api", "-y"])
subprocess.call(["python", "-m", "pip", "install", "colorama"])
print(Fore.YELLOW + '[+] Installation completed!!')


Expand Down

0 comments on commit 646d8b0

Please sign in to comment.