Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/usr/bin/env python3
- from os import system
- FILE="hosts.txt"
- def main():
- i = 1
- f = open(FILE,"r")
- hosts = f.readlines()
- f.close()
- for host in hosts:
- system("proxychains nmap -sT -sV --script=vuln -oN nmap" + str(i) + " " + host)
- i +=1
- if __name__ == "__main__":
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement