1 2 3
| @echo off
start "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" http://192.168.0.1/login.html && curl "http://192.168.0.1/goform/login?sessionKey=1985656830" -H "Connection: keep-alive" -H "Cache-Control: max-age=0" -H "Origin: http://192.168.0.1" -H "Upgrade-Insecure-Requests: 1" -H "Content-Type: application/x-www-form-urlencoded" -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8" -H "Referer: http://192.168.0.1/login.html" -H "Accept-Encoding: gzip, deflate" -H "Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7" --data "loginUsername=admin^&loginPassword=^%^monpass^&envoyer=OK" --compressed
pause |
Partager