Logging into cisco intrusion prevention system

Is there any gem module which can be used to login to the cisco
intrusion prevention system and execute the commands on the IPS?..

Ruby Haxor wrote:

Is there any gem module which can be used to login to the cisco
intrusion prevention system and execute the commands on the IPS?..

Net::Telnet is in the standard library.

Net::SSH is available as a third-party gem.

Net::SSH::Telnet is another third-party gem which lets you use Net::SSH
but with a simpler API the same as Net::Telnet (so you can write code
which uses either Telnet or SSH without any changes apart from when the
connection is established)

HTH,

Brian.

Brian C. wrote:

Ruby Haxor wrote:

Is there any gem module which can be used to login to the cisco
intrusion prevention system and execute the commands on the IPS?..

Net::Telnet is in the standard library.

Net::SSH is available as a third-party gem.

Net::SSH::Telnet is another third-party gem which lets you use Net::SSH
but with a simpler API the same as Net::Telnet (so you can write code
which uses either Telnet or SSH without any changes apart from when the
connection is established)

HTH,

Brian.

Thanks a lot Brian, i’l give it a try and see how it works :slight_smile: