HTB -- Clicker
by XAPTAIN - Sunday September 24, 2023 at 05:52 AM
#1
I now have a www-data web-shell, how should I read the id_rsa using the binary execute_query? id_rsa?
#2
Do I need to get the admin role to get www-data?
#3
(09-24-2023, 05:52 AM)XAPTAIN Wrote: I now have a www-data web-shell, how should I read the id_rsa using the binary execute_query? id_rsa?

how did you get the shell bro?
#4
The source code is interesting. Anyone else get the zip file?
#5
“瘟疫” 日期线='1695537918' Wrote:
(09-24-2023, 05:52 AM)“XAPTAIN” Wrote: 我现在有一个www-data web-shell,我应该如何使用二进制execute_query读取id_rsa?id_rsa?
[/引用]

你是怎么得到壳牌兄弟的?
[/引用]

是的,您必须让管理员获取 www-data

[quote="plague" pid='162611' dateline='1695537918']
[quote="XAPTAIN" pid='162572' dateline='1695534747']
I now have a www-data web-shell, how should I read the id_rsa using the binary execute_query? id_rsa?

how did you get the shell bro?

GET /save_game.php?clicks=999&level=99&role/**/=Admin
#6
(09-24-2023, 11:15 AM)XAPTAIN Wrote:
“瘟疫” 日期线='1695537918' Wrote:
(09-24-2023, 05:52 AM)“XAPTAIN” Wrote: 我现在有一个www-data web-shell,我应该如何使用二进制execute_query读取id_rsa?id_rsa?
[/引用]

你是怎么得到壳牌兄弟的?
[/引用]

是的,您必须让管理员获取 www-data

[quote="plague" pid='162611' dateline='1695537918']
[quote="XAPTAIN" pid='162572' dateline='1695534747']
I now have a www-data web-shell, how should I read the id_rsa using the binary execute_query? id_rsa?

how did you get the shell bro?

GET /save_game.php?clicks=999&level=99&role/**/=Admin
rooted Big Grin
#7
(09-24-2023, 08:43 PM)huALEBHmpqAw3hGCsPWY Wrote: possible sqli locations in db_utils, but couldnt trigger any?

* function get_top_players via $number (via $threshold in export.php, possible 0x value?)
$stmt = $pdo->query("SELECT nickname,clicks,level FROM players WHERE clicks >= " . $number);

* function save_profile via $setStr via values in quote
  $stmt = $pdo->prepare("UPDATE players SET $setStr WHERE username = :player");

or is this wrong path?

*edit*
nvm - was wrong path. php webshell

how did you get the webshell ?
#8
Hi,I want to know how to mount the /mnt/backups/? I use "mount -t nfs -o vers=4 10.10.11.232:/mnt/backups/ ~/",but  return error "Operation not permitted". Huh
#9
(09-25-2023, 02:58 AM)hackfxy Wrote: Hi,I want to know how to mount the /mnt/backups/? I use "mount -t nfs -o vers=4 10.10.11.232:/mnt/backups/ ~/",but  return error "Operation not permitted". Huh

create backups in /mnt (sudo mkdir/mnt/backups) and try: sudo mount -t nfs -o vers=4 10.10.11.232:/mnt/backups/ /mnt/backups
#10
(09-25-2023, 09:45 AM)kayiz113987 Wrote: How i can get jack shell with decompile excute-query file ?

This executable read sql scripts from a custom directory but you don't have permissions on it.

You should try with more arguments (;


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 106 42,238 10-31-2026, 07:33 PM
Last Post: aistax
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 383 138,758 10-31-2026, 11:47 AM
Last Post: thaytoiyeucoay30nam
  HTB PWN- Oxidized ROP macavitysworld 4 1,045 10-29-2026, 01:01 PM
Last Post: A1Raid3r
  HTB - code + titanic walkthrough | free tony_boom23 3 7,263 10-25-2026, 06:35 AM
Last Post: A1Raid3r
  HTB apt lab note zapot 14 35,535 10-03-2026, 08:09 PM
Last Post: whuuaa



 Users browsing this thread: 3 Guest(s)