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 360 88,710 03-28-2026, 09:28 AM
Last Post: catsweet
  [FREE] HTB-ProLabs APTLABS Just Flags kewlsunny 23 2,348 03-28-2026, 03:30 AM
Last Post: lulaladrow
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 87 7,490 03-27-2026, 07:22 PM
Last Post: stn
  HTB Eloquia User and Root Flags - Insane Box 69646B 13 350 03-27-2026, 06:14 PM
Last Post: vlxw
  HTB - ALL Challenges you Stuck in osamy7593 2 646 03-27-2026, 04:24 PM
Last Post: catsweet



 Users browsing this thread: 1 Guest(s)