John Carroll
Exploitation

Files, Folders & Fun (revisited)

Playing with folder resolution to build a better pretext

1 min read John Carroll

Visual ? skip to the bottom to find the YouTube video, then come back and skim (recommendation)

What happens when you hit the root of a web-server ?

Well, you land on the / (root) and you should get index.htmhtmlphpaspx, etc … when actually / is a directory … so that’s it, let’s play with that folder resolve principle

The playground here is creating a folder name that looks like a file name then creating a URL and QR code to support it

catpictures.com/cutekitty.jpeg is actually cat pictures.com/cutekitty.jpeg/index.html ... and that index.html is pushing a file onto your computer

From the top, the Filename in field one is what name of your payload as your victim downloads it, so if you have your x64_payload.docx ready to upload you might want to put CV.docx in this field

the Pseudo-Folder Name is what the victim will interpret as a file name coolcat.jpg, embarrassing_movie.mp4, what you put here should 'feel safe' to open with regards to viewing in a browser and the perception of no material impact on the device (as apposed to a config.mobileconfig)

Device Options are for what we're expecting, this is a little scruffy, but it's user agent based, if you're targeting a specific device, select it.

Upload is upload

0:00
/0:55

once this is uploaded, you will be redirected to a hugely unsettled page where you'll be given your URL and a QR of your opportunity to push your uploaded file on a unsuspecting target assuming that they are viewing a image, video, whatever

janky PoC

That's it, have at it, enjoy, observe, dismiss :)

CVE-2026-34910
Post

CVE-2026-34910

A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS devices to execute a Command Injection. https://github.com/gadievron/raptor

26 May 2026 · 1 min read
Synology DSM 7.3.2
Post

Synology DSM 7.3.2

Chaining three issues to gain root from a low privileged user.

25 Jan 2026 · 4 min read
CVE-2025-37186 HP
Post

CVE-2025-37186 HP

The HP Aruba VIA VPN client for Linux contains a local privilege escalation vulnerability that allows any unprivileged local user to gain root access. - CVE-2025-37186 - Another Scalp for Raptor

26 Dec 2025 · 4 min read