HTB Yummy Linux
by Computerlab - Saturday October 5, 2024 at 04:27 PM
#11
Okay so we know a Caddy web server is being ran, we can get the caddyfile from /etc/caddy/Caddyfile. We just need to find a config file that would leak more info to get credentials or something.
Reply
#12
:80 {
@ip {
header_regexp Host ^(\d{1,3}\.){3}\d{1,3}$
}
redir @ip http://yummy.htb{uri}
reverse_proxy 127.0.0.1:3000 {
header_down -Server
}
}

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching | http://c66go4clkqodr7tdjfu76jztjs7w7d3fajdeypxn73v4ju3dt7g5yyyd.onion/Forum-Ban-Appeals if you feel this is incorrect.
Reply
#13
(Oct 05, 2024, 08:33 PM)hackemall Wrote: :80 {
    @ip {
        header_regexp Host ^(\d{1,3}\.){3}\d{1,3}$
    }
    redir @ip http://yummy.htb{uri}
    reverse_proxy 127.0.0.1:3000 {
    header_down -Server 
    }
}
Yes, this is the /etc/caddy/Caddyfile.

You can also get PIDs by fuzzing /proc/, etc.
Reply
#14
Honestly it might come down to enumerating PIDs /proc/<pid>/cmdline one by one but since you have to manually intercept the request to test a file, it's such a hassle.
Reply
#15
i think something wrong with this machine it keeps droping on me

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching | http://c66go4clkqodr7tdjfu76jztjs7w7d3fajdeypxn73v4ju3dt7g5yyyd.onion/Forum-Ban-Appeals if you feel this is incorrect.
Reply
#16
can't even display a dashboard with the table I booked
- reseted the machine
- registered another user
- cleared firefox cache, data and passwords
- created multiple table booking

nothing, does somebody else has the same issue ?
Reply
#17
(Oct 05, 2024, 08:40 PM)celsius Wrote: can't even display a dashboard with the table I booked
- reseted the machine
- registered another user
- cleared firefox cache, data and passwords
- created multiple table booking

nothing, does somebody else has the same issue ?

yes there is some issses i think same m facing
Reply
#18
(Oct 05, 2024, 08:40 PM)celsius Wrote: can't even display a dashboard with the table I booked
- reseted the machine
- registered another user
- cleared firefox cache, data and passwords
- created multiple table booking

nothing, does somebody else has the same issue ?

machine is very very laggy, this is not even fun.
Reply
#19
no one got first blood something is wrong for sure

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching | http://c66go4clkqodr7tdjfu76jztjs7w7d3fajdeypxn73v4ju3dt7g5yyyd.onion/Forum-Ban-Appeals if you feel this is incorrect.
Reply
#20
Hint : Explore /etc/crontab

/export/../../../../../../var/www/backupapp.zip

Quote:/export/../../../../../..///data/scripts/table_cleanup.sh

db_config = {
    'host': '127.0.0.1',
    'user': 'chef',
    'password': '3wDo7gSRZIwIHRxZ!',
    'database': 'yummy_db',
    'cursorclass': pymysql.cursors.DictCursor,
    'client_flag': CLIENT.MULTI_STATEMENTS

}
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 367 90,984 10 hours ago
Last Post: Anon141234
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 85 7,699 Today, 05:35 AM
Last Post: Fr1Rtx23
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 1 285 Today, 05:34 AM
Last Post: Fr1Rtx23
  rev_dudidudida cavour13 1 238 Today, 12:25 AM
Last Post: 0xcreep
  [FREE] HTB HackTheBox CPTS CBBH CDSA CWEE exam preparation guide and hints Tamarisk 5 1,853 Yesterday, 08:42 PM
Last Post: Tamarisk

Forum Jump:


 Users browsing this forum: 1 Guest(s)