Writing a WebShell Trigger Script for Pressed [HackTheBox / UHC]

Опубликовано: 21 Март 2026
на канале: 0xdf
1,254
37

I managed to get a webshell onto Presses, and now I wanted a quick way to trigger it and get just the results. I'll build up a curl command with some bash processing to select the results, and use it to make a quick command line tool.

Full Pressed solution: https://0xdf.gitlab.io/2022/02/03/htb...

[00:00] Introduction
[00:32] Overview of webshell
[01:25] Building up command starting with curl
[01:42] Using awk to select output lines
[03:00] Using head to remove empty trailing lines
[05:00] Moving to a POST request
[05:30] Decocing HTML entities
[07:35] Converting command into shell script