logon
Point: 100
Category
Web Exploitation
Question
The factory is hiding things from all of its users. Can you login as logon and find what they've been looking at? https://2019shell1.picoctf.com/problem/12284/ (link) or http://2019shell1.picoctf.com:12284
Hint
Hmm it doesn't seem to check anyone's password, except for 's?
Solution
After login, We'll check source code but nothing to get.
We decided to check cookie of this website using EditThisCookie extension on Google Chrome. We'll see a username: admin with value: False.

Try to change value to True then open source code again, we've got the flag
<!DOCTYPE html>
<html lang="en">
<head>
<title>Factory Login</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="https://getbootstrap.com/docs/3.3/examples/jumbotron-narrow/jumbotron-narrow.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<div class="header">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="/">Home</a>
</li>
<li role="presentation"><a href="/logout" class="btn btn-link pull-right">Sign Out</a>
</li>
</ul>
</nav>
<h3 class="text-muted">Factory Login</h3>
</div>
<div class="jumbotron">
<p class="lead"></p>
<p style="text-align:center; font-size:30px;"><b>Flag</b>: <code>picoCTF{th3_c0nsp1r4cy_l1v3s_6f2c20e9}</code></p>
</div>
<footer class="footer">
<p>© PicoCTF 2019</p>
</footer>
</div>
</body>
</html>
Flag
picoCTF{th3_c0nsp1r4cy_l1v3s_6f2c20e9}
Last updated