Showing posts with label Website Hacking. Show all posts
Showing posts with label Website Hacking. Show all posts

How To Hack And Deface Websites On Android Smartphone By XSS Attack Method

hack-and-deface-websites-on-android-smartphone-by-xss-attack



Today everyone is aware of the fact that Android Smartphones are very popular in the market and a lot of people are using them. We are not going to discuss why android smartphones are so popular. The matter is Can anyone use Android Smartphone for Website Hacking? I have already mentioned earlier that there are not too much Android Hacking App available in store. Still, a hacker can easily hack and deface thousands of websites (Yes, you read it correctly!!!) with a simple Android Smartphone, Internet Connection and a Web Browser. XSS (often known as Cross Site Scripting)is a method used to hack websites. XSS attack and Sql Injection attack are two most popular and widely used website hacking method. There are literally thousands of websites vulnerable to these attack methods. Most importantly, a hacker can easily hack and deface websites on android smartphone by XSS attack method. Here is a step-by-step guide to hack and deface websites on android smartphone by XSS method.


What is XSS Attack?

Cross Site Scripting (XSS) is a security flaw/loophole/vulnerability, present in websites, which allows a user, to inject malicious codes, on the target website. I hope that you have a basic idea of what XSS attack is . Now, let me describe the effect of XSS attack. If a hacker finds a website vulnerable to XSS attack, he can inject his own HTML or Java Script. And if you are aware of these web designing language then it is quite easy to understand the devastating effect of these malicious codes.


Types of XSS Attack

Basically, there are two types of XSS attack. These are- (i.) Persistent XSS and (2.) Non-persistent XSS. I am not going to explain them in detail since it will make the tutorial boring and lengthy. It is enough to know that in case of persistent XSS, the user input is permanently stored in database which can affect other users too. While in case of Non-persistent attack, user input is shown only to the hacker who has injected the code. So, obviously Persistent XSS attack method is more dangerous.


How to find a Website Vulnerable to XSS attack?

There are many ways to find XSS Vulnerability on Android Smartphone. You can use following methods to do so-

Manual Search-


search-manually-xss-vulnerable-site-on-android-smartphone
 
You can search websites manually to find XSS Vulnerability in a website. To find the vulnerability, you need to input some Java Script code in input field of website. You can input Java Script code in Search Box, Comment Section, Forum Post to check it. The most common code you can use is - <script>alert("hi")</script>. If the webpage shows a pop-up window with message "hi" then the website is vulnerable to XSS attack.

Web Vulnerability Checker-

There are many software available for free download which scans the whole website to find a vulnerability. You can use such software to find XSS vulnerability on a particular website. Acunetix Web Vulnerability Checker software is probably the best software in this category. Download Acunetix web Vulnerability Checker from internet and install it in your system. Open the web vulnerability checker and input the website which you want to hack. It will scan the whole website in order to find any vulnerability including XSS too.

Google Dork- 


use-google-dork-search-xss-vulnerable-site-on-android-smartphone
 

You can use Google Dorks effectively to find websites vulnerable to XSS attack. I have already explained Google Dorks in Havij Tutorial. The best Google Dork to find XSS Vulnerability is inurl:search.php?q=. Input this term in Google Search Box. It will provide you thousands of websites which may be vulnerable to XSS attack. You have to check if a website is vulnerable or not. To do so, you have to insert Java Script code in address bar. For example, I have found following site by using Google Dork:- http://www.theecologist.org/search.php?q=. So, now I have to insert a code in address bar to check whether it is vulnerable to XSS attack or not. 


check-website-vulnerable-to-xss-attack-on-android

Hence, I inserted this code in address bar:- http://www.theecologist.org/search.php?q=<script>alert("hi")</alert>. After opening the web address a pop-up screen with "hi" message is displayed on website which means that it is vulnerable to XSS attack.

What to do with a Website Vulnerable to XSS attack?

 
There are many tasks you can perform once you find a XSS Vulnerable site. You can deface the website which is the coolest thing to do. Defacing the website means that the hacker has changed the original content of website with the content of his own. There are a few code which you can use to do so-

(i.) <html><body><img src="http://www.abc.com/your-image.jpg" /></body></html>

You can use this code to upload any image of your choice on the website.
 

deface-upload-picture-on-hacked-website-on-android

Syntax- http://www.theecologist.org/search.php?q=<html><body><img src="http://www.code7.co.uk/images/easyblog_images/817/2e1ax_oneweb_entry_hacked-website.jpg" /></body></html>


