Skip to content

Commit

Permalink
xss index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmaster187 committed Sep 17, 2024
1 parent 467aee7 commit cf18951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TeslaLogger/www/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
$carid = GetDefaultCarId();
if (isset($_REQUEST["carid"]))
{
$_SESSION["carid"] = $_REQUEST["carid"];
$carid = $_REQUEST["carid"];
$_SESSION["carid"] = intval($_REQUEST["carid"]);
$carid = intval($_REQUEST["carid"]);
}
else
{
Expand Down

0 comments on commit cf18951

Please sign in to comment.