> For the complete documentation index, see [llms.txt](https://kunalwalavalkar.gitbook.io/write-ups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kunalwalavalkar.gitbook.io/write-ups/picoctf/web-exploitation/insp3ct0r.md).

# Insp3ct0r

> Kishor Balan tipped us off that the following code may need inspection: `https://jupiter.challenges.picoctf.org/problem/9670/` ([link](https://jupiter.challenges.picoctf.org/problem/9670/)) or <http://jupiter.challenges.picoctf.org:9670>

{% hint style="info" %}

1. How do you inspect web code on a browser?
2. There's 3 parts
   {% endhint %}

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2FjCYJrAcQBt4gJGvwUF0p%2F1.png?alt=media&amp;token=79cd6bb2-e7f1-448e-b137-9f04deaefdbb" alt=""><figcaption></figcaption></figure>

Let's check the Page source code.

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2FnJojIZ6c2lFlwgqyq9Nq%2F2.png?alt=media&amp;token=9f6e3bbd-6c36-4a27-812f-7ad131f1dc87" alt=""><figcaption></figcaption></figure>

The first part of the flag is `picoCTF{tru3_d3`.

We can see that there are two more files namely `mycss.css` and `myjs.js`. We can click on the link to be redirected to that page.

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2F1GWWaoCSLS0u8ZsGhrwU%2F3.png?alt=media&amp;token=80cdc34e-8bda-4469-94c7-c5d15b51e1cc" alt=""><figcaption></figcaption></figure>

* So the `mycss.css` file has the second part. which is `t3ct1ve_0r_ju5t`.
* Lets check the Javascript file next.

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2F7a8EyMUWhyDCabFXtLLv%2F4.png?alt=media&amp;token=e92cbf93-73d0-4b08-898e-659bc0b66496" alt=""><figcaption></figcaption></figure>

Now we have the third and final part of the flag which is `_lucky?2e7b23e3}`.

After joining all the three parts we get the full flag.

## Flag

```
picoCTF{tru3_d3t3ct1ve_0r_ju5t_lucky?2e7b23e3}
```
