Have you got stuck? Need Help? Join our discord server, ask your doubts & get support from our experts.
We were given a flag checker website where can enter flag and it checks if it is right or wrong
we can see the inside the check() function with the letters it creates two flags and adding them to
, and at last, it compares our input with the first value in the
So just have to find the first element in the flags array
We can either set a breakpoint inside the check() function after the flags are created and you can print it in the console or we can just run the js code up to the creation of the flags in the console and get the flag