Skip to content

Commit

Permalink
modified: setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HackerSM9 committed May 28, 2024
1 parent b2d2cb2 commit f145671
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
import subprocess
import os,sys
import time

print("Installing Packages and Requirements...")

subprocess.run(["apt","update","-y"], capture_output=True)
subprocess.run(["apt","upgrade","-y"], capture_output=True)
subprocess.run(["apt","update","-y"], capture_output=True)

print("Setup Completed!\nExecuting Program...")

time.sleep(3)

os.system("apt update ; apt upgrade -y")
os.system("pkg install nmap -y")
os.system("python main.py")

0 comments on commit f145671

Please sign in to comment.