import sys import os import threading #export PATH=/home/kali/HTB/dirsearch:$PATH ip='10.10.10.63:50000' scan_header_1='dirsearch.py --wordlists=/usr/share/wordlists/dirbuster/directories.jbrofuzz -o directories.jbrofuzz_output -u http://' scan_header_2='dirsearch.py --wordlists=/usr/share/wordlists/dirbuster/directory-list-1.0.txt -o directory-list-1.0.txt_output -u http://' scan_header_3='dirsearch.py --wordlists=/usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -o directory-list-2.3-medium.txt_output -u http://' scan_header_4='dirsearch.py --wordlists=/usr/share/wordlists/dirbuster/directory-list-2.3-small.txt -o directory-list-2.3-small.txt_output -u http://' scan_header_5='dirsearch.py --wordlists=/usr/share/wordlists/dirbuster/directory-list-lowercase-2.3-medium.txt -o directory-list-lowercase-2.3-medium.txt_output -u http://' scan_header_6='dirsearch.py --wordlists=/usr/share/wordlists/dirbuster/directory-list-lowercase-2.3-small.txt -o directory-list-lowercase-2.3-small.txt_output -u http://' scan_header_7='dirsearch.py --wordlists=/usr/share/wordlists/dirb/big.txt -o big.txt_output -u http://' scan_header_8='dirsearch.py --wordlists=/usr/share/wordlists/dirb/common.txt -o common.txt_output -u http://' scan_header_9='dirsearch.py --wordlists=/usr/share/wordlists/dirb/small.txt -o small.txt_output -u http://' s_1=scan_header_1+ip s_2=scan_header_2+ip s_3=scan_header_3+ip s_4=scan_header_4+ip s_5=scan_header_5+ip s_6=scan_header_6+ip s_7=scan_header_7+ip s_8=scan_header_8+ip s_9=scan_header_9+ip def exec_s_1(): os.system(s_1) def exec_s_2(): os.system(s_2) def exec_s_3(): os.system(s_3) def exec_s_4(): os.system(s_4) def exec_s_5(): os.system(s_5) def exec_s_6(): os.system(s_6) def exec_s_7(): os.system(s_7) def exec_s_8(): os.system(s_8) def exec_s_9(): os.system(s_9) t1 = threading.Thread(target = exec_s_1 ) t2 = threading.Thread(target = exec_s_2 ) t3 = threading.Thread(target = exec_s_3 ) t4 = threading.Thread(target = exec_s_4 ) t5 = threading.Thread(target = exec_s_5 ) t6 = threading.Thread(target = exec_s_6 ) t7 = threading.Thread(target = exec_s_7 ) t8 = threading.Thread(target = exec_s_8 ) t9 = threading.Thread(target = exec_s_9 ) t1.start() t2.start() t3.start() t4.start() t5.start() t6.start() t7.start() t8.start() t9.start()