Skip to content

Commit

Permalink
adding snmp tricks
Browse files Browse the repository at this point in the history
  • Loading branch information
n3k00n3 committed Apr 9, 2019
1 parent 38bae55 commit 2678a7e
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,80 @@ penssl s_client -quiet www.bla.com.br:443

##

#### SNMP

##### Fixing SNMP output

```shell
apt-get install snmp-mibs-downloader download-mibs
```

```shell
echo "" > /etc/snmp/snmp.conf
```

##### OneSixtyone

onesixtyone -c COMMUNITY_FILE -i Target_ip

```shell
onesixtyone -c community.txt -i Found_ips.txt
```

##### snmpwalk

Walking MIB's

snmpwalk -c COMMUNITY -v VERSION target_ip

```shell
snmpwalk -c public -v1 192.168.25.77
```

specific MIB node
snmpwalk -c community -v version Target IP MIB Node
Example: USER ACCOUNTS = 1.3.6.1.4.1.77.1.2.25

```shell
snmpwalk -c public -v1 192.168.25.77 1.3.6.1.4.1.77.1.2.25
```

##### snmp-check

snmp-check -t target_IP | snmp-check -t TARGET -c COMMUNITY

```shell
snmp-check -t 172.20.10.5
```

```shell
snmp-check -t 172.20.10.5 -c public
```

##### Automate the username enumeration process for SNMPv3

```shell
apt-get install snmp snmp-mibs-downloader
```

```shell
wget https://raw.githubusercontent.com/raesene/TestingScripts/master/snmpv3enum.rb
```

##### NMAP SNMPv3 Enumeration

```shell
nmap -sV -p 161 --script=snmp-info 172.20.10.0/24
```

##### Default Credentials

```shell
/usr/share/metasploit-framework/data/wordlists/snmp_default_pass.txt
```

##

### Reverse Shell

#### Powershell Reverse
Expand Down

0 comments on commit 2678a7e

Please sign in to comment.