part 1: general web hacking faq

question: what is a shell when it comes to web hacking?
answer: well, basically a shell is a type of .php file needed to be uploaded on a hacked website or a host in order to make it work.
the way is works is not that complex if you wonder. with a shell uploaded to your hacked website or host, you can alter almost anything using it.
while you're using a shell, you will be able to:
delete website directories and upload your deface page
can be used to ddos another website (depends on what type of shell you're using
having a shell with many functions, you can also crack md5 hash, modify another php file, mass mail someone, email bomb an email!
an example of a shell i use is:
question: what does defacing mean and what's a deface page
answerefacing, in most certain cases, means that you wanna upload a specific file of yours,mostly a message to prove the administrator that you hacked the website.
if you think about it, it's relatively similar to a deface page.
a deface page, while hacking a website, is simply a message to convey to the owner of the website that you've owned their security.
most people do this for fun, fame, or other stuff that can satisfy your hacking skills.
if you're a beginner in web hacking, defacing a site will be considered as a big success for you just like me
question:a common difference between a shelled website and a defaced website?
answer:simply answering, a shelled website can be used as hosting for illegal operations, can be used for ddosing and other functions a shell can perform
while a defaced website is simply a type of message, mostly threatening and fun which conveys the owner of the website that their security is low and that you owned them
question:my ip was logged while i was hacking, what should i do now?!
answer:well, first of all, don't ever freak the hell out or piss on your pants! calm down a bit and get your head straight.
now to the point, if your ip has ever been logged, their is a huge chance that you won't get caught. however don't be too happy about it.
try whoising the website and see if this website is an important source to the owner. if it is, you might wanna leave the website forever. what i mean is that, you can just leave the site alone so that the owner won't get too suspicious of what's happening.
now for the most important part, next time use as vpn that never saves logs of your activity on the internet.
examples of vpn:
1. nvpn (paid)
2. proxpn (free)
you can also use proxy to keep yourself anonymous.
an advice from me and all other web hackers out there, no matter what you hack whether it's a bullshit website or a strict government website, always stay behind a vpn or proxy and stay anonymous!
question:what is a hash and what can i do with it?
answer:to get to the point, a hash is basically an encryption. to be specific, a special encryption which requires hash cracking knowledge in order to reveal the plain text
unlike other encryption, a hash can't be decrypted. in other words, to successfully crack a hash, you either might need to use a hash cracking website or an external hash cracking program with an enormous word list.
an example of a website for cracking hashes:

program for cracking:

now there are different types of hashes out there and you can determine what kind of hash it is by studying the number of characters and the types of characters in the code.
to know most of the types of hashes, visit this thread (credits to haxor! )

other types of encryption can be decrypted using ""
question:what is rooting a.k.a rooting rooting a server?
answer:rooting a server in simple words means that you're having a complete remote access to a server (computer).
rooting works on the basis of exploits. most websites are running through linux servers. now what will you gain when you root a server?
easier said than done, you will gain remote control of the websites associated and run by that server.
it's like hacking more than 1 website at a time.
rooting can be done with linux and windows and is really a hard method of web hacking when you're a newb to it.
you can search millions of tutorials out there about rooting, but you might wanna start from the basics first smile
question: is there any tool that can help me ease my web hacking activity while i hack websites?
answer:first of all, never use tools that will do the job for you i.e hack everything for you! you don't wanna get your ass stuck while you watch a program hack websites for you and you don't learn anything nono
now, there are many useful tools out there that can help you speed up your activity when you start hacking websites. these tools are mostly add-on installed in a browser called firefox (which is really a good famous browser for hacking)
you can use some of the following:
1. hackbar add-on for firefox:
has a built in automatic column-number posting when you use union select in sql injection
tools you need when you xss
built-in text to hex and hext to text
a big space for customizing your queries
2. cookies manager:
a very efficient tool for adding/deleting/modifying cookies
organized layout and a friendly gui
3. live http headers:
manage all the activities your browser performs i.e record the activities your browser is performing live
a very useful tool for uploading shells on a hacked site (used for renaming your shell.php.jpg to shell.php
replay the activity on your browser while you alter your cookies to make changes
4. tamper data:
mostly used in lfi (local file inclusion)
instantly records the connections being made in your browser from the websites opened
question: i'm very new to web hacking, i'm confused, where can i start?
answer: you can start from the very basics to the advanced, but never be in a hurry when you're just starting.
here's what you can study first:
1. html coding
2. php
3. javascript
4. cookies
don't work hard on mastering all of them though, just learn the basics and try to get the hang of it.
once you've got an idea about those four, methods of web hacking are what you're searching for now.
many methods can be learned and used and some of them are listed below from the easiest to an intermediate level.
1. sql injection
2. xss
3. lfi/rfi

i recommend you to start from the basics of sql injection. then you can progress to further advanced methods of web hacking (more about those methods below)
question: what are the types of web hacking methods?
answer: some of the types are explained below

1. sql injection: queries entered in order to extract information from the database of the website
error based sql injection
union based sql injection
time based sql injection
blind sql injection
string based sql injection
there's also something called waf bypassing where you bypass the firewalls installed on the website. this can lead to combinations of sql injection if you think about it. examples are like
string based waf bypassing sql injection
string-error based waf bypassing sql injection
waf bypassing double query sql injection

2. xss (cross site scripting): execute scripts to perform functions required to hack a website
persistent - can be used for cookie stealing
non-persistent- can be used as an html injection, commonly used for website vulnerabity proofs

3. lfi (local file inclusion): directory exploits used to upload files into the website(example: shells)
log poisoning
malicious image upload

this is all what i can cover for now. but i'll be making tutorials on web hacking soon smile
question: what should we do before we start to attempt web hacking?
answer: you might need to do the following when you start hacking websites.

1. proxy/ vpn (virtual private network)
always stay behind a proxy or a vpn no matter how useless or precious the site you're attempting to hacking could be.
proxies can be obtained from here

and a vpn you can use is:

note: when using a vpn, always use one that doesn't store logs and it's really a serious matter.
hack from another wireless network if possible

2. expose prevention
never attempt to share your web hacking activity anywhere or anyone unless you trust that person so that you both can discuss and learn together.
some stranger might report you or blackmail you and that would really suck
question: what should i do after i'm done with hacking the website?
answer: you don't wanna get caught or reported or trace. here are some tips.

1. logs in the admin panel's website
after you're done with everything i.e defacing/shelling, make sure to erase the logs created in the panel. their is a possibility your ip could be stored in one of their directories

2. erase your tracks
make sure to delete everything done on your browser i.e cookies, logs, logins etc
you can do this using ccleaner

3. pride of success
don't be too proud sharing what you have just done, some people are really not trust-worthy and could open up a report anytime.
be happy of what you've done and share to ones you have trust on.

moreover, stay stealthy at anytime