Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-timcu committed Dec 19, 2024
1 parent 69d04a2 commit 551ddcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cli/path_traversal/test_path_traversal_chdir.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ Test path traversal (chdir)
AIKIDO_LOG_LEVEL=INFO
AIKIDO_BLOCK=1

--POST--
test=../file

--FILE--
<?php

Expand All @@ -17,5 +14,8 @@ chdir($file);

?>

--POST--
test=../file

--EXPECTREGEX--
.*Fatal error: Uncaught Exception: Aikido firewall has blocked a path traversal attack.*

0 comments on commit 551ddcd

Please sign in to comment.