(ii.) <html><body><center>
<font face="calibri" color="purple" size="05">Your Website is Hacked Now</font></center>
</body></html>


You can use this code to show your message on the website.



deface-upload-text-message-on-hacked-website-on-android

Syntax- http://www.theecologist.org/search.php?q=<html><body><center>
<font face="calibri" color="purple" size="05">Your Website is Hacked Now</font></center>
</body></html>




(iii.)  <script>document.body.background="http://www.abc.com/your-image.jpg";</script

You can use this code to change the background image of the website.

(iv.) <script>window.location="http://www.amazinghackingtricks.com";</script>

You can use this code to redirect the website to any other website. You can use this to redirect XSS Vulnerable site to your defacement page uploaded on Internet.


redirect-hacked-website-to-your-own-website-on-android-smartphone


Syntax- http://www.theecologist.org/search.php?q=<script>window.location="http://www.amazinghackingtricks.com";</script>


How to Bypass Filtration Used on many Websites?

Actually, many-a-websites are vulnerable to XSS attack. But, when you input code like <script>alert("hi")</script> on those websites then it results in nothing. The reason is that those websites have slightly advanced filtration mechanism which stops these codes to work. However, you can bypass the filtration by using following codes-

(i.) q="><script>alert('hi')</script>

(ii.) q="><script>alert("hi")</script>
(iii.) q="><script>alert("hi");</script>
(iv.) q="><script>alert("/hi");</script>
(v.) q="><img src='javascript:alert('hi');'>


A Personal Message to You

It is nice to see that you have gone through How to hack and deface websites on android smartphone by XSS attack method. I hope that you have enjoyed the article. However, if you want me to deliver more hacking tutorials and articles then please share my post. You can use Social Sharing Widget provided at the end of every post. After all, Sharing is Caring!!!
Thank You. Have a nice day ahead!!!

Hack a Website by DoS Attack (Easiest and Dangerous Way)

hack-website-dos-attack




Gone are the days when only Black Hat Hackers, Computer Researchers and Security Experts only were able to hack Websites. It is 21st Century now and the scenario is totally changed. Now-a-days, a general computer user can hack a hack a site and they are doing so. Ever wondered how? Well, the credit goes to free tools available on Internet. There are numerous tools made by different organization (like Anonymous) which are very efficient in their work and extremely dangerous. One such tool is LOIC. It uses DoS method to hack a site.

What is a DoS Attack?

DoS stands for Denial of Service and it is the most easiest yet dangerous way to hack a website. In a DoS attack, the attacker sends, multiple request, at a time, to target site, continuously and consumes its all resources. It results in shutting down of the site temporarily. The attacker uses a tool named LOIC to send multiple request to the site.
LOIC stands for Low Orbit Ion Canon. It is developed by world famous hacking group Anonymous. LOIC is a light-weight tool and extremely easy to use. Yet here is a tutorial on LOIC for you all.



Step 1
 

At first, download LOIC(Low Orbit Ion Canon) tool from Internet.


Step 2

 

open-loic


Once downloaded, browse the location where you saved the file. It is a zip folder so open it with Win Zip or 7-zip.


Step 3


loic-tool
  
Now, open the LOIC tool.


Step 4


url-target-loic
  
To attack the target site, you need to input either URL or IP Address of the site in relevant box. I suggest you to input the IP Address of the site.


Step 5


find-ip-address-target
  
To find the IP Address of your target site, click on Start button on your computer. Open RUN, type "cmd" in the box and press Enter. A new window will be opened which is Command Propmt. There type ping www.targetsite.com and press Enter.


Step 6


ip-address
  
You will get the IP Address of your target site. Note it down.


Step 7


input-ip-target
  
Open the LOIC tool again and input the IP Address of your target site in IP Section and click on Lock on button.


Step 8


ip-address-locked
  
If everything is okay, then you will see the IP Address of your target site in Selected target section.


Step 9


setting-loic
  
Now leave the attack options as default. But, if you want to make some change in it, then you can surely do it.


Step 10


launch-loic-attack
  
Finally, click on the big button IMMA CHARGIN MAH LAZER to launch the attack.


Step 11


loic-attack-status
  

You have almost done it. Now, just sit back relaxed and the LOIC tool will do the rest of work for you. You can see attack status that how much requests has been sent to the site.


Actually, it is very hard to take down a whole site by only one person. So, I suggest you to make a group, fix the target and launch the attack against the target site with maximum members you have at a time. Then this method can work fine. Also, never think of hacking big sites like Facebook and Google using this method. These sites are totally protected from such attack.



