Skip to content

Commit 2b3f7a6

Browse files
authored
Update 2025-01-25-Shell-Globbing.md
1 parent d2027f6 commit 2b3f7a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2025-01-25-Shell-Globbing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Let's consider a vulnerable PHP script:
6262
```php
6363
<?php
6464
echo 'ok: ';
65-
print_r($_GET['c']);
66-
system($_GET['c']);
65+
print_r($_GET['cmd']);
66+
system($_GET['cmd']);
6767
?>
6868
```
6969

0 commit comments

Comments
 (0)