Ícone do Lab

Hack the Login

Muito Fácil Atualizado em 31 jan. 2026 Acesso Gratuito Solução Disponível

Inicie a máquina, hackeie o sistema e encontre as flags escondidas para completar este desafio e ganhar pontos!

1
Flags
5
Pontos
56%
Taxa de Sucesso
Comece Seu Desafio

Inicie sua máquina dedicada para começar a hackear

~1-2 min de configuração
Servidor dedicado
Instância privada
Padrão da indústria
Aprender

Find the Code

First: Open the Target URL shown above in a new browser tab.

Every webpage loads resources. Press F12 to open DevTools and look at the HTML source.

Near the bottom of the HTML, find the <script> tag. It loads a JavaScript file - that's your answer.

JavaScript files often contain authentication logic. Finding them is your first step in web security analysis.
Leia a seção Aprender acima ⬆ e responda à pergunta abaixo ⬇
Step 1
Aprender

Read the Authentication Logic

On the Target URL: Press F12, go to Sources tab, click on the .js file.

Look through the JavaScript code for an if statement that checks credentials.

You'll find something like: if (username === "..." - the value in quotes is the expected username.

Hardcoded credentials in client-side code is a critical vulnerability. Anyone can read JavaScript.
Leia a seção Aprender acima ⬆ e responda à pergunta abaixo ⬇
Step 2
Aprender

Extract the Password

Same file: Look at the same if statement you found in the previous step.

The authentication check compares both username AND password. You already found the username.

Look for: && password === "..." - the value after the === is the password.

You now have both credentials. Next step: use them to log in and capture the flag.
Leia a seção Aprender acima ⬆ e responda à pergunta abaixo ⬇
Step 3
Aprender

Capture the Flag

You have the credentials. Time to use them.

  1. Go to the Target URL login form
  2. Enter the username you found in the JavaScript
  3. Enter the password you found in the JavaScript
  4. Click Login
  5. Copy the flag and submit it below
You just completed a client-side authentication bypass - a real vulnerability found in production systems.
Leia a seção Aprender acima ⬆ e responda à pergunta abaixo ⬇
flag.txt
+5 pts

Pronto para hackear este lab?

Crie uma conta gratuita para iniciar seu próprio servidor dedicado, enviar flags e ganhar pontos no ranking.

Começar a Hackear Grátis
Junte-se a 5.000+ hackers aprendendo cibersegurança com labs práticos. Criar Conta