ls -al
total 528
drwxr-xr-x 10 lawrence staff 340 Jan 29 2010 .
drwxr-xr-x 9 lawrence staff 306 Mar 10 01:30 ..
-rwxr--r-- 1 lawrence staff 227632 Mar 23 2010 IPCameraOcx.cab
dr--r--r-- 33 lawrence staff 1122 Apr 13 2010 cgi-bin
dr--r--r-- 14 lawrence staff 476 Apr 14 2010 images
-rwxr--r-- 1 lawrence staff 28688 Jan 31 2010 index.cgi
dr--r--r-- 4 lawrence staff 136 Jan 24 2010 lib
-rwxr--r-- 1 lawrence staff 1409 Jan 23 2010 reboot_cn.htm
-rwxr--r-- 1 lawrence staff 1388 Jan 23 2010 reboot_en.htm
drwxr-xr-x 3 lawrence staff 102 Jan 24 2010 recfile
LozMBP:html lawrence$ file index.cgi
index.cgi: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), for GNU/Linux 2.0.0, stripped
LozMBP:html lawrence$ strings index.cgi
/lib/ld-linux.so.2
__gmon_start__
lib/ttapi.so
CT_GetNetParameter
_DYNAMIC
CT_GetUpnpInfo
_init
__deregister_frame_info
CT_QueryUser
_fini
_GLOBAL_OFFSET_TABLE_
__data_start
__register_frame_info
libc.so.6
strcpy
printf
stdout
snprintf
getenv
fgets
memcpy
malloc
fflush
strncasecmp
abort
stdin
strstr
strncpy
realloc
strtok
memcmp
fread
strdup
inet_aton
memset
strcmp
fclose
exit
fopen
atoi
_IO_stdin_used
__libc_start_main
strchr
free
_edata
__bss_start
__bss_start__
_end
_bss_end__
__bss_end__
__end__
GLIBC_2.1
GLIBC_2.0
LANGUAGE
zh-cn
HTTP_USER_AGENT
MSIE
REQUEST_METHOD
HEAD
POST
QUERY_STRING
CONTENT_LENGTH
<head>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//ENhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
</head>
HTML file not found
Content-type: text/html
<HTML><HEAD><TITLE>%s</TITLE></HEAD>
<BODY>
</BODY></HTML>
<H1>%s</H1>
LANGUAGE
zh-cn
HTTP_USER_AGENT
MSIE
ON/OFF
Ordinary users can only view.
Save Path
Full
Audio
Record
Snapshot
Display
Stream
Sign Out
System Setup
Freq
Mirror
Flip
Default Image
Saturation
Contrast
Bright
REMOTE_ADDR
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta content=0 http-equiv=expires>
<meta content=no-cache http-equiv=pragma>
<title>Network Camera</title>
<link href="/cgi-bin/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.slider3 {
height:19px;
width:280px;
background-color:#ffffff;
border:1px solid #cccccc;
.bar3 {
height:15px;
width:10px;
border:2px outset buttonhighlight;
background-color:#D4D0C8;
font-size:0;
</style>
</head>
<body>
<table width="655" border="0" align="center" cellpadding="0" cellspacing="0" background="images/net_02.jpg" >
<tr>
<td align="center"><table width="655" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="333" align="left"><img src="images/net_04.jpg" width="333" height="89" /></td>
<td width="667" align="right"><br />
<br />
<a href="cgi-bin/configall.cgi">%s</a> | <a href="#" onclick="window.close()">%s</td>
<a>%s</a> | <a href="#" onclick="window.close()">%s</td>
</tr>
</table></td>
</tr>
</table>
<table width="655" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:12px">
<td width="723" align="center"><table width="655" border="0" cellpadding="0" cellspacing="0">
<td width="655"><img src="images/net_09.jpg" width="655" height="40" /></td>
</table>
<table width="655" border="0" cellpadding="0" cellspacing="0" background="images/net_16.jpg">
<td width="640" height="480" align="center" valign="middle">
<img src="1.mjpeg" width="640px" height="480px" /></td>
<table width="655" border="0" align="center" cellpadding="0" cellspacing="0" id="0" >
<td width="723" align="center" background=""><img src="images/net_22.jpg" width="655" height="16" /></td>
<p><center><font color="#FF0000" >%s</font></p>
</body>
</html>
<body onLoad=onPageLoad()>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="images/net_02.jpg">
<td align="center"><table width="990" border="0" cellspacing="0" cellpadding="0">
<a href="cgi-bin/configall.cgi">%s</a> | <a href="#" onclick="window.close()">%s</td>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:12px">
<td width="723" align="left"><table width="655" border="0" cellpadding="0" cellspacing="0">
<td width="655"><img src="images/net_09.jpg" width="655" height="40"></td>
<td width="655" height="500" align="center" valign="middle" valign="center" >
<object classid="clsid:3ED56945-4F17-480D-9029-A7AAD33D29BF" codebase="./IPCameraOcx.cab" width=320; height=240; id="CTVideoPlayer" style="TOP:131px; left:378px;">
<param name="UserInfo" value="" >
<param name="HostName" value="" >
<param name="UserName" value="" >
<param name="Password" value="" >
<param name="Port" value="0" >
<param name="Channel" value="0" >
<param name="isIE" value="0" >
<param name="WorkState" value="0" >
</object>
</td>
</td>
<td align="center" valign="top" background="images/net_14.jpg"><table border="0" cellspacing="0" cellpadding="0">
<td><img src="images/net_12.jpg" width="316" height="18"></td>
<table width="310" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:18px">
<td height="40" align="center"><a href="javascript:void(0)" class="an3" onmouseup="CTVideoScale(1)" >X0.5</a> <a href="javascript:void(0)" class="an3" onmouseup="CTVideoScale(2)">X1</a> <a href="javascript:void(0)" class="an3" onmouseup="CTVideoScale(4)">X2</a>
<a href="javascript:void(0)" class="an6" onmouseup="ConnectVideo()" >%s</a></td></tr>
<td height="1" bgcolor="#fafafa"></td>
<td height="1" bgcolor="#cecece"></td>
<table width="310" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:16px">
<td width="75" height="30" align="right"><a href="javascript:void(0)" onmouseup="SetBrightness(1)"><img src="images/j_2.gif" width="13" height="13" border="0" style="margin-right:8px"></a></td>
<td width="160" align="center" valign="middle" class="lan" ><span class="an5">%s</span></td>
<td width="75" align="left" ><a href="javascript:void(0)" onmouseup="SetBrightness(0)"><img src="images/j_1.gif" width="13" height="13" border="0" style="margin-left:8px"></a></td>
<td height="1" colspan="3" bgcolor="#fafafa"></td>
<td height="1" colspan="3" bgcolor="#cecece"></td>
<td width="75" height="30" align="right"><a href="javascript:void(0)" onmouseup="SetContrast(1)" ><img src="images/j_2.gif" width="13" height="13" border="0" style="margin-right:8px"></a></td>
<td width="160" align="center" valign="middle" class="lan"><span class="an5">%s</span></td>
<td width="75" align="left" valign="middle" ><a href="javascript:void(0)" onmouseup="SetContrast(0)" ><img src="images/j_1.gif" width="13" height="13" border="0" style="margin-left:8px"></a></td>
<td width="75" height="30" align="right"><a href="javascript:void(0)" onmouseup="SetSaturation(1)" ><img src="images/j_2.gif" width="13" height="13" border="0" style="margin-right:8px"></a></td>
<td width="161" align="center" class="lan" ><span class="an5">%s</span></td>
<td width="75" align="left" valign="middle" ><a href="javascript:void(0)" onmouseup="SetSaturation(0)" ><img src="images/j_1.gif" width="13" height="13" border="0" style="margin-left:8px"></a></td>
<td width="75" height="30" align="right"><a href="javascript:void(0)" onmouseup="ControlVolume(0)"><img src="images/j_2.gif" width="13" height="13" border="0" style="margin-right:8px"/></a></td>
<td width="160" align="center" valign="middle" class="lan" ><span class="an5"><a href="javascript:void(0)" onmouseup="ControlAudio()" >%s</a></span></td>
<td width="75" align="left" valign="middle" ><a href="javascript:void(0)" onmouseup="ControlVolume(1)"><img src="images/j_1.gif" width="13" height="13" border="0" style="margin-left:8px"/></a></td>
<td width="155" height="30" align="center"><a href="javascript:void(0)" class="an4" onmouseup="SetDefaultImage()">%s</a></td>
<td width="155" align="center"><a href="javascript:void(0)" class="an4" onmouseup="SetRecordPath()">%s</a></td>
<td height="1" colspan="2" bgcolor="#fafafa"></td>
<td height="1" colspan="2" bgcolor="#cecece"></td>
<tr>
<td width="155" height="28" align="center"><a href="javascript:void(0)" class="an4" onmouseup="ImageFlip(0,1,0)">%s</a></td>
<td width="155" height="28" align="center"><a href="javascript:void(0)" class="an4" onmouseup="ImageFlip(1,0,0)">%s</a></td>
</tr>
<td height="40" align="center"><a href="javascript:void(0)" class="an4" onmouseup="GrabPicture()">%s</a></td>
<td height="40" align="center"><a href="javascript:void(0)" class="an4" onmouseup="ControlRecorder()">%s</a></td>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0" >
<td width="723" align="left"><img src="images/net_22.jpg" width="655" height="16" /></td>
<td width="267" align="left" valign="top"><img src="images/net_24.jpg" width="315" height="16" /></td>
<span class="an6">%s</span></td></tr>
<tr>
<td height="1" bgcolor="#fafafa"></td>
</tr>
<td height="1" bgcolor="#cecece"></td>
</table>
<table width="310" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:16px">
<td width="75" height="30" align="right"><img src="images/j_2.gif" width="13" height="13" border="0" style="margin-right:8px"></td>
<td width="160" align="center" valign="middle" class="lan" ><span class="an5">%s</span></td>
<td width="75" align="left" ><img src="images/j_1.gif" width="13" height="13" border="0" style="margin-left:8px"></td>
<td height="1" colspan="3" bgcolor="#fafafa"></td>
<td height="1" colspan="3" bgcolor="#cecece"></td>
<td width="75" height="30" align="right"><img src="images/j_2.gif" width="13" height="13" border="0" style="margin-right:8px"></td>
<td width="160" align="center" valign="middle" class="lan"><span class="an5">%s</span></td>
<td width="75" align="left" valign="middle" ><img src="images/j_1.gif" width="13" height="13" border="0" style="margin-left:8px"></td>
<td width="75" height="30" align="right"><img src="images/j_2.gif" width="13" height="13" border="0"
style="margin-right:8px"></td>
<td width="161" align="center" class="lan" ><span class="an5">%s</span></td>
<td width="75" align="left" valign="middle" ><img src="images/j_1.gif" width="13" height="13" border="0"
style="margin-left:8px"></td>
<td width="75" height="30" align="right"><img src="images/j_2.gif" width="13" height="13" border="0" style="margin-right:8px"/></td>
<td width="75" align="left" valign="middle" ><img src="images/j_1.gif" width="13" height="13" border="0"
style="margin-left:8px"/></td>
<td width="155" height="30" align="center"><span class="an4" >%s</span></td>
<td width="155" align="center"><span class="an4" >%s</span></td>
<td height="1" colspan="2" bgcolor="#fafafa"></td>
<td height="1" colspan="2" bgcolor="#cecece"></td>
<tr>
<td width="155" height="28" align="center"><span class="an4" >%s</span></td>
</tr>
<td height="40" align="center"><span class="an4" >%s</span></td>
</table></td>
</tr>
<tr>
<td width="723" align="left"><img src="images/net_22.jpg" width="655" height="16" /></td>
<td width="267" align="left" valign="top"><img src="images/net_24.jpg" width="315" height="16" /></td>
<p><center><font color="#FF0000" size="2" face="Arial">%s</font></p></div>
<script language="JavaScript" type="text/JavaScript">
<!--
function GetServerIP(sHref, sArgName)
var args = sHref.split("/");
var retval = "";
if(args[0] == sHref)
return retval;
return args[2];
var bright = 45;
var contrast = 45;
var saturation = 45;
var autoscan = 0;
var CTWidth = 160;
var CTHeight = 120;
var CTScaleRate = 2;
var ConnectStatus = 0;
var volume = 0;
var InterSpeak = 0;
RecorderState = 1;
AudioSwitch = 0;
var UserName="";
var Password="";
var auto_scan = 0;
function ConnectVideo()
var serverIP = GetServerIP(document.location.href,0);
var ConnStatus = 0;
if (0 == ConnectStatus)
ConnStatus = CTVideoPlayer.ConnectVideo(serverIP,%d, UserName, Password, 0);
if (ConnStatus == 0)
ConnectStatus = 1;
}else{
CTVideoPlayer.DisConnectVideo();
ConnectStatus = 0;
function DisConnectVideo()
function SetBrightness(method)
bright = CTVideoPlayer.GetViewBrightness();
contrast = CTVideoPlayer.GetViewContrast();
saturation = CTVideoPlayer.GetViewSaturation();
if(method)
if(bright > 10)
bright-=10;
else
if(bright < 245)
bright+=10;
CTVideoPlayer.SetImageParameter(bright, contrast, saturation);
function ImageFlip(ishorizontalflip,isverticalflip,isfreq)
CTVideoPlayer.ImageFlip(ishorizontalflip,isverticalflip,isfreq);
function SetContrast( method )
if(contrast > 10)
contrast-=10;
if(contrast < 245)
contrast+=10;
function SetSaturation(method)
if(saturation > 10)
saturation-=10;
if(saturation < 245)
saturation+=10;
function SetDefaultImage()
CTVideoPlayer.SetImageParameter(0, 0, 0);
void function VideoScale()
var Width =0;
var Height = 0;
Width = CTWidth * CTScaleRate;
Height = CTHeight * CTScaleRate;
if(Width > 640)
Width = 640;
if(Height > 490)
Height = 490;
CTVideoPlayer.width = Width;
CTVideoPlayer.height = Height;
function nextPageLoad()
VideoScale();
ConnectVideo();
function CTVideoScale( scale )
CTScaleRate = scale;
function FullScreen()
CTVideoPlayer.setActive();
CTVideoPlayer.SetFullScreen();
function ControlAudio()
if(AudioSwitch)
AudioSwitch = 0;
AudioSwitch = 1;
CTVideoPlayer.SetMute( AudioSwitch );
function ControlVolume( state )
volume = CTVideoPlayer.GetVolume();
if ( 0 == state )
if(volume >= 6553)
volume=volume-6553;
else(volume = 0)
if (volume <= 58982)
volume=volume+6553;
else (volume = 65535)
CTVideoPlayer.SetVolume(volume);
function ControlInterSpeak()
if (InterSpeak)
InterSpeak = 0;
CTVideoPlayer.StopDualSpeak();
InterSpeak = 1;
CTVideoPlayer.StartDualSpeak();
function GrabPicture()
CTVideoPlayer.Snapshot("");
function ControlRecorder()
if(RecorderState)
RecorderState = 0;
CTVideoPlayer.StartRecord("");
RecorderState = 1;
CTVideoPlayer.StopRecord();
function SetRecordPath()
CTVideoPlayer.setVideoSavePath();
</script>
REMOTE_USER
function onPageLoad()
UserName="%s";
Password="%s";
nextPageLoad();
<script language=%sjavascript%s>
ctvs
123456
</script>
GCC: (GNU) 2.95.3 20010315 (release)
GCC: (GNU) 2.95.3 20010315 (release)
GCC: (GNU) 2.95.3 20010315 (release)
GCC: (GNU) 2.95.3 20010315 (release)
GCC: (GNU) 2.95.3 20010315 (release)
GCC: (GNU) 2.95.3 20010315 (release)
GCC: (GNU) 2.95.3 20010315 (release)
GCC: (GNU) 2.95.3 20010315 (release)
.symtab
.strtab
.shstrtab
.interp
.note.ABI-tag
.hash
.dynsym
.dynstr
.gnu.version
.gnu.version_r
.rel.got
.rel.bss
.rel.plt
.init
.plt
.text
.fini
.rodata
.data
.ctors
.dtors
.got
.dynamic
.sbss
.bss
.comment