#!/usr/bin/env python
import os
try:
    currdir = os.getcwd()
    dir = currdir + "/a2sv-master"
    os.chdir(dir)
    os.system("chmod 777 install.sh")
    os.system("./install.sh")
    os.system("pip install -r requirements.txt")
    os.chdir(currdir)
    dir = currdir + "/Sublist3r-master"
    os.chdir(dir)
    os.system("pip install -r requirements.txt")
    os.system("apt-get install nmap")
    os.system("apt-get install whois")
    os.system("apt-get install host")
    os.system("apt-get install traceroute")
    os.system("apt-get install nslookup")
    os.system("apt-get install theharvester")
    os.system("apt-get install metagoofil")
    os.system("apt-get install dnsrecon")
    os.system("apt-get install whatweb")
    os.system("apt-get install sslscan")
    os.system("apt-get install sslyze")
    os.system("apt-get install wafw00f")
    print "Done!"
except:
    pass
