403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
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/net/echoping/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/echoping/files/patch-http.c
--- http.c.orig	2019-12-29 10:14:41 UTC
+++ http.c
@@ -6,7 +6,7 @@
 #include "HTParse.h"
 
 
-char            big_recvline[MAXTOREAD];
+static char	big_recvline[MAXTOREAD];
 
 char           *
 make_http_sendline(char *url, char *host, int port, int nocache)
@@ -113,6 +113,8 @@ read_from_server(CHANNEL fs, short ssl, boolean accept
             /* 204 No Content is not an error, message body is empty by definition, see RFC 2616 */
             if (reply_code == 204)
                 return 0;       /* zero bytes is correct */
+             if (accept_redirects && reply_code >= 300 && reply_code < 400)
+		return 0;
 
             if (!  (reply_code >= 200 && reply_code < 300) &&
                 ! ((reply_code >= 300 && reply_code < 400) && accept_redirects))

Youez - 2016 - github.com/yon3zu
LinuXploit