Blogger Widgets
Showing posts with label jQuery. Show all posts
Showing posts with label jQuery. Show all posts

Saturday, 19 October 2013

Cross Site Scripting (XSS) #XSS #Infosec #Vulnerability #Pentesting #Hacking #Website #Defacing



It is a vulnerability found in websites which allows an malicious attack/cracker to inject client-side scripts into the web pages. By using this vulnerability an attaker can deface a website, redirection attacks can be done and session cookie stealing is also possible by exploiting this vulnerability.
There are two types of XSS vulnerability found in web applications.
1. Non-persistent
2. Persistent

Non-persistent
Non-persistent type of XSS vulnerability is the most common one. Non-persistent XSS happens when a malicious HTML query is done by an attacker and that query is used immediately by the server-side to generate the page result.

Persistent
Persistent type of XSS vulnerability is a dangerous kind of vulnerability. This happens when a malicious HTML query is done by the attacker and that query is immediately saved by the server and is permanently displayed on the normal pages. 
In this tutorial we're going to learn how to deface a XSS vulnerable site via Non-persistent XSS vulnerability.

In order to find sites vulnerable to XSS use Google dorks. The most common Google dork used by attackers to exploit the XSS vulnerability is: inurl:search.php?q=

How to find if the website is XSS vulnerable or not. Example Website: "www.website.com/search.php?q="
Open the website, you will find a search box. in that search box type this code: <script>alert("XSS Detected !!")</script>

And click on search. If the site is vulnerable, you will get a Jquery box saying "XSS Detected", if you got that you can move forward to deface the website site. Now if you want just to display a simple message like
"H4CK3D", Enter the below HTML code and click on search. <h1><center><b>Hacked by RY44ND4V15</h1></center></b>

Tuesday, 11 June 2013

6 Useful #Websites to Learn #coding as a #Beginner to #Expert.

image



#1. w3schools -
W3schools is number 1 as it helps beginners to learn
code from A to Z.
All You need to do is just go to W3schools and select a tutorial of the language you want to learn, then
take a cup of coffee and start learning.
No skills required.
You will learn > HTML/ CSS (HTML5/CSS3), Javascript, PHP, ASP, XML, AJAX, jQuery

image



#2. Codecademy -
Codecademy is a best alternative to W3schools,. with Codecademy you can learn any language and start programming in a funny way.
No skill required.
You will learn > HTML/CSS, PHP, jQuery, JavaScript, Python, Ruby

image



#3. Code avengers
Same as Codecademy, Code avengers provides an easy to use platform and its a funny way to code and gain experience.It comes with 3 Levels that a user have to pass them to become a full expert. No Skills Required
You will learn > HTML/CSS (HTML5/CSS3), JavaScript

image



#4. CodeSchool -
Codeschool provides you a very easy to use interface, Design, and not much unwanted text.
No skills required.Language you will learn > HTML/CSS, Ruby on Rails, JavaScript, iOS

image



#5. TeamtreeHouse -
Teamtreehouse is very similar to Codeschool which provides you simple and easy way to learn Coding.
No skills required. Languages you.Will learn HTML/CSS, iOS,. Android, Wordpress

image



#6. Dreamincode -
Last one is Dreamincode, many developers and programmers have taken their knowledge from Dreamincode.  The only thing is the interface is a bit boring and plenty of text as well.
No skill required Languages you will learn> C++, Java, VB, VB.net, C#, PHP, ColdFusion,
Thats it, Try these Sites to enhance your coding knowledge, Very usefull For beginners.

image