Insp3ct0r Solution
This is the solution for picoCTF's Insp3ct0r web exploitation problem.
This problem was taken from the picoCTF 2021 and the solution will be discussed below. So proceed with caution.
This one is fairly straightforward.
Opening the link we are redirected to a website showing the following:
Investigating the site we naturally look at the source code. Right click the page and left click View Page Source in the browser.
Here we find out that the html part has the first part of the flag. Flag 1/3: picoCTF{tru3_d3
Looking at the How tab of the website it mentions that it used html, css, js to create the site.
We have seen the html part. Now let's look at the css part. Just open the mycss.css
and myjs.js
link in the source page we have opened before.
The second part of the flag can be found at mycss.css
. Flag 2/3: t3ct1ve_0r_ju5t
The last part of the flag can be found at myjs.js
. Flag 3/3: _lucky?f10be399}
Combining all the parts we get the full flag.
Flag: picoCTF{tru3_d3t3ct1ve_0r_ju5t_lucky?f10be399}
Until next time. Keep learning.
Stay stoked and code. :)
I hope you can voluntarily Buy Me A Coffee if you found this article useful and give additional support for me to continue sharing more content for the community. :)
Thank you very much. :)