text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
o no bcrypt here's my key and secret so this is going to be um clear ML and there is no real concept to pass as we found maybe that's how clear ml is configured so that password's not in PL text but we see clear um keys and secrets are so this is just us dumping that database we could also um grap - capital r I'm going...
3,283.64
0
{ "video_id": "Ygkp4QkGKaY", "title": "HackTheBox - Blurry", "url": "https://www.youtube.com/watch?v=Ygkp4QkGKaY" }
the Omega there was also a task trash or something right let's see task trash. bson there we go look for pass W um SSH password is training so you can get more passwords out of the database I don't know what these are used for but um I just found this interesting hopefully you enjoyed the Beyond route and all the stuff...
3,369.599
0
{ "video_id": "Ygkp4QkGKaY", "title": "HackTheBox - Blurry", "url": "https://www.youtube.com/watch?v=Ygkp4QkGKaY" }
what's going on YouTube this is IPC I'm doing Bookworm from hack the box which starts off with a insane cross state scripting payload but don't let that like scare you away from this video I think by the end of um that portion you'll appreciate JavaScript a lot more and learn a lot of things because when I did cross a ...
0.199
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
if you watch it after that the Box does get a little bit easier the next step is abusing a Sim link to exploit something but really let's just get into it because this is going to be a fun one as always we're going to start off with an end map so- SC for default scripts SV enumerate versions OA output all formats in th...
42.8
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
to 15 Bookworm htb and check out the page so let's go HTTP Bookworm htb uh we probably want to turn burp Su intercept off uh let's go over here proxy intercept there we go and it looks like we have a online bookstore so I'm going to check check out the shop and looking at this it looks like there are a bunch of books w...
95.92
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
account and since this is Express I would probably try for like no SQL injection as well on the login form just because the mean stack is so common um I want to say mean stands for um Express angular and node but I could be wrong there um so let's just put a bunch of junk I'm doing um username and name as IPC password ...
162.239
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
was going to do bold but it looked like my name was already bolded in that so there we go I put a uipsc and we see the um actual HTML so this is not going to be any cross- site script if we attempt to view the book uh let's add it to the basket go over to a basket and see what else there is there is a note here saying ...
226.439
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
we can find out how to download ebooks because when there's a file download maybe there's a file disclosure vulnerability that is just a super good guess at this point right so let's try editing a note of this so the note um let's intercept and we add this let's just do test so it just gets added there and if I looked ...
290.84
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
this page even if I refresh um let's press f2 or was it F12 and it did not load but there is a warning here it says this page of settings or blocked the loading of a resource in line script source so it means we can't load any JavaScript off the existing page we see it again it's blocked so I think that means our JavaS...
352.72
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
see if we can make it called back to us so I'm going to redo this whole process of adding a book to a basket then we're going to do a new cross-site scripting payload so we can edit note we can say script source is equal to http 10 1048 Port 8,000 uh it I guess we'll do pone doesn't really matter what the file name is ...
424.919
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
his book and it just brings us to the book we do have a avatar so let's try updating our Avatar and see if we can put a file there so I'm going to locate every file that be ends in JPEG and then we're just going to copy a random one here actually we probably don't need to do that um let's just touch or Echo please subs...
505.879
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
jpeg so let's browse htb then we want Bookworm test go over to browser I am going to intercept this request so we can see the MIM type is image JPEG so it is uploading has it I'm going to try just uploading this it's redirected us which I think is good um let's see let's turn intercept off and then we got to figure out...
546.279
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
think it is vulnerable to directory traversal the other reason I'm not trying that that much is because we don't have control over the file name we uploaded test. JPEG and it uploaded as 14 so either that's our user ID or maybe that's just the 14th Avatar that could be an incremental number so that's why I'm not trying...
629.8
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
to grab the SL static up image uploads 14 and then we can end the script update the Note oh I clicked edit again didn't I update it and then when I click complete checkout we have a JavaScript or alert box so we know this is going to be cross-site scriptable the thing we have to figure out is there an idore vulnerabili...
699.2
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
book we can add it to the basket if I go to shop here we can see the victim added it but the issue right now is we don't have the basket ID we could try adding one to ourself and then we'd see like when we edit it and just know we go up one but I'm going to look in the source to see if there is any indication maybe lik...
770
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
payload we are in intercepting so click Update note we're going to send this to repeater and what basket ID was it uh I think we said 369 because this is 370 so let's just try 36 whoops okay num lock was not on I started hitting 369 and it did not do what I expected to so I'm going to edit this and we can um drop this ...
836.759
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
we're going to have to build a pretty complex cross-site scripting payload to do this because we want to um hit probably the profile page then look at the order history and then grab all these links and click through them because we want to get each of these Pages the reason why we want to get each of these pages is we...
910.8
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
it finds and it knows the basket ID because there is a comment uh there we go we have 371 so we want to look for this text and when we have a new number then we know we can poison this um basket so let's start this python script so let's go to visual studio go to basket poison and the first thing we're going to want to...
979.279
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
post and let's just pretend this is a login it's not going to work because uh maybe that would no Local Host 5,000 definitely not we'd have to put like uh Bookworm htb I'm guessing the endpoint is that and probably username of IPC and password of password I'm guessing that works so then I'd want to create different fun...
1,041.76
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
explanation just confused you more um let's not call this exploit let's call this um basket poisoner so we can create variables on this object so we're going to say self um we can give it a base URL and then we set it up like that so now we can just create this um object so I'm trying to think of what I want to call th...
1,110.76
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
login ipac password uh there we go and now if I do cess dot uh session git URL plus shop and we can say R is equal to this then print r. text so let's just see if this works um yeah that should be fine so I'm going to do Python 3 and we called it basket poisoner we have this I want to make sure IPC is on this page uh l...
1,188.64
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
right so when we don't have that I'm just going to have it sleep and retry so we'll say session get that looks fine and we don't want to go in the cookies that is co-pilot doing things we don't want to we're going to use a regular expression so I'm going to call I keep saying bucket it's basket right there we go so we ...
1,289.559
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
say basket not found sleeping 5 seconds and we can do time. sleep and then we also have to say import time okay so let's say basket is equal to this and then print basket so if I run the script now let's see what happens we get 377 that is awesome so we all already have it grabbing the um latest basket if I just refres...
1,369.24
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
ID edit there we go the data we want to poison with is going to be this so we can copy this and let's see we'll just paste you can say Quantity one note I'll do this in a single quote because we already have a double quote in our xss payload right so we have the URL and data that looks good and let's see that should be...
1,455.64
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
it's um not a new basket then we won't poison it because we won't hit this okay uh we probably want to say poison basket and then we can say which basket we poisoned that should be fine I'm just going to do new basket so we stay good or maybe we should put that in here we probably should do some type of like try catch ...
1,556.159
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
thing to this when it gets to 381 that's when we see output right so I'm just going to do it myself we view book uh book add to basket we go here go back to our payload and we have a error U missing schema invalid URL uh let's check this out which line is this it's probably the poisoner right uh let's see line 40 poiso...
1,641.279
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
the um xss payload because we have the poisoner working so I'm going to create a new file we'll call this payload JS and this part is not going to be fun but at least it's going to be epic and we're going to spend a little bit more time showing like a payload evolve instead of just going straight away to do it the way ...
1,723.08
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
cores we want to um whoops include credentials so if we do include credentials it's going to um include or session cookie with this request um the actual like um cookie is um HTTP only so we can't steal the cookie so we have to like use JavaScript to control their browser so we'll do cach is equal to no store and we wa...
1,777.32
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
right developer tools so this does work but again I think this if you imagine we're going to have to probably get three URLs by the end of the day so you can to have so many thens like it's just going to get crazy and unmanageable right so I evolved or I started using async with my fetch so we could do like a const we'...
1,863.76
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
then we also have to grab the text for it so we can do await profile. text and then we can just do console log so this also works right so if I do this we can do it and we get the profile this gets a little bit messy because I hate having to do two variables every time I want to pull a page so because of that I used uh...
1,919.84
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
defined oh we have to call cons profile there we go we could probably also use letter something but whoops let's copy and we have to specify the URL uh HTP let's put put that in this we'll say um HTTP Bookworm htb plus URL there we go uh we'll call this page you can replace URL with page there we go I'm just going to g...
2,018.039
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
order then a digit plus we want to get all of them and I'm going to put it in in parentheses so now what we want to do is test if it is a on this page in regular expressions in JavaScript is weird or maybe I do it a bad way so we're going to test profile okay and let's see we want to say while and we're going to call t...
2,119.56
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
I'm going to complete another order so we have multiple orders I want to make sure that's working add to basket complete checkout yeah we have that xss oh we did have multiple order IDs we have 130 131 13 three so we're screwing something up here let's see go here paste this we have it undefined I don't know why it's u...
2,224.04
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
it undefined weird um rype profile it definitely exists so we'll continue and debug it if it doesn't work at the end so we have all the order so what we want to do is get the page here so oh we could also show let's see so if we just copy this we have all the order IDs we could say order IDs one and if we do the same w...
2,316.88
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
this and what we want to do with this is eventually um send it to us so let's do a new function and I'm going to say uh we'll call it P data I guess try and be it's really xfill I guess we'll say XL data or now we'll just do post post data and this will be URL to make it easy on replacing who we send it to if like my I...
2,426.88
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
ID okay so I think we're going to send data now so if I copy this and we listen on Port 8,000 then we go back to our browser uh F12 we have to copy everything I really don't like that I'm having to do this separate uh a weight is only async generate what line is that we did a wait get page a wait post data is do I not ...
2,540.559
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
this because I am getting confused so if we don't do that does this now error is it this code that doesn't look right it is that const order await get page we called get page here nothing hit us if I put this in my Loop we just going to get our profile constantly which is fine because we're redeclaring it let's do orde...
2,701.8
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
I really don't think that's it but maybe it is promise pending so one URL is not coming back but we're not getting a hit here so it's not getting to my post we don't even have that proxy is off but let's turn it on poison I should see something in burp Suite I do we got the profile then we're going to get a order ID ge...
2,882.28
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
go with that explanation so now we have the post data so we get um a response to us so the next step is we want to download everything so I'm going to create we'll call it server.py and I'm going to do from flask import flask request and we can say app is equal to flask name app route and we're going to create a order ...
2,990.88
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
dcode and then return okay okay and we can say app. run host is equal to all IPS p is equal to 8,000 okay go into code let's do Python 3 server.py and then I'm going to copy my payload uh it's this one go back to a browser paste we're sending it and we're getting 404s because we just add um the order ID after the URL s...
3,084.359
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
going to put this entire JavaScript so we're going to send this so now if I went to one of my pages so let's save this I'm going to let's clear the screen let's just go to my profile I'm going to go to an order I'm assuming I poison this order and our browser sent us all this data so what I want to do is just wait prob...
3,195.76
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
409 there let's see I think I want to put the time stamp here because I'm going to pause the video and speed up right so I want you to see how long this can take because this is one of the more painful Parts is waiting here so let's see um where do we print I'm going to disable this so I don't it doesn't flood the scre...
3,275.48
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
going to be one of the hard Parts there is a uh file disclosure vulnerability but it's when send multiple book IDs it's only in the download everything and I'll go over it in a couple minutes on why this is but instead of just blindly trying this one and failing I figured I'm just going to go quickly and we'll only do ...
3,379.48
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
HTML and it looks like if I make a regx that just grabs digit question mark book IDs and then this and it'll only grab the download everything link and then I'm going to fill out the second book IDs with the Etsy passwd um that makes most sense and if you wanted to you could also Firefox 11 HTML and open it up to see k...
3,430.76
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
11 but we escape a question mark That's what I want to do we can say book IDs is equal to another digit and then we want to do camper sand like that what did this say this is a bit of heck but it works how did it know that's a good comment for this line that was one of the better things I've seen co-pilot do I'm going ...
3,509.039
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
page and then we say download plus download everything plus and if we go back here we start at this and so I'm going to do book IDs is equal and we're going to do a bunch of do do slashes at pass WD I think that is good I'm hoping it is um and I'm going to do one slight thing I'm going to call this get page binary and ...
3,600.28
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
10 14 8 8,000 and then I'll do xville plus order ID download uh we are missing something I did not end a quote probably here there we go and I think that is going to do it I don't know what it's complaining about this semicolon uh we missing a bracket there we go so what I'm going to do is paste this into our payload b...
3,678.799
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
we're just going to do um request. dat and I think that should work if I make dur uh we go up one so we makeer xfill we run this server and I think we are good um it's kind of hard for us to test this though right let's see CD orders so the best way I think to test it let's do python 3-m HTTP server 801 and I think it'...
3,772.799
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
HTML on 80001 and I called it 8000 it's really 80001 there we go okay go back here we can edit that I'm not using those now so what we want is to redo order so we'll do const order is equal to 11.
3,881.039
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
HTML we have to do slash uh let's see read. because we made it constant um I'll call it debug I guess if I do debug we nothing we got it is debug a protected value uh ipac no we still just posting orders there and so we see 23 151 I'm guessing we have something broken because we did not get the post request on xfill so...
3,912.68
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
this test on debug it is true so we matched it that is good we got to change this back to everything thin and it's no longer order it is debug we have 11 question mark books ID that looks good so the next thing I want to do is print this line console.log and that looks good so I think once we fix that it's all good let...
4,060.68
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
good time stamp um so with that being said I'm going to pause the video and we're going to wait probably about 5 minutes so let's see sleep 300 I'll come back when this sleep is done and we'll see how many requests have been made and um if we have any actual xfill data we have not hit the five minutes yet it was probab...
4,232.44
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
um we'll go up to directories and say xfill I don't know what to call this so there we go I want to save every file we download and we're going to delete that and we want now to get a different file um and this also is going to be a bit like Nostradamus of me just knowing the file I want to grab it is a node thing righ...
4,307.84
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
automatically work because um we didn't change the basket poisoner that just sends them the Avatar URL this part didn't change the only part that changed was the Avatar URL and we just uploaded that right so I think that's going to work I'm trying to remember exactly how I did it um I saw this box yesterday and I'm jus...
4,393.04
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
us to send the file three times or do this three times I don't know where that bug is but I don't know if I want to fix it CU it seems to be working now right so we xill 14 if we do a file on 14 it's a zip so let's unzip 14 we could have also done 7zl there's really not much different right uh let's look at unknown. PD...
4,453.8
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
Frank and I may also like do crack map exact with a bunch of usernames and spray it if I had more than four I would probably go that route but um I like just taking a guess first and we log in as Frank and user. text is right there what's going on this is it from the future and before we go enumerating the box as Frank...
4,535.96
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
standard how that works but um let's look at the code I'm already there we're defining book IDs we're just saying it's going to be request. query and then we say if the book IDs is a string we go down here so this is the single path all right we're going to do a res. download book IDs file name going to give it the pat...
4,586.4
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
download supports this which kind of like jails it to that directory or makes a CH route I don't know a good way to explain it but you can't go outside of the directory so this is what's preventing the lfi on the single book ID is this makes it so we can't go out of the working directory SL books it is pretty cool so l...
4,635.719
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
python or not Python 3 wow um node index.js we're going to stand up our web server and then I'm going to do a curl Local Host Port 3000 uh let's start with no root and we'll specify the um post file uh post parameter file name and I'm going to give it please subscribe because I do have um please subscribe if we go in a...
4,693.719
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
text uh no such file or directory does it help if I can type correctly I'm guessing that was the problem because it's just please sub we get no really please subscribe to me right so let's try doing the directory traversal again there is um no root specified in this so I'm hoping it works right yeah it says thank you f...
4,742.639
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
exactly what that says I wonder if we can decode this quickly um let's go copy burp sweet decoder paste smart decode o we're getting there fimm test.html Firefox test.html it's probably not the best way to read this eror but hey it worked right you get the Forbidden you can see what that stack looks like but um I hope ...
4,809.12
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
credentials for it and there could be um passwords in this so let's try going in I'm going to log in with the username Bookworm to The Bookworm database paste in the password which was Frank the job giver and then we're going to show tables and we can select star from users and let's see we got the name and password so...
4,872.239
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
like doing that um just send it all here I know none of these actually reverse so it's not going to be that beneficial maybe we can look at what the password is at the end of the day because the password's probably going to be in the like automation that's running but we don't have access to automation so we probably j...
4,953.04
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
have right um so why wait join now and start your reading Journey so this is probably just what we're accessing um I would guess if we do what is it Etsy is it engine X running this um sites enabled default let's see 3,000 I was assuming it would do like a proxy pass let's see I don't actually know how this is working ...
5,011.08
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
31 so once I hit enter we can go to Local Host 3001 on our box and it will for us through that ss8 session so we have this Bookworm converter demo we have a file to convert and output file type I want to see if I can find this so let's see um I'm going to find. GP convert I don't know if this is going to be a good one ...
5,097.36
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
sccp Frank Bookworm htb and then we want to give Frank the job Giver um oh before we do that home is it NE l yep then converter to this directory - R for a directory paste in the password and we probably should have zipped it I just realized because this is going to be a npm thing um there's probably a lot of files let...
5,168.4
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
wc- L 2,000 files so I'm going to stop that real quick r- RF converter and let's zip it up so we'll do zip Dev shm converter then we'll just do star I think we do d r for recursive we don't have zip s z Oh man oh we can t t ctvf um converter do is it bz2 home Neil converter oh we probably should have done Dev shm uh we...
5,204.08
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
bz2 don't need the dashr anymore it is still going with that wonder how big this is maybe I shouldn't have grabbed the npm directory I hope I don't like fill up the disc which could have just happened or maybe that lib QT web engine core 6 thing is big I don't know srank Bookworm htb when doing this box I didn't actual...
5,292.36
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
up with sneak and see what it says or open up with Visual Studio code which then we use sneak to tell me if there's vulnerabilities I'm kind of curious if it detects this right um so let's do code Dot and visual studio code should be opening there it is update later go over to sneak and which is going to scan the appli...
5,378.92
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
vulnerability in here so it looks like it does find it a regular expression Den service is also there we could crash the web service if we wanted to um so there is somewhat of a path reversal let's see HP body 33 so we're just grabbing request. body and output type and down the line we will spawn convert ebook on the f...
5,479.32
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
right or maybe we can read files I don't know um so let's do all files test. text output type we can do ePub docx um Amazon Kindle or p PDF so if I do the UB format let's see let's make sure we intercept so we have Please Subscribe UB and this is output type and we know there was a um path traversal vulnerability here ...
5,557.119
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
index.html so I'm assuming um this application is running as Neil because it's in his directory not positive by that but that is my guess um and if I could get a line break in here we could write a SSH key and potentially write to to authorize keys so let's try a br since this is HTML um wonder if we're going to have t...
5,670.8
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
HTML so if we said um let's see can we do HTML injection so it would be image source is equal to file ety passwd I think that's all we need send this do a less and that did not look like it worked um wonder if we gave it the HTML mime type real quick let's try this real quick um move test. text to test.html Let's copy ...
5,762.44
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
new see grab Frank out of all this not there let's do UB 2 CD UB two so I think it's supposed to be in this file we get image source.
5,890.4
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
passwd we included that so I'm going to try one last thing um nodejs really does love having root directory set which you can't go out of so if we do home Neil um let's see what is Dev did we see Dev oh that was us writing let's try profile we'll do home neil.
5,913.92
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
profile so we can say home neil.
5,941.04
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
profile okay CD Dev shm CD UB 2 whoops EB I at two oh got pass WD it did write it um it just for some reason makes everything hidden I guess I should have known that from this 29f that image source was passwd it's weird that it did that um we have aore profile as well which is that so we could try getting the SSH key s...
5,948.48
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
ided oh we do have a key and we have a public key as well so we should be able to try this so chod 600.
6,035.639
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
ID uh let's just copy this to our box so V this is neil. key paste chod 600 s-i neil. key Neil at we did Bookworm htb and we get a password so just because the private key is there doesn't mean it's in the authorized Keys file we can try X filling that as well and let's see I don't see it so I'm guessing that means it'...
6,049.76
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
uses the open ebook format which is HTML files so when we're writing this uh where's our burp we're not giving it a extension so that's why it's um doing that one format so I bet if we did Dev shm um let's just call it out.txt and we say Please Subscribe we save this now let's go in Dev shm there's out. text that is ju...
6,163.44
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
shm um we'll call this please sub and we'll call it ip. text okay so this one we'll be able to more easily read so we don't have a please sub file if I try to cat ic. text it's going to go no file right so if I change this to be ip.
6,243.36
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
text we write it we do it LS I thought we'd have a please sub file we did that I wonder if we have to make a directory that's readable and writable by everyone m test chod 777 test let's see let's go back to Ln let's write to test Please sub so that is empty hip. text exist here so when we write to it please work it di...
6,270.4
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
Subscribe and we have the file here so what happened this is a um let's see if we do protected Sim links the behavior I think is from Linux right so if we look at Sim links there is a odd behavior so when set to one sim links are PR to be followed only when the outside of a sticky World writable directory or when the u...
6,397.4
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
right I wonder yeah we don't have any permission over like we in groups do we have same group no I was wonder if maybe a group ID was the same putting in the test directory did that but no um so we want to have it in the test directory and let's see we want to I want to try something real quick um let's delete both of ...
6,477.44
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
text ln- S I will do please subscribe to that there we go so remove this right La home Neil please subscribe to did not work if we did this in well temps are bad directory because we have all these system D privates um we never know if I guess we could kind of guess login D resolve time sync up power so I don't think t...
6,544.599
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
right so let's remove ic. text let's now um point it Tosh authorized keys so now when we write to ic. text it goes to this authorized key file um so let's see what key do we want to put well we can go to EPUB 2 ePub 2 cat id. Pub let's just put this key because we already saved it to our box so we're going to write thi...
6,622.32
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
I try to um do pseudo gen label let's see what happens it wants an order ID so we'll do 11 and it's made a PDF in temp whatever this is so output dot it's got a postcript file and then it's also got a PDF so I bet if we copied this so scpi neil. key Neil Bookworm htb slash this directory let's open output.pdf and it's ...
6,715.8
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
buy us anything because we could just go into the mySQL database of this user anyways and do load file so that piece isn't that interesting even though we have SQL injection it's not giving us any additional privilege right now so then we're going to um create this postcript file output. PS um create the PDF location o...
6,810.079
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
access to read write delete files Etc so this piece is interesting so we got like a double injection going on right so we have this MySQL injection and it's feeding data to this postcript file which then gets ran with um the converter as root so if we do some postcript injection it will run as root um and we can write ...
6,881.239
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
go so we're writing right here and we can control whatever we want here so we could put a postcript operation to write a file for instance right so I'm going to um let's see Google postcript WR file um I'm going to search ha tricks first to see if they have anything file system access this is not postcript right looks ...
6,976.28
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
not sure if p. text already exist right um w+ so that's probably aend so file def why do we do two I wonder if these two um brackets are bad let's try this out file hello world right string like that and we just do out file close file then I'm going to leave a open parentheses because that's where where this is going t...
7,077.44
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
right so let's do output. PS and we'll call it output.pdf LS La output.pdf it created it so I think we are good there so let's try our injection so let's do output PS and what was that street let's see do I still have the PDF open 62 Westlane okay okay 62 62 West Lane so we want to test this injection so I'm going to c...
7,185.679
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
Chron file or do a bunch of other things right doesn't have to be an SSH key whoops we want to write there and we want to write to slash root slash uh Sate authorized Keys okay so we should be writing there and let's do a base 64 incode okay so now we want to do the union injection um let's see we do a Vim how many lin...
7,293.119
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
exist Union Select 1 two 3 4 five six 7even like that and let's go in temp TM whatever uh we should grab this file actually SCP output.pdf and I'm expecting this to be pretty much a blank PDF at least where all the entries are right so we have 1 2 3 4 five seven so we have confirmed the SQL injection right so now we wa...
7,412.84
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
to root at Bookworm htb and Moment of Truth we are root so that is going to be the Box hope you guys enjoyed it take care and I'll see you all next time
7,518.159
0
{ "video_id": "UqDdR10F54A", "title": "HackTheBox - Bookworm", "url": "https://www.youtube.com/watch?v=UqDdR10F54A" }
what's going on YouTube this is ipack I'm doing broker from hack the box which is going straight to retired which is awesome because that means we can talk about this box right away and the foole of the box was in the news a lot lately because it is the Apache active mq exploit um the cve was published on October 27th ...
0.24
0
{ "video_id": "Ul9WmUY49oM", "title": "HackTheBox - Broker", "url": "https://www.youtube.com/watch?v=Ul9WmUY49oM" }
around for a long time on the inside of a network once you exploit this vulnerability you'd have the ability to run engine X as pseudo or as root and you can make a malicious config and get Cod execution that way so with that being said let's just jump in as always we're going to start off with an N map so- SCC for def...
47.84
0
{ "video_id": "Ul9WmUY49oM", "title": "HackTheBox - Broker", "url": "https://www.youtube.com/watch?v=Ul9WmUY49oM" }
active mq is installed on this box let's go to 1010 11243 and we get the login prompt we can try default credentials like admin admin and surprisingly we get in we don't actually need these credentials uh because there is a newer exploit of active mcube my very first thought was going to an old exploit of active mq whi...
100.119
0
{ "video_id": "Ul9WmUY49oM", "title": "HackTheBox - Broker", "url": "https://www.youtube.com/watch?v=Ul9WmUY49oM" }
and we see we have one exploit so we'll use use zero to go to this and this is the one I was talking about before so it's going to exploit the uh file upload service or file server manager I think what it's called so let's do um set lhost to ton zero uh let's do think it's our host yep we have to set our host and you c...
154.2
0
{ "video_id": "Ul9WmUY49oM", "title": "HackTheBox - Broker", "url": "https://www.youtube.com/watch?v=Ul9WmUY49oM" }
PHP exploits right you just put the PHP file on and be able to exploit it uh we could try setting rport 280 but that's not really going to get us anything either but the one thing is this box was listening on 8161 uh we just didn't see it an end map and that's because we only scanned the top 1,000 ports so let's do a f...
219.599
0
{ "video_id": "Ul9WmUY49oM", "title": "HackTheBox - Broker", "url": "https://www.youtube.com/watch?v=Ul9WmUY49oM" }