How to Hack a Website with Basic HTML Coding

Sageer SGR
0
  1. 1
    Understand that this method won't work for most websites. Unless the website has been created using incredibly rudimentary HTML protection, passwords and login information will be stored in encrypted formats which aren't accessible by looking at the website's HTML.
  2. 2
    Open the website. In a web browser such as Chrome, Firefox, or Safari, go to the website that you want to attempt to hack.
  3. 3
    Go to the "Login" section. If the website has a dedicated login section, click the Log In or Sign In link to go to it.
    • If your website loads to a login screen (or if the login section is on the home page), you can skip this step.
  4. 4
    Open the website's source code. Each browser has a different way of doing this from the menu, but the easiest way to view your website's HTML code is by pressing either Ctrl+U (Windows) or  Command+U (Mac). This will open a new tab with the website's source code displayed.
    • If you're using Microsoft Edge, you'll have to click the Elements tab in the pop-out menu that appears in order to view the page HTML.
  5. 5
    Open the "Search" feature. On the source code tab, press either Ctrl+F(Windows) or  Command+F (Mac) to prompt a search bar to appear in the top-right corner of the window.
  6. 6
    Search for the login information. Type password into the search box, then scroll through the highlighted results. If you don't see any results, shorten the search to pass and repeat, then do the same with userusernamelogin, and other keywords which may describe login information.
    • If you're attempting to hack the website by logging in under the website's administrator credentials, the username may be something like "admin" or "root".
  7. 7
    Try entering an incorrect username and password combination. If you've combed through the HTML with no adequate search results, do the following:
    • Close the source tab.
    • Type in random letters for the username (or email address) and password fields.
    • Click the Log In button.
    • Re-open the source page by pressing Ctrl+U or  Command+U.
  8. 8
    Resume looking for login credentials.Once you've updated the source code to reflect what's on the failed login attempt page, you can resume using the search bar to look for keywords pertaining to the login information.
  9. 9
    Enter any found login credentials on the site. If you were able to retrieve some form of username and password from the website's HTML, try using the credentials in the website's login section. If they work, you've found the correct credentials.
    • Again, the chances of anything you found in the HTML working as a successful login are extremely low.

Post a Comment

0Comments

Post a Comment (0)