HTB - Fishy HTTP (Forensics)
by paven - Friday May 24, 2024 at 02:24 PM
#1
Fishy HTTP - Forensics - Easy

Good luck everyone! Let's tackle this together!
https://app.hackthebox.com/challenges/fishy-http
Reply
#2
Use dotpeek, and the rest is super easy
Reply
#3
(06-05-2024, 04:51 PM)nikolagorbachev1337 Wrote:
(05-27-2024, 08:39 AM)Blackoofconsequently Wrote: Use dotpeek, and the rest is super easy

Can you give me a nudge?

For the first part of the flag there is clean mapping seen in MyProject assembly

    private static Dictionary<string, string> tagHex = new Dictionary<string, string> 
    { 
        { "cite", "0" }, 
        { "h1", "1" }, 
        { "p", "2" }, 
        { "a", "3" }, 
        { "img", "4" }, 
        { "ul", "5" }, 
        { "ol", "6" }, 
        { "button", "7" }, 
        { "div", "8" }, 
        { "span", "9" }, 
        { "label", "a" }, 
        { "textarea", "b" }, 
        { "nav", "c" }, 
        { "b", "d" }, 
        { "i", "e" }, 
        { "blockquote", "f" } 
    };  

it is just simple decoding of html tags to hex and hex to bytes.

For the second part of the flag:
The feedback content is split into individual words using the `split()` method.
Each word is examined to determine its corresponding character in the Base64 encoding scheme.
The mapping is based on the first character of each word
If a word starts with a non-alphabetic character or a number, that character is directly added to the reconstructed string.
For words that are not found in the provided word list, the first character of the word is copied as is.
Reply
#4
i recovered first part of the flag without any issue, but somehow stuck on the second part.... i got some undecipherable mess. trying to play around...
Reply
#5
did you solve it?
Reply
#6
(06-05-2024, 06:05 PM)pwns4k3 Wrote:
(06-05-2024, 04:51 PM)nikolagorbachev1337 Wrote:
(05-27-2024, 08:39 AM)Blackoofconsequently Wrote: Use dotpeek, and the rest is super easy

Can you give me a nudge?

For the first part of the flag there is clean mapping seen in MyProject assembly

    private static Dictionary<string, string> tagHex = new Dictionary<string, string> 
    { 
        { "cite", "0" }, 
        { "h1", "1" }, 
        { "p", "2" }, 
        { "a", "3" }, 
        { "img", "4" }, 
        { "ul", "5" }, 
        { "ol", "6" }, 
        { "button", "7" }, 
        { "div", "8" }, 
        { "span", "9" }, 
        { "label", "a" }, 
        { "textarea", "b" }, 
        { "nav", "c" }, 
        { "b", "d" }, 
        { "i", "e" }, 
        { "blockquote", "f" } 
    };  

it is just simple decoding of html tags to hex and hex to bytes.

For the second part of the flag:
The feedback content is split into individual words using the `split()` method.
Each word is examined to determine its corresponding character in the Base64 encoding scheme.
The mapping is based on the first character of each word
If a word starts with a non-alphabetic character or a number, that character is directly added to the reconstructed string.
For words that are not found in the provided word list, the first character of the word is copied as is.

Could you please explain more the part around the second part of the flag? I did not quite manage to understand it.
Ban reason: Leeching | http://raiddfzn73ir6iyxlf7nwytnujiflddog...an-Appeals if you feel this is incorrect. (Permanent)
Reply
#7
(06-07-2024, 08:03 PM)mazafaka555 Wrote: i recovered first part of the flag without any issue, but somehow stuck on the second part.... i got some undecipherable mess. trying to play around...

Did you solve it? Im still having issues...
Reply
#8
any writes up available on this issue !
Ban reason: Reposting hidden content for free (Permanent)
Reply
#9
Looking for a writeup on this!
Reply
#10
what? i recovered first part of the flag without any issue. in the second i am getting only messy stuff
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)