Auto-login passing username and password via URL |
7/26/2019 11:42:33 AM |
PHPRunner Tips and Tricks | |
![]() Please note that passing username and password via URL is very insecure. Use it for internal applications only. if ($_GET["username"] && $_GET["password"])
https://yourwebsite.com/login.php?username=...&password=... |
|
U
|
uli 8/3/2019 |
Thanks for this small script snipplet. I tried this out but got this Warning that is generated by the call to "Security::loginAs($_GET["username"]);" |
![]() |
milver 2/3/2020 |
Thanks for this small script snipplet. I tried this out but got this Warning that is generated by the call to "Security::loginAs($_GET["username"]);" count(): Parameter must be an array or an object that implements Countable in **/classes/runnerpage.php on line 1133 PHPRunner 10.2 Thanks for help
|