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
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 365 113,281 Yesterday, 07:30 PM
Last Post: N1GHTC0D3
  HTB Eloquia User and Root Flags - Insane Box 69646B 14 17,572 08-21-2026, 07:27 PM
Last Post: tangol
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 94 26,187 08-21-2026, 06:20 AM
Last Post: jamoski
  [FREE] HTB-ProLabs APTLABS Just Flags kewlsunny 25 19,463 08-15-2026, 06:06 PM
Last Post: m4573rx
  HTB - ALL Challenges you Stuck in osamy7593 3 17,618 08-15-2026, 01:58 AM
Last Post: 0xIDA



 Users browsing this thread: 1 Guest(s)