Hacks and Tweaks


October 16, 2009

Easy Way to Hack a Website : Educational Purpose Only

More articles by »
Written by: arunenigma
Easy Way to Hack a Website : Educational Purpose Only

If you have the html and javascript knowledge then you can access password protected websites.
Here is an Easy Tutorial (Educational Purpose Only) to hack into a website.

1. Open the website you want to hack. Provide wrong username-password in its log in form.

(e.g : Username : me and Password: ‘ or 1=1 –)

An error will occur saying wrong username-password. Now be prepared

Your experiment starts from here…

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

3. There you can see the html codings with javascripts.

4. There you find somewhat like this….<_form action="..login....">

5. Before this login information copy the url of the site in which you are.

(e.g :”<_form..........action=http://www.targetwebsite.>“)

6. Then delete the javascript from the above that validates your
information in the server. (Do this very carefully, your success to hack
the site depends upon this i.e how efficiently you delete the
javascripts that validate your account information).

7. Then take a close look for “<_input name="password">
type=”password”>”[without quotes] -> replace “<_type=text>
” there instead of “<_type=password>“. See there if maxlength of
password is less than 11 then increase it to 11 (e.g : if then write ).

8. Just go to file => save as and save it any where in your hardisk with ext.html
(e.g: c:\chan.html)

9. Reopen your target web page by double clicking ‘chan.html’ file that you saved in your

harddisk earlier.

10. You see that some changes in current page as compared to original One. Don’t get worried.

11. Provide any username[e.g:hacker] and password [e.g:’ or 1=1 –]

Congrats! You have successfully cracked the above website and
entered into the account of 1st user saved in the server’s database.

[Please read “_form”=”form” & “_type”=”type” & “_input”=”input” without quotes]

The above trick won’t work on websites using latest technologies and security services to
protect their servers. But still you can find a lot of websites to use this trick.

About the Author

Computer Science Graduate Student @ Case Western Reserve University, Cleveland, USA



Python Factory Design Patterns using Switch Case

I googled for Factory Method Design Pattern in Python but couldn’t find a good resource. So, I  am sharing an example program to demonstrate this design pattern in Python which I frequently use. The factory method pattern is...
by arunenigma


Conway’s Game of Life Implemetation in Python with cool patterns

he Game of Life (or simply Life) is not a game in the conventional sense. There are no players, and no winning or losing. Once the “pieces” are placed in the starting position, the rules determine everything that ha...
by arunenigma


Python AVL Tree Implementation with ASCII visualization

n computer science, an AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any tim...
by arunenigma



Binary Search Tree in Python with ASCII art visualization

Binary search tree implementation in Python with: in, post and pre-order traversals. Also includes methods for insertion, deletion and search of nodes. Deletion is fairly complex and is made possible by keeping track of parents...
by arunenigma


Python, Memoization, Dynamic Programming, Fibonacci Series and some Fun!

ython can implement the recursive formulation directly, caching return values. Memoization is a method where if a call is made more than once with the same arguments, and the result is returned directly from the cache. For exam...
by arunenigma



  1. Anonymous

    huh? I dont understand ur english? ..

  2. Anonymous

    Yes me too ..not properly explained..need screen shots

  3. This is a nice article..
    Its very easy to understand ..
    And this article is using to learn something about it.., c#, javascript
    Thanks a lot..!

You must be logged in to post a comment.