mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
Camera detection improvement.
This commit is contained in:
parent
4ad8749796
commit
09573e1832
@ -307,6 +307,7 @@ int _mainFinderFirst(char *buffcpy, int f, int port, char *ip)
|
|||||||
&& strstr(buffcpy, "ipcam") != NULL) return 48; //ipCam
|
&& strstr(buffcpy, "ipcam") != NULL) return 48; //ipCam
|
||||||
if(strstr(buffcpy, "dvr") != NULL && strstr(buffcpy, "ieorforefox") != NULL
|
if(strstr(buffcpy, "dvr") != NULL && strstr(buffcpy, "ieorforefox") != NULL
|
||||||
&& strstr(buffcpy, "sofari") != NULL) return 49; //IEORFOREFOX
|
&& strstr(buffcpy, "sofari") != NULL) return 49; //IEORFOREFOX
|
||||||
|
if (strstr(buffcpy, "flexwatch") != NULL && strstr(buffcpy, "/app/multi/single.asp") != NULL) return 50; //Network Video System
|
||||||
|
|
||||||
if((strstr(buffcpy, "camera web server") != NULL || strstr(buffcpy, "webcamxp 5") != NULL
|
if((strstr(buffcpy, "camera web server") != NULL || strstr(buffcpy, "webcamxp 5") != NULL
|
||||||
|| strstr(buffcpy, "ip box camera") != NULL || strstr(buffcpy, "snaff") != NULL
|
|| strstr(buffcpy, "ip box camera") != NULL || strstr(buffcpy, "snaff") != NULL
|
||||||
@ -396,6 +397,7 @@ int _mainFinderSecond(char *buffcpy, int port, char *ip)
|
|||||||
&& strstr(buffcpy, "ipcam") != NULL) return 48; //ipCam
|
&& strstr(buffcpy, "ipcam") != NULL) return 48; //ipCam
|
||||||
if(strstr(buffcpy, "dvr") != NULL && strstr(buffcpy, "ieorforefox") != NULL
|
if(strstr(buffcpy, "dvr") != NULL && strstr(buffcpy, "ieorforefox") != NULL
|
||||||
&& strstr(buffcpy, "sofari") != NULL) return 49; //IEORFOREFOX
|
&& strstr(buffcpy, "sofari") != NULL) return 49; //IEORFOREFOX
|
||||||
|
if (strstr(buffcpy, "flexwatch") != NULL && strstr(buffcpy, "/app/multi/single.asp") != NULL) return 50; //Network Video System
|
||||||
|
|
||||||
if(((strstr(buffcpy, "220") != NULL) && (port == 21)) ||
|
if(((strstr(buffcpy, "220") != NULL) && (port == 21)) ||
|
||||||
(strstr(buffcpy, "220 diskStation ftp server ready") != NULL) ||
|
(strstr(buffcpy, "220 diskStation ftp server ready") != NULL) ||
|
||||||
@ -1830,6 +1832,10 @@ int Lexems::_filler(int p, char* buffcpy, char* ip, int recd, Lexems *lx, char *
|
|||||||
{
|
{
|
||||||
_specWEBIPCAMBrute(ip, p, hl, "[IEORFOREFOX] Camera", flag, "Web Authorization", cp, recd, "IEORFOREFOX");
|
_specWEBIPCAMBrute(ip, p, hl, "[IEORFOREFOX] Camera", flag, "Web Authorization", cp, recd, "IEORFOREFOX");
|
||||||
}
|
}
|
||||||
|
else if (flag == 50) //IP Camera
|
||||||
|
{
|
||||||
|
_specBrute(ps.cookie, ip, p, hl, "IP Camera", flag, "/config/index.cgi", "Basic Authorization", cp, recd, "");
|
||||||
|
}
|
||||||
else if(flag == 20) //AXIS Camera
|
else if(flag == 20) //AXIS Camera
|
||||||
{
|
{
|
||||||
_specBrute(ps.cookie, ip, p, hl, "AXIS Camera", flag, "/axis-cgi/com/ptz.cgi?", "Basic Authorization", cp, recd, "");
|
_specBrute(ps.cookie, ip, p, hl, "AXIS Camera", flag, "/axis-cgi/com/ptz.cgi?", "Basic Authorization", cp, recd, "");
|
||||||
|
Loading…
Reference in New Issue
Block a user