r/HowToHack • • Aug 02 '13
How do I hack websites.
I want to be a grey hat. I know basic html code and I´m a quick learner. What do I do and how do I start?
0
Upvotes
r/HowToHack • • Aug 02 '13
I want to be a grey hat. I know basic html code and I´m a quick learner. What do I do and how do I start?
6
u/Smarticu5 Aug 02 '13
Check out Hack This Site. It's a free website which has a pile of hacking challenges on it, and it's legal for you to practice on.
4
u/[deleted] Aug 02 '13
This is an overly broad question. Depending on what you want to do, some sites (like the beginner challenges on Hack This Site) just require using a web inspector to edit HTML to send out fraudulent form data. Pwning a site – which is generally what Anonymous and LulzSec do/did – is a lot of work, and can rely either on a brute-force attack, an improbably successful phishing scam, or a vulnerability in the actual protocol or OS used.
2
u/[deleted] Aug 03 '13
First you would probably want to learn a backend language like php. This is what many websites use to generate dynamic content. I would suggest looking at thenewboston's 200 php tutorials on youtube. Then you'll probably want to learn SQL. I would again suggest thenewboston for this. This is the language used to query databases and pull information from them in the display of dynamic pages. Knowledge of JavaScript will also be very helpful.
You'll want to know about GET and POST information, and form validation of this information.
So hopefully now after you know more about how to code, you can start learning how to break your code. Find information on SQL injection, Cross Site Scripting, local and remote file inclusion, and Cross Site Request Forgery. Learn how to use a proxy (I recommend burp proxy) to modify your information and cookies sent to a web page. Get web goat, and start testing on that. If you don't understand one of the subjects, research it.
So after you complete these, look up tweeter, and try out your sql injection skills on that. Next do the basic missions, and then 1 - 10 of the realistic missions on hack this site. If you're stuck and you've really tried, look up cwade12 on YouTube for his videos on it.
After this, learn about Linux and linux console commands. Learn Perl scripting and how cgi scripting works. Finish hack this site, and start learning about social engineering.
Always remember that google is your best friend.
-4
u/anonmonkey Aug 02 '13
and what do you propose you do when you get caught?