How to hack a website with HTML: 9 steps (with pictures)

How to hack a website with HTML: 9 steps (with pictures)
How to hack a website with HTML: 9 steps (with pictures)
Anonim

Although it is possible to access the source code of a website using a browser, it is unlikely that you can find administrator passwords, or login credentials, in the code. HTML itself. If this is the case, it is probably due to the fact that the website is still in the early stages of its development.

Steps

Hack a Website with Basic HTML Coding Step 1

Step 1. Know the limits

You have to keep in mind that this method will not work with most websites. Unless the site has the most rudimentary HTML protection, passwords and login information should be encrypted, making it impossible to access by just looking at the site's HTML code.

Hack a Website with Basic HTML Coding Step 2

Step 2. Open the website

Using a browser, such as Chrome, Firefox, or Safari, go to the site you are trying to hack.

Hack a Website with Basic HTML Coding Step 3

Step 3. Open the login page

If the site has a login page, click on the link To log in Where Register to get there.

If the site directly displays a login screen or if the login interface is present on the home page, you can skip this step

Hack a Website with Basic HTML Coding Step 4

Step 4. View the source code

The procedure differs between browsers, but the easiest way to access a site's HTML code is to simultaneously press Ctrl + U (on Windows) or ⌘ Command + U (on Mac). This will display the site's source code in a new tab.

  • If you are using Microsoft Edge, you will need to click on the tab Elements in the menu that will appear, in order to be able to see the HTML code of the page.
Hack a Website with Basic HTML Coding Step 5

Step 5. Start a search

In the tab Source code, press Ctrl + F (on Windows) or ⌘ Command + F (on Mac), to display the search bar in the upper right corner of the window.

Hack a Website with Basic HTML Coding Step 6

Step 6. Find the information

Now you need to find the connection information. Type password in the search box, then scroll down to find the highlighted results. If you can't find anything, shorten your search by typing just pass and repeat the process. Do the same with user, name, login and other keywords that could be attached to login information.

  • If you are trying to hack the website using administrator access, the username might be something like admin Where root.
Hack a Website with Basic HTML Coding Step 7

Step 7. Vary the combinations

Try entering different combinations of usernames and passwords. You may not find anything in the HTML code, if so try a new search on random terms.

  • Start by closing the tab source code.
  • Then, enter a random combination of letters in the username (or email address) and password fields.
  • Click on the button To log in.
  • Open the source code page again by pressing Ctrl + U or ⌘ Command + U.
Hack a Website with Basic HTML Coding Step 8

Step 8. Perform a new search

Once you have viewed the source code to see the result of the failed connection, you can again use the search bar to search for keywords related to the connection information.

Hack a Website with Basic HTML Coding Step 9

Step 9. Record the connection information

If you are able to retrieve what might look like a username or password in the HTML code, try using them in the login form. If it works, then you have successfully found the site login information.

Again, the chances of finding login information in the HTML code of a site are extremely rare

Advice

  • If you want to practice hacking an HTML site, the site Hack This Site will give you several examples. They range from basic hacking to more advanced techniques. You will need to create an account on the site before you can participate in the hacking contest offered by Hack This Site.
  • Learning HTML will give you a little advantage when browsing the site's source code.
  • Login forms are just one of the many ways available to you. Try to look for forms, comment boxes, or anything that allows you to enter text. So you can enter HMTL, CSS or JS. Either way, don't get into hacking, this is just an example.

Popular by topic