/////ZTE MF65 -- local file listing method 3(LFLM )The Full Package /////
/////ZTE MF65 -- local file listing method 3(LFLM )The Full Package /////
POST /goform/goform_set_cmd_process HTTP/1.1
Host: 192.168.0.1
isTest=false&goformId=HTTPSHARE_AUTH_SET
&HTTP_SHARE_STATUS=Enabled
&HTTP_SHARE_WR_AUTH=readWrite
&HTTP_SHARE_FILE=..%2Fweb%2F
using the HTTP_SHARE_FILE= param we can change the displayed folders in the sd card manager,
you will need to be logged in for this method.
so your work flow is:
- login
- send request to change path
- logout
now we will navigate to web/js/config/ then we will download the config.js file and change the line :
SD_BASE_PATH: /mmc2/
to
SD_BASE_PATH: /
and reupload it as what ever name you would like i did config.js.1
and then rename the original config.js then rename the new config to replace the old one now refresh your page and check you sd card settings page to see the changes,
I must warn against changes of //web/js/config/config.js
Line : SD_BASE_PATH: /mmc2/
Against any directory transversals. in any sense or method as they will not work...
any changes to this path that will reflect as " "(an empty path) will render the online sd functions unusable and returning to normal operation at this point is not available via the methods we can employ.. (we need telnet)
so don't upload the file with /mmc2/../ or anything like that,
till next time,
shoot straight,
FrankSxx
Comments
Post a Comment