If you have basic HTML and JavaScript knowledge, you may be able to access password protected websites. This article will give you an easy method to hack simple, less-secured websites of your choice simply through HTML. Use it responsibly.

Note: This basic method works only for websites with extremely low security barriers. Websites with robust security details will not be susceptible to this kind of simple attack.

Steps

1

Open the site you want to hack. Provide wrong username and wrong password combination in its log in form. (e.g. : Username : me and Password: ' or 1=1 --) An error will occur saying wrong username and wrong password. Now be prepared because your experiment starts from here.

2

Right click anywhere on that error page =>> go to view source.

3

View the source code. There you can see the HTML coding with JavaScript.

There you find something like this....<_form action="...Login....">

Before this login information copy the URL of the site in which you are. (e.g. :"< _form..........action=http://www.targetwebsite.com/login.......>")

4

Delete the JavaScript from the above that validates your information in the server. Do this very carefully.—Your success in hacking the site depends upon how efficiently you delete the java script code that validates your account information.

5

Take a close look for "<_input name="password" type="password">"[without quotes] -> replace "<_type=password>" with "<_type=text>". See there if maximum length of password is less than 11 then increase it to 11 (e.g. : if then write ).

6

Go to file => save as and save it anywhere in your hard disk with ext.html (e.g.: c:\chan.html).

You see that some changes in current page as compared to original One. Don't worry.

8

Provide any username [e.g.: hacker] and password [e.g.:' or 1=1 --] You have successfully cracked the above website and entered into the account of List user saved in the server's database.

You're helping people by reading wikiHow

wikiHow's mission is to help people learn, and we really hope this article helped you. Now you are helping others, just by visiting wikiHow.

World Possible is a nonprofit organization focused on connecting offline learners to the world's knowledge. They work to ensure that anyone can access the best educational resources from the web anytime, anywhere, even if they do not have an internet connection.

Click below to let us know you read this article, and wikiHow will donate to World Possible on your behalf. Thanks for helping us achieve our mission of helping people learn how to do anything.

First off, find the Javascript code you want to delete, highlight it, and right-click it. You will see an option that says, "Edit as HTML." Select that option, hit CRTL-A (Mac: Command-a), then delete it by pressing backspace.

The kinds of hacking that are illegal are (depending on your specific jurisdiction) are "theft of services" or "unauthorized access to a computer system" or "fraud." It is perfectly fine, however, for someone to hack their own computer or website in order to reset a lost password for an administrator account. Apart from that, there aren't very many situations where it would be legal to hack.