negan07 / ancistrus

Netgear's D7000 Nighthawk Router Experience Distributed Project
https://negan07.github.io/ancistrus/
GNU General Public License v2.0
66 stars 17 forks source link

Differences between .48 and .50 #8

Closed negan07 closed 6 years ago

negan07 commented 6 years ago

`diff -urN /home/negan07/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/bftpd-2.3/bftpd.fw.conf /home/negan07/Desktop/D7000_V1.0.1.50_WW_src/Source/apps/bftpd-2.3/bftpd.fw.conf --- /home/negan07/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/bftpd-2.3/bftpd.fw.conf 2017-03-23 17:00:09.000000000 +0100 +++ /home/negan07/Desktop/D7000_V1.0.1.50_WW_src/Source/apps/bftpd-2.3/bftpd.fw.conf 2017-06-22 15:33:12.000000000 +0200 @@ -281,8 +281,8 @@ directory "/" { ALLOWCOMMAND_DELE="no" ALLOWCOMMAND_STOR="no"

+extern int adminpwd_lan_protect ; +extern int adminpwd_wan_protect ; +extern int is_remote ; + int state = STATE_CONNECTED; char user[USERLEN + 1]; struct sockaddr_in sa; @@ -268,7 +272,15 @@ respond with code 230 'User logged in, proceed'. */ if (all_file_readable_writable()){ state = STATE_USER;

`diff -urN /home/negan07/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/dnrd-2.19/src/master.c /home/negan07/Desktop/D7000_V1.0.1.50_WW_src/Source/apps/dnrd-2.19/src/master.c --- /home/negan07/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/dnrd-2.19/src/master.c 2017-03-23 17:02:21.000000000 +0100 +++ /home/negan07/Desktop/D7000_V1.0.1.50_WW_src/Source/apps/dnrd-2.19/src/master.c 2017-06-23 13:16:45.000000000 +0200 @@ -66,6 +66,8 @@

define NTGR_APPS_URL1 "www.netgear.com"

endif

+#define NTGR_APPS_URL_TEMP "http.updates1.netgear.com" + typedef struct _string { unsigned int code; char *string; @@ -481,7 +483,8 @@ if (( (access("/tmp/blank_state.out",F_OK)==0) || (access("/tmp/dnshj.out",F_OK)==0) || (access("/tmp/brs_hijack.out",F_OK)==0)) && do_hack_dns && (rec->type == DNS_NAMEIP) && //if (do_hack_dns && (rec->type == DNS_NAMEIP) &&

+#include +static int print_console_func(const char *format, ...) +{

`diff -urN /home/negan07/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c /home/negan07/Desktop/D7000_V1.0.1.50_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c --- /home/negan07/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c 2017-03-27 17:13:40.000000000 +0200 +++ /home/negan07/Desktop/D7000_V1.0.1.50_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c 2017-06-22 15:33:28.000000000 +0200 @@ -1458,8 +1458,8 @@ if( ((strstr(path,".gif")!=NULL) || (strstr(path,".css") !=NULL) || (strstr(path,".js") != NULL) || (strstr(path,".xml") != NULL) || (strstr(path,".jpg") != NULL))

@@ -2490,6 +2490,13 @@

 if ( lstat( buf, &sb ) < 0 )
 return ""; /* don't show  "???" to end user. --billGuo */

+

+int is_usb_subdir_file(const char *dir) +{

negan07 commented 6 years ago

on the opensource part:

kernel, modules, libs, drivers are equal

negan07 commented 6 years ago

here's the target readable files differences

`diff -urN target48/target/usr/etc/bftpd.conf.sample target50/target/usr/etc/bftpd.conf.sample --- target48/target/usr/etc/bftpd.conf.sample 2017-03-27 18:59:55.000000000 +0200 +++ target50/target/usr/etc/bftpd.conf.sample 2017-06-23 13:44:49.000000000 +0200 @@ -281,8 +281,8 @@ directory "/" { ALLOWCOMMAND_DELE="no" ALLOWCOMMAND_STOR="no"