Advertisement
Jackspade9624

menue loop 3

Apr 19th, 2025 (edited)
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. while true; do
  4. echo "Menu:"
  5. echo "1. Domain/IP Info"
  6. echo "2. Urls/Cookies"
  7. echo "3. Script-trace/Headers"
  8. echo "4. Traceroute"
  9. echo "5. Dorks"
  10. echo "6. Username"
  11. echo "0. Exit"
  12.  
  13. read -p "Enter your choice: " choice
  14.  
  15. case $choice in
  16. 1)
  17. echo "Starting WHOIS..."
  18. # Add code for option 1 here
  19. read -p "Enter Domain/IP: " url
  20.  
  21. content=$(curl -s "$url")
  22.  
  23. whois $url
  24. ;;
  25. 2)
  26. echo "Starting Scan..."
  27. # Add code for option 2 here
  28. rm -rf .lycheecache
  29. rm -rf cookie_jar
  30. rm -rf results
  31.  
  32. read -p "Enter URL: " url
  33.  
  34. content=$(curl -s "$url")
  35.  
  36. lychee $url --verbose --cache --include-mail --suggest --archive wayback --hidden --include-verbatim --include-fragments --no-ignore --format detailed --cookie-jar cookie_jar --output results
  37.  
  38. cat .lycheecache
  39. cat results
  40. cat cookie_jar
  41.  
  42.  
  43. echo "Files saved in home directory..."
  44.  
  45. ;;
  46. 3)
  47. echo "Starting NMAP..."
  48. # Add code for option 3 here
  49. read -p "Enter Domain/IP: " url
  50.  
  51. content=$(curl -s "$url")
  52.  
  53. nmap -sV -A $url --script-trace --script=http-headers --unprivileged -o $url
  54.  
  55.  
  56. echo "Files saved in home directory..."
  57.  
  58. ;;
  59. 4)
  60. echo "Starting Traceroute..."
  61. # Add code for option 2 here
  62. read -p "Enter Domain/IP: " url
  63.  
  64. content=$(curl -s "$url")
  65.  
  66. traceroute $url
  67.  
  68. ;;
  69. 5)
  70. echo "Starting Dorker..."
  71. # Add code for option 4 here
  72. read -p "Enter dork: " url
  73.  
  74. content=$(curl -s "$url")
  75.  
  76. google $url
  77.  
  78. ;;
  79. 6)
  80. echo "Searching Username..."
  81. # Add code for option 4 here
  82. read -p "Enter Username: " url
  83.  
  84. content=$(curl -s "$url")
  85.  
  86. linkook $url --concise --show-summary --check-breach --scan-all --print-all
  87.  
  88. search4 -u $url
  89.  
  90. ;;
  91. 0)
  92. echo "Exiting..."
  93. break
  94. ;;
  95. *)
  96. echo "Invalid choice. Please try again."
  97. ;;
  98. esac
  99. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement