Pages

Sunday, October 26, 2014

msf auxiliary/scnaner/snmp/cisco_upload_file doesnt upload a file


I am trying to use some metasploit tools to show a class on how to attack SNMP on a cisco switch and router. I am having some troubles with using the writing capabilities of snmp.


Switch config looks like this





interface Vlan1 ip address 192.168.1.1 255.255.255.0

interface Vlan2 ip address 192.168.2.1 255.255.255.0

!

!

snmp-server community Public RO

snmp-server community Private RW

snmp-server community testbox RW

!

The metasploit auxiliary/scanners/snmp/snmp_login


I was able to crack the passwords so thats great.


With auxiliary/scanners/snmp/snmp_enum


I was able to look at all kinds of nice details and information


To download the config with auxiliary/scanner/snmp/cisco_config_tftp


I cant get the download to work in a VM. I got it to work on a Kali LiveCD though.


I have not been able to upload any config changes though. I make a change to the config that I downloaded then use auxiliary/scanner/snmp/cisco_upload_file to try and upload the change I made to the config but its not working.


my settings




COMMUNITY = Private

LHOST = 192.168.1.2

HOSTS = 192.168.1.1

SOURCE = /tmp/192.168.1.1.txt

could I get some help with the cisco_upload_file? I have not found any documentation on how I need to format the new configuration...







from SecurityStreet : All Content - Metasploit http://ift.tt/1wtyfPQ

No comments:

Post a Comment