The tutorial provided here is only for the educational purpose. Apply the method/tutorial/trick at your own risk. Amazing Hacking Tricks and Sanjeet Kashyap will not be responsible for the harm caused by User's action in any way.

A personal message to You 


It is nice to see that you have gone through "Hack A Website by DoS Attack (Easiest and Dangerous Method" completely. I hope you have enjoyed the article. However, if you want me to deliver more interesting hacking tutorials and article then please share my post(s). You can use Social Sharing Widget provided at the end of every post. After all, Sharing is Caring!!!
Thank you. Have a nice day ahead!!!

Hack a Website using Havij (Noob Friendly)



hack-websites-havij


Now-a-days, it is quite easier to build a website and promote the business. Now, even you do not need to learn various languages and scripts like HTML, CSS, Java Script, DHTML etc. to make a web page. There are numerous Web Building tools already available on Internet which make your work quite easier. You just need to Drag and Drop elements to create a beautiful webpage. Various platforms like Blogger, Word Press, Joomla can easily host your website and provide a free Domain Name. Similarly, it is also too easy to hack a website today. There are many ways to hack a website like DoS (Denial of Service), DDoS (Distributed Denial of Service), SQL Injection, XSS (Cross Site Scripting) attack. And, to make the job easier for you, there are numerous tools also available on the Internet. These tools having GUI (Graphical User Interface) are automated and you just need to press a few buttons to hack the target.

One such awesome hacking tool is Havij. It is devloped by ITSecTeam and it uses SQL (Structured Query Language) Injection method to hack a website. And, now I am going to provide a step-by-step tutorial to hack a website using Havij.

 

Step 1-


download-havij


At first, you need to download the Havij tool. You can download it from http://www.itsecteam.com. Once downloaded, install the Havij in your system.




Step 2-


Now you need to find a vulnerable site to hack it with Havij. Remember one thing that you can not hack each and every site using this method but at least you can hack a few. You can easily find vulnerable site using Google Dorks like-

inurl:.com/index.php?id=

inurl:.in/news.php?id=

inurl:.pk/page id=

inurl:.gov/article.php?id=

You can find more such Google Dorks on Internet easily.


Now, simply Copy and Paste these dorks in Google Search box. Within seconds, you will get thousands of site which might be vulnerable to Sql Injection. You need to find one such vulnerable site. To do so, open the site and add a ' in the address of the website and press Enter. For example, I have found a site http://www.txi.co.in/article.php?id=3. And I inserted ' in the address as follows- http://www.txi.co.in/article.php?id=3'. If the site is vulnerable then you will find an error message like-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\'' at line 1




Step 3-


vulnerable-target-havij



Once you get the address of vulnerable site then open Havij. Input the web address of the vulnerable site in Target section. In my case, it is http://www.txi.co.in/article.php?id=3 and click on Analyze button.




Step 4-


site-data-analysed-havij


After that, Havij will take some time to analyze the target and get some information about it. So, be patient. Once Havij complete the analysis then click on Tables.




Step 5-



get-table-havij

Now, click on Get Tables to find the tables present in website's database.




Step 6-


select-admin-table-havij


Once Havij find the Table, click on '+' icon to expand the entry. Here you will find many tables like Admin, Login, Users etc. Select the suitable table like Users to get user name and password of users on that site. In my case it is 'Users' as I want the user name and password of users.




Step 7-


select-column-havij


After selecting the suitable table, click on the option Get Columns to get Columns present in the table.




Step 8-


get-user-data-havij


Within minutes, Havij will find Columns. Now, select the column like username, password, email id and Click on Get Data.



Step 9-


save-hacked-data-havij


Now, Havij will retrieve all the data like User name, Password and Email Id of users from the Column. You can use this data to Log In to the user accounts on the site and control it. You can also save these data for further use by clicking on Save Data.

NOTE- It might be tough to understand everything provided in the tutorial at once. So, if you face any problem, feel free to contact me.

The tutorial provided here is only for the educational purpose. Apply the method/tutorial/trick at your own risk. Amazing Hacking Tricks and Sanjeet Kashyap will not be responsible for the harm caused by User's action in any way.

A personal message to You
 
It is nice to see that you have gone through "Hack A Website using Havij (Noob Friendly)" completely. I hope you have enjoyed the article. However, if you want me to deliver more interesting hacking tutorials and article then please share my post(s). You can use Social Sharing Widget provided at the end of every post. After all, Sharing is Caring!!!
Thank you. Have a nice day ahead!!!