Re: Let's exploit this

From: Tim (tim-pentest@sentinelchicken.org)
Date: Wed Aug 02 2006 - 15:11:44 EDT


> Off the top of my head, I would put in an extra backslash, so that it
> would look like:
> myFunc('Nancy\\'); alert('xss'); ('s', 'hamster');

You've got the gist of it, but remember that all ' get backslashed.
You'd probably want to avoid further apostrophes after the first you
used to break out, or add the extra backslash in a way that won't screw
up your exploit code.

thanks,
tim

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security?
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's
Choice Award from eWeek. As attacks through web applications continue to rise,
you need to proactively protect your applications from hackers. Cenzic has the
most comprehensive solutions to meet your application security penetration
testing and vulnerability management needs. You have an option to go with a
managed service (Cenzic ClickToSecure) or an enterprise software
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can
help you: http://www.cenzic.com/news_events/wpappsec.php
And, now for a limited time we can do a FREE audit for you to confirm your
results from other product. Contact us at request@cenzic.com for details.
------------------------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:56:30 EDT