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
Смотрите видео Writing a WebShell Trigger Script for Pressed [HackTheBox / UHC] онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь 0xdf 03 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,073 раз и оно понравилось 37 людям.