background preloader

Hacking

Facebook Twitter

XSS (Cross Site Scripting) Cheat Sheet. Last revision (mm/dd/yy): 07/4/2018 This cheat sheet lists a series of XSS attacks that can be used to bypass certain XSS defensive filters. Please note that input filtering is an incomplete defense for XSS which these tests can be used to illustrate. Basic XSS Test Without Filter Evasion This is a normal XSS JavaScript injection, and most likely to get caught but I suggest trying it first (the quotes are not required in any modern browser so they are omitted here): XSS Locator (Polygot) The following is a "polygot test XSS payload.

" javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/"/+/onmouseover=1/+/[*/[]/+alert(1)//'> Image XSS using the JavaScript directive Image XSS using the JavaScript directive (IE7.0 doesn't support the JavaScript directive in context of an image, but it does in other contexts, but the following show the principles that would work in other tags as well: No quotes and no semicolon Case insensitive XSS attack vector HTML entities Malformed A tags <! <! Metasploit Unleashed Information Security Training. Armitage - Cyber Attack Management for Metasploit. Lifemayhem - When Network security meets everyday life. Hackers can find you by tracking your cellphone. Posted on 17 February 2012. Finding out people's approximate whereabouts by tracing their cellphone signal is something that service providers can easily do, as cellular networks track its subscribers all the time in order to ensure adequate service delivery.

We also take for granted that law enforcement and intelligence agencies have easy access to that information by getting court orders that force service providers to share that information with them. But is it possible for other people - most of all, is it possible for criminals - to do the same? A team of students and associate professors from the University of Minnesota have proven not only that it can be done, but also that it can be done cheaply by using readily available hardware and open source software. "The motivation for attackers to obtain pieces of location information of victims include anyone who would get an advantage from such data," say the researchers. For more details about their research and project, go here.