-
-
Save milankragujevic/21297ccdafc07cfb51823ebe5d117d64 to your computer and use it in GitHub Desktop.
var ids = [4,5,6,7,8,9,10,11,12,13,14] | |
ids.forEach(function (id) { | |
if(id) { | |
fetch("http://192.168.0.1/goform/goform_set_cmd_process", {"credentials":"include","headers":{},"referrer":"http://192.168.0.1/index.html","referrerPolicy":"no-referrer-when-downgrade","body":"isTest=false&goformId=DELETE_SMS&msg_id=" + id + "¬Callback=true","method":"POST","mode":"cors"}); | |
} | |
}) |
Not sure how to get appropriate IDs from list SMS reply, can you please explain?
Inspect element on the page, open network tab, check Preserve log, reload the page, and find in the requests the SMS list, then manually collect the IDs and then put them in the request msg_id=1,2,3,4,5,6,7,8,9,10
It worked, thank you!
👍
@milankragujevic off subject but device related question : any luck on getting root access to the MF283V ?
Yes, very easy.
- to enable telnet, log in via web browser then run this command from bash shell:
curl "http://192.168.0.1/goform/goform_set_cmd_process" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "Referer: http://192.168.0.1/index.html" --data "isTest=false&goformId=URL_FILTER_ADD&addURLFilter=http%3A%2F%2Ffakeurl%2F%26%26telnetd%26%26"
- the command is needed to be run only once!
- to disable telnet, factory reset the modem
Connect via telnet to port 4719, user and pass is "admin" and cannot be changed.
I have a reboot script here: https://gist.github.com/milankragujevic/9cfc5825c6cbc20900b94f6a75bf81d3
Yes, very easy.
- to enable telnet, log in via web browser then run this command from bash shell:
curl "http://192.168.0.1/goform/goform_set_cmd_process" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "Referer: http://192.168.0.1/index.html" --data "isTest=false&goformId=URL_FILTER_ADD&addURLFilter=http%3A%2F%2Ffakeurl%2F%26%26telnetd%26%26"
- the command is needed to be run only once!
- to disable telnet, factory reset the modem
Connect via telnet to port 4719, user and pass is "admin" and cannot be changed.
I have a reboot script here: https://gist.github.com/milankragujevic/9cfc5825c6cbc20900b94f6a75bf81d3
tried reboot script got {"result":"failure"}. my modem has been acting weird lately to the point that it no longer receives lte as it used to .
Do a factory reset of the modem with the button.
Do a factory reset of the modem with the button.
just tried and curl command still resulted in failure sadly .
im thinking the fact that mine was rebranded by provider , they changed something in the firmware .
but not sure if a dump of another mf283v firmware unlocked would fix some of these issues . i heard that wps and reset (something like that ) puts the device in recovery mode tho never tried it and i think thats using UART interface .
Did you log in to webui before? Do not reflash the mkdwm, you will break it.
Did you log in to webui before? Do not reflash the mkdwm, you will break it.
before trying the curl command: yes
dont even know how to reflash it also i do not have a dump from another device that's unlocked to try it , but i will remember that for future ref.
Добрый день! Пытаюсь почистить память в роутере ZTE MF 910.
Каким образом запустить там скрипт? Может можно как-то запустить очистку всех смс из адресной строки браузера?
Yes, absolutely, but you need to replace msg_id with the appropriate IDs from list SMS reply.