mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
Redirect port fix.
This commit is contained in:
parent
6ad93f6ca2
commit
e782bc92b8
@ -181,7 +181,7 @@ int Lexems::globalSearchNeg(const char *buffcpy, char *ip, int port)
|
|||||||
{
|
{
|
||||||
if(gNegDebugMode)
|
if(gNegDebugMode)
|
||||||
{
|
{
|
||||||
stt->doEmitionDebugFoundData("[<a href=\"http://" + QString(ip) + ":" + QString::number(port) + "/\"><font color=\"#0084ff\">" + QString(ip) + ":" + QString::number(port) + "</font></a>" + "] Negative hit: \"" + QString::fromLocal8Bit(negWord).toHtmlEscaped() + "\"");
|
stt->doEmitionDebugFoundData("[<a href=\"http://" + QString(ip) + ":" + QString::number(port) + "/\"><font color=\"#0084ff\">" + QString(ip) + ":" + QString::number(port) + "</font></a>" + "] Negative hit: \"" + QString::fromLocal8Bit(negWord).toHtmlEscaped() + "\"");
|
||||||
if(strlen(negWord) < 2)
|
if(strlen(negWord) < 2)
|
||||||
{
|
{
|
||||||
stt->doEmitionDebugFoundData(" Len:" + QString::number(strlen(negWord)));
|
stt->doEmitionDebugFoundData(" Len:" + QString::number(strlen(negWord)));
|
||||||
@ -1849,7 +1849,7 @@ int redirectReconnect(char *cookie, char *ip, int port, char *str, Lexems *ls, P
|
|||||||
Connector con;
|
Connector con;
|
||||||
char tempIP[MAX_ADDR_LEN] = {0};
|
char tempIP[MAX_ADDR_LEN] = {0};
|
||||||
strcpy(tempIP, ip);
|
strcpy(tempIP, ip);
|
||||||
int tempPort = 80;
|
int tempPort = port;
|
||||||
char tempPath[1024] = {0};
|
char tempPath[1024] = {0};
|
||||||
char mes[2048]= {0};
|
char mes[2048]= {0};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user