Skip to content

Commit

Permalink
xss in wakeup
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmaster187 committed Sep 17, 2024
1 parent beb9369 commit d67516e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TeslaLogger/www/wakeup.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
$carid = 1;

if (isset($_REQUEST["id"]) && strlen($_REQUEST["id"]) > 0)
$carid = $_REQUEST["id"];
$carid = intval($_REQUEST["id"]);

unlink($prefix."cmd_gosleep_$carid.txt");
$filename = $prefix."wakeupteslalogger_$carid.txt";
Expand Down

0 comments on commit d67516e

Please sign in to comment.