Whats illegal and what isn’t?
A lot of people say that when it comes to the web anything and everything is free. If you put it on the web your putting your self at risk to have it get stolen.
A lot of “Hacking” is really just exploiting bugs in applications. If we were to define hacking as “Gaining access to/altering information in a way it was not intended to be accessed or with out permission” a lot of things start to be considered hacking. The most common way to “Hack” into a website is to exploit poor programming with Sql Injections. Doing so can grant you access to a lot of information.
Let say, for example John has a website, where he uses some simple php to protect a section of his site with a simple username and password. The usernames and passwords are stored in a file publicly available called passwords.txt (Above the root of his web server, but not link to by anything). Its very simple to gain access to this sensitive information, all its really takes is calling up a file in your web browsers. Is this considered hacking? Using the definition I stated above, this would be hacking because your gaining access to information with out permission.
John figures out that this isn’t a very safe way to protect his site so he does some research and learns about storing information in a database. He updates his website so it now goes to a database to check for the username and passwords.
John makes two big mistakes here. First he doesn’t check to see if the user exists, so a NULL username with a NULL password will return true in his programing (This is an exploit), also he doesn’t take into consideration sql injections.
The bad programing allows a user to easily login to his site without “permission” although his website clearly granted the user access. The sql injection opens a gateway into his database, allowing a knowledgeable user access to all his information, much like with the publicly store passwords file in his first website.
Now, the first scenario most people wouldn’t call that “Hacking” just because the information is publicly available because you can easily see it in your browser. If that argument is made, I can state that in the second scenario the information is also publicly displayed in my browser, it just takes a little knowledge, much like knowing about the password file in the first scenario.
So when it comes to hacking, cracking and exploding, whats illegal and what isn’t? You can say that both scenarios are hacking if you gain access to the information, but are both illegal?