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 96 28,639 Yesterday, 06:45 PM
Last Post: horz
  HTB LAB MACHINE[Overflow][HARD] User & Root flags t1g35h4rk 0 306 09-05-2026, 07:08 PM
Last Post: t1g35h4rk
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 369 117,006 09-05-2026, 10:59 AM
Last Post: dsscdsee
  HTB Academy - Active Directory Penetration Tester Path 2024 loganpaul09 19 11,567 09-01-2026, 06:25 AM
Last Post: adolfoL
  HTB Eloquia User and Root Flags - Insane Box 69646B 14 19,597 08-21-2026, 07:27 PM
Last Post: tangol



 Users browsing this thread: 1 Guest(s)