HTB Misc - Man In the Middle
by macavitysworld - Tuesday March 26, 2024 at 05:46 AM
#1
HTB Misc Challenge - Man In The Middle

  1. Open the file using Wireshark:
    • Click: Files > Export packet > JSON
  2. Find the useful data:
    • Open the JSON file and locate the "payload" for each packet.
    • Identify that the payload contains keyboard codes.
  3. Get the flag:
    • Create a script to translate payload into keyboard keys.
    • Run the script to decode the keyboard codes and extract the flag.



Solve.py

Hidden Content
You must register or login to view this content.


Flag

Hidden Content
You must register or login to view this content.
Reply
#2
thx dude for sharing
Reply
#3
(03-26-2024, 05:46 AM)macavitysworld Wrote: HTB Misc Challenge - Man In The Middle

  1. Open the file using Wireshark:
    • Click: Files > Export packet > JSON
  2. Find the useful data:
    • Open the JSON file and locate the "payload" for each packet.
    • Identify that the payload contains keyboard codes.
  3. Get the flag:
    • Create a script to translate payload into keyboard keys.
    • Run the script to decode the keyboard codes and extract the flag.



Solve.py

thanks thanks thanks
Reply
#4
thx dude for sharing
Ban reason: Leeching. (Permanent)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 106 42,235 10-31-2026, 07:33 PM
Last Post: aistax
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 383 138,755 10-31-2026, 11:47 AM
Last Post: thaytoiyeucoay30nam
  HTB PWN- Oxidized ROP macavitysworld 4 1,042 10-29-2026, 01:01 PM
Last Post: A1Raid3r
  HTB - code + titanic walkthrough | free tony_boom23 3 7,259 10-25-2026, 06:35 AM
Last Post: A1Raid3r
  HTB apt lab note zapot 14 35,532 10-03-2026, 08:09 PM
Last Post: whuuaa



 Users browsing this thread: 1 Guest(s)