boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

Modifying HTTP Request Method

A walkthrough of a file inclusion challenge where switching the request method, tampering a cookie, and a nullbyte each defeat a different filter. The goal of each stage is a flag under /etc.

To change the HTTP request method in Burp Suite, double click the type (GET or whatever is listed), right click, and select this:

Challenge Walkthrough

Capture Flag1 at /etc/flag1

We need to get this executed: ../../../../etc/flag1, but they want us to use POST instead of GET. GET is normally used to retrieve files from a server.

Once this is done, click Forward and you will receive the flag1 file.

FYI: check this awesome page out https://security.szurek.pl/en/burp-12-tricks-for-burp-repeater/

2. Capture Flag2 at /etc/flag2

Let's tamper the cookie.

Challenge 4 — Gain RCE in Lab #Playground /playground.php with RFI to execute the hostname command. What is the output?

Start a Python server to host the file you want to include.

In the same directory the server is running, create a PHP file to include (in this case named host.txt):

<?php print exec('hostname'); ?>

Check your IP (I know the THM box shows it, but let's do it comprehensively).

Everything is set, now let's exploit the server. We need to provide the link to our file here, so after = there should be a link to the server.

From this:

To this — do not forget about the port number.

Success.

That is the end of our journey with File Inclusion.