This curl works
curl '
http://192.168.29.1/platform.cgi' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,
/;q=0.8,application/signed-exchange;v=b3;q=0.7' \
-H 'Accept-Language: en-US,en;q=0.9' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'DNT: 1' \
-H 'Origin:
http://192.168.29.1' \
-H 'Pragma: no-cache' \
-H 'Referer:
http://192.168.29.1/platform.cgi?page=index.html' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'User-Agent: Mozilla/5.0 (
Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36' \
--data-raw 'thispage=index.html&users.username=admin&users.password=
Android%4022&button.login.users.dashboard=Login' \
--compressed \
--insecure
But in POst man i used
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,
/;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 105
Content-Type: application/x-www-form-urlencoded
DNT: 1
Host: 192.168.29.1
Origin:
http://192.168.29.1
Pragma: no-cache
Referer:
http://192.168.29.1/
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Body as
thispage: index.html
users.username: admin
users.password: Android@22
button.login.users.dashboard: Login
But it fails.. ANy one who knows why ? It goes back to error in login and again asks me to login
<h1 class="unAuthorised" style="line-height:60px !important">A critical error encountered while loading web page </h1>
Any one?