![]() |
|
Beginner XSS Deface Guide - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47) +----- Thread: Beginner XSS Deface Guide (/showthread.php?tid=4385360) |
Beginner XSS Deface Guide - WarOnDrugs - Aug 8, 2014 What is XSS? cross-site scripting (XSS) is a type of website security vulnerability typically found in web applications that enables client-side script into web pages viewed by other users. An exploited cross-site scripting vulnerability can be used by attackers to bypass access controls such as the same origin policy. Types of XSS vulnerabilities: 1.Persistent 2.Non persistent In this post, I'll explain about the non persistent vulnerability. Non persistent XSS vulnerability is the Most Common Type of XSS Flaw. It is a Server Side Vulnerability When a Web Server takes any input from a User and returns the same back to the User without any Validation, This leads to a Non-Persistent XSS Vulnerability. XSS Attacks be used for the following: •Compromising and Hijacking Accounts •Stealing User Cookie •Defacing Websites •Phishing Attacks •Posting Hostile Content Instructions: Step 1: First of all find the vulnerablitiy using google dorks. You can find dorks online. Code Most commonly used dorks are as follow:Step 2: Choose a target website: To do so use the Google Dorks above and once you find a website, refer below for the next step in the process. Find out the vulnerability: 1)Find a textbox in the site or something where you can submit text. 2)Type in the following and hit Submit Query button. Code <script>alert("hit");</script>Defacing: There are few ways which can be used to deface a site when you find a XSS vulnerability. 1) Makes A Picture Pop-Up: Code <script>location="www.website.com/yourdefacepic";</script>2) Replace The Content Of The Page By An Image: Code <img src="yoursite.com/yourdefacepic/>3)Redirect To A Website Code <script>window.location="http://www.yoursite.com"</script>* - Vanilja - Aug 8, 2014 Hmm, looks pretty nice. Will take a look tomorrow. * - WarOnDrugs - Aug 8, 2014 (Aug 8, 2014 05:20 PM)Katy Perry Wrote: Hmm, looks pretty nice. Take your time, Katy. It's fairly straighforward. * - ๖ۣۜDutchOps - Aug 8, 2014 Thanks, Learned a few things..!! but its really only changing javascript or html.. Do you know any good persistant xss tuts? * - WarOnDrugs - Aug 8, 2014 (Aug 8, 2014 05:59 PM)๖ۣۜDutchOps Wrote: Thanks, Learned a few things..!! but its really only changing javascript or html.. Do you know any good persistant xss tuts? I really don't know any good persistant xss tuts to refer you to. I guess use google. * - monuty - Aug 12, 2014 (Aug 8, 2014 06:47 PM)Ultimate Wingman Wrote: I really don't know any good persistant xss tuts to refer you to. I guess use google. nice tut bro :D u know any good vulnerability scanner for XSS , SQLi ? * - Powindah - Aug 12, 2014 Very basic and straight to the point guide, thanks for posting this. * - joneh heil - Aug 12, 2014 Cool tutorial, never really gotten into XSS but I will try this :) * - WarOnDrugs - Aug 12, 2014 (Aug 12, 2014 02:28 PM)joneh heil Wrote: Cool tutorial, never really gotten into XSS but I will try this :) It's good just to play around with even, or just to learn something new. (Aug 12, 2014 01:13 PM)Powindah Wrote: Very basic and straight to the point guide, thanks for posting this. No worries my man. Hopefully you found it of some use. * - justsmil3x - Aug 13, 2014 Basic, yet informative and well structured guide. Sounds perfect for beginners! * - aproxyb - Aug 13, 2014 Thanks for sharing. Will try this out * - Dyingsoul - Aug 14, 2014 Nice and clean guide! :) Thanks for this one! * - Blackbullz - Aug 21, 2014 Great tutorial buddy, I've tested It and is working perfectly. |