Skip to content

Instantly share code, notes, and snippets.

@FNGarvin
Created November 30, 2024 14:34
Show Gist options
  • Save FNGarvin/9a66264693783c7350b69a9d7e4a134d to your computer and use it in GitHub Desktop.
Save FNGarvin/9a66264693783c7350b69a9d7e4a134d to your computer and use it in GitHub Desktop.
IntroToBurp CTF Without BurpSuite.

IntroToBurp CTF Without BurpSuite

I've been having fun with these puzzles, but I don't appreciate being asked to download paid software from organizations I do not know or trust. Fortunately, this CTF can be easily completed with integrated browser features alone. Here, I'll document my step-by-step process - first in Firefox and then in Chrome.

First, start the instance and open the provided link.image

Fill the form with whatever you please and submit it.image

Bring up the developer tools by right-clicking anywhere and choosing "Inspect".image

Submit anything you like as your one-time-password (OTP). image

Right-click the newly-logged post request and select "Edit and Resend". image

In the body of the payload, remove everything before clicking "send".

Click the ammended post request and there's your flag. image

In Chrome / curl

Chrome also allows something akin to edit and resend, but I find it cumbersome to use and would go a different route. I would, instead, find the post request the same way we do in Firefox, right-click on it, and choose to "Copy as cURL (bash)". image

You can paste the sprawling command into a text editor to review and modify it. image

To solve this challenge, we need to delete the text in the --data-raw argument and execute it in a bash shell. Here's what that looks like using the PicoCTF Webshell: image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment