No, I’m not switching over the illegal stuff; this may help you prevent your websites from being hacked. Websites and user forums are continuously being hacked and intentions are not always criminal. Many people hack websites just for the sake of causing mischief and trouble. This excellent post tells you how people go about hacking websites You can use some of the methods described here to make provisions to beat hackers. Some of the website hacking methods discussed on the blog post are:
- SQL Injection: This involves injecting SQL queries using form fields, login screens and even URLs to hack into websites. There are strings that can totally modify your dynamically generated SQL command strings.
- Cross Site Scripting: Cross site scripting is much more complex that SQL injection and it often used to access sensitive personal information. In cross site scripting JavaScript is embedded in the hyperlink to hack into the website.
- Authorization bypass: It’s much simpler than it seems.
- Google hacking: This happens by searching for files that actually contain logins and passwords.
- Password cracking
All of the above hacking technique are little much difficult so now I will give you very easy trick to hack any website. Actually following trick is not any hack but it is very easy technique to make any body fool saying "I have hacked this site"
This is a java script which allows u to edit any website........ change every text in the website.... but not save it!!!!!
1. Go to any website
2. Paste the below code in the address bar of your browser
3. Now Press Enter
4. You can edit the website , but you cannot save it.
CODE:
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
Ok, friends now tell all your friend that you have hacked website, now you can change any thing on targeted website