def run_dir_mode(target): print("\n[!] Configuring Directory Enumeration") url = get_input("Enter Target URL (e.g., http://example.com)", target) wordlist = get_input("Path to Wordlist", DEFAULT_DIR_WORDLIST) extensions = get_input("File Extensions (comma sep, no dots)", "php,html,txt") threads = get_input("Threads", "50")
gobust-dir http://target.com gobust-dns target.com gobuster commands
gobuster dir -u http://example.com/admin -w /usr/share/wordlists/raft-small-files.txt -x php,bak,old def run_dir_mode(target): print("\n[
command = [ "gobuster", "vhost", "-u", url, "-w", wordlist, ] target) wordlist = get_input("Path to Wordlist"