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
  Hack the box Pro Labs, VIP, VIP+ 1 month free Method RedBlock 23 2,189 2 hours ago
Last Post: kkkato
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 20 2,495 Yesterday, 11:06 PM
Last Post: op334
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 3 398 Yesterday, 10:36 PM
Last Post: op334
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 369 92,015 Yesterday, 04:10 PM
Last Post: sabbyahmed
  CBBH Write Ups hiddenhacker 22 6,229 Yesterday, 06:39 AM
Last Post: Usercomplex

Forum Jump:


 Users browsing this forum: 1 Guest(s)