Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.08 KB

Under Inspection.md

File metadata and controls

25 lines (23 loc) · 1.08 KB

MetaCTF 2021

Under Inspection (100pts)

Description:

Someone made this site for the Autobots to chat with each other. Seems like the Decepticons have found the site too and made accounts. One of the Autobot accounts has a flag that they're trying to keep hidden from the Decepticons, can you figure out which account it is and steal it?

View-source:

Leta check the source file which is done by adding prefix view-source: of the url :)

var username = document.getElementById("username").value;
var password = document.getElementById("password").value;
var result = document.getElementById("result");
var accounts = [
  {user: "Admin", pwd: "MetaCTF{super_secure_password}"},
  {user: "Bumblebee", pwd: "MetaCTF{sting_like_a_bee}"},
  {user: "Starscream", pwd: "MetaCTF{the_best_leader_of_the_decepticons}"},
  {user: "Jazz", pwd: "MetaCTF{do_it_with_style_or_dont_do_it_at_all}"},
  {user: "Megatron", pwd: "MetaCTF{peace_through_tyranny}"},
];

Flag:

MetaCTF{do_it_with_style_or_dont_do_it_at_all}