TryHackMe: Neighbour

TryHackMe: Neighbour


TryHackMe Neighbour by cmnatic

Check out our new cloud service, Authentication Anywhere -- log in from anywhere you would like! Users can enter their username and password, for a totally secure login process! You definitely wouldn't be able to find any secrets that other people have in their profile, right?

Access this challenge by deploying both the vulnerable machine by pressing the green "Start Machine" button located within this task, and the TryHackMe AttackBox by pressing the "Start AttackBox" button located at the top-right of the page.

Navigate to the following URL using the AttackBox: http://MACHINE_IP

Check out similar content on TryHackMe: IDOR

Let's Go!

Lets jump across to the webpage

Let's open up CTRL+U and look at the source

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <link rel="stylesheet" href="">
        body{ font: 14px sans-serif; }
        .wrapper{ width: 360px; padding: 20px; margin: 0 auto; }
    <div class="wrapper">
        <p>Please fill in your credentials to login.</p>

        <form action="/index.php" method="post">
            <div class="form-group">
                <input type="text" name="username" class="form-control " value="">
                <span class="invalid-feedback"></span>
            <div class="form-group">
                <input type="password" name="password" class="form-control ">
                <span class="invalid-feedback"></span>
            <div class="form-group">
                <input type="submit" class="btn btn-primary" value="Login">
            <p>Don't have an account? Use the guest account! (<code>Ctrl+U</code>)</p>
            <!-- use [redacted]:[redacted]credentials until registration is fixed. "[redacted]" user account is off limits!!!!! -->

Let's use the username/password to log in

Ok, looking at the URL we have ?user=guest, let's try changing this to something else like.... [redacted]....

Sweet, we have the flag!!!!

Show Comments