Net-Appliance-Session - Re: Login Method

Posted on Wed Oct 1 08:05:46 2008 by tj2001 in response to 8719 (See the whole thread of 8)
Re: Login Method
Hello, I'm just checking in on this capability as well. I have some Cisco PIX firewalls that I can only access by logging into a Cisco router first and then ssh from there to the firewall. Currently I can get to the firewalls via the router but then I fail getting to privileged mode on the firewall and I'm guessing it is related to the phrasebook mismatch. After logging into the firewall via the router I do:

$s->in_privileged_mode(0); $s->begin_privileged("enablepasswd");

But it does not go into privileged mode. I tried to just send the enable cmd and match Password to send the passwd but that doesn't work either. I'm guessing this due to the Phrasebook mismatch because my script works just fine going from router to router, in some instances 3 or 4 routers deep, but it fails to work from router to PIX. Having the ability to change the phrasebook during the session rather than defining it at session creation time would be helpful. Something like:

$s->platform("PIXOS");

I have no idea how hard it would be to make this change.

Great module BTW!!!

Thanks.
Direct Responses: 8899 | Write a response