Sinisterly
Tutorial Website hacking with [XSS] - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Website & Server Hacking (https://sinister.ly/Forum-Website-Server-Hacking)
+--- Thread: Tutorial Website hacking with [XSS] (/Thread-Tutorial-Website-hacking-with-XSS)

Pages: 1 2 3


Website hacking with [XSS] - Anonymous - 12-08-2012

Hey guys I'm here to tell you guys a few things. Some of you may already know this.

Lets talk the different type of hackers.

White Hats: This type of hacker, hacks sites and then reports anything they found.

Gray Hats: This type of hacker, hacks a site for either the good or the bad of the site.

Black Hats: This type of hacker, hacks a website purely for themselves to make a profit off the site in anyway.


Ok now that we know the type of hackers lets talk about 1 mostly used methods of hacking.

Xss- Xss hacking is when a site that is poorly coded, we can slip a bit of java say a search bar. So say we put this java script in the search bar.
Spoiler:
Code:
<script>alert("Hacker name here")</script>


Now with that bit of code, we can create a small box on the webpage that says Hacker name here, Or whatever you might have put between the ""'s.

Now lets talk about the type of Xss hacks there are.

Non-persistent- You might have the box when you copy the url after you made the xss injection and past it in a new tab, the box is gone.

Persistent- Same thing as the above EXCEPT when you past the url in a new tab the box will apear again. Or the script would have wrote it's self right on to the page and can be seen by anyone that might visit that page.

Now as might know. Non-persistent xss is kinda useless, but we still need it to find a persistent xss.

Now what you can do with a Persistent xss is post a cookie logger/stealer xss and send the link to someone you might want to hack, this will then give you the cookie of the person that view the link and all you have to do is replace your cookie with theirs, therefore, making the site believe you are that user. (Some cookie loggers/stealers might only work if the user is still logged in.)

Now what was the point of explaining the types of hackers?

Well I read a post of someone who found and Xss on paypal. Instead of doing the black hatter method, he reported the find to the site (white hatter method). The site has just paid the user 250.00 USD for his find.

Instead he could have used it to hack users (black hatter method) to steal money.


RE: Website hacking with [XSS] - YP. - 12-08-2012

Dude, you are filling me up with joy for hcking and coding!
Very nice, i might actually soon be able to hack myself


RE: Website hacking with [XSS] - Anonymous - 12-08-2012

I know XSS like the back of my hand. Need help with an xss just let me know.


RE: Website hacking with [XSS] - YP. - 12-08-2012

What is xss specificly used for Smile


RE: Website hacking with [XSS] - Anonymous - 12-08-2012

Inserting deface pages and cookie loggers, or maybe even trying to get a reward from the site or Hijacking live sessions of users. of that site.


RE: Website hacking with [XSS] - w00t - 12-08-2012

There are many better things to do with XSS than deface and session hijack.


RE: Website hacking with [XSS] - YP. - 12-08-2012

Can you name some examples, cause this sounds thrilling


RE: Website hacking with [XSS] - Anonymous - 12-08-2012

Like what I'm intrested. Because thats all I really collected from learning xss.


RE: Website hacking with [XSS] - w00t - 12-08-2012

You're inserting HTML code directly onto a page. You can get root access to the server.


RE: Website hacking with [XSS] - Anonymous - 12-08-2012

Its not HTML...Its Javascript. Get your facts right. xD