Тёмный

XML Object Exfiltration - HackTheBox Cyber Apocalypse CTF "E. Tree" 

John Hammond
Подписаться 1,9 млн
Просмотров 41 тыс.
50% 1

Moving your first steps into hacking? Start from HTB Academy: bit.ly/3vuWp08
Hungry for more hacking training? Join Hack The Box now: bit.ly/331nQCl
For more content, subscribe on Twitch! / johnhammond010
If you would like to support me, please like, comment & subscribe, and check me out on Patreon: / johnhammond010
PayPal: paypal.me/john...
E-mail: johnhammond010@gmail.com
Discord: johnhammond.or...
Twitter: / _johnhammond
GitHub: github.com/Joh...

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 76   
@joseurena7116
@joseurena7116 3 года назад
I love the fact that you’re doing CTF stuff, every influencer is doing mostly box pwning and ctfs develop those quick thought skills required. Nice to see a pro do it 👊🏻
@kennymd
@kennymd 3 года назад
I feel like John is gonna be so hyped about Python 3.10's new match-case statement
@nothingnothing1799
@nothingnothing1799 3 года назад
@panda doesn't need END
@kennymd
@kennymd 3 года назад
@panda It's basically switch-case on steroids
@shirshak3699
@shirshak3699 3 года назад
I hope HTB discord would be better than THM in terms of helping people who dont know how to solve something and also the mods😅
@durzua07
@durzua07 3 года назад
Not gonna lie, I was lost on the whole video but I loved it! Insane stuff John!
@anthonutty
@anthonutty 3 года назад
I think one other thing you could have done is provide an XPath that selected the n-th occurrence of selfDestructCode.
@DirkBaumeister
@DirkBaumeister 3 года назад
I think the second part would have been easier if you had changed the search to ends-with starting with a closing curly braces and reversing the string afterwards :) nevertheless great video! :)
@chriss8825
@chriss8825 3 года назад
Yea good idea exploiting known knowledge of the flag. His method would also not work if the first char of the second part of the flag started with a 'C'. My initial idea was to leak name, so you ignore the staff with the first part of the flag completely on your second blind sql injection. My method would have took longer, but in theory it would work irregardless what the second part of flag contained.
@Skavin1000
@Skavin1000 3 года назад
This felt a bit like everything looking like a nail once you have a hammer. owe knew the key ended with } so maybe "ends-with" would have been easier for the second part?
@cedricvillani8502
@cedricvillani8502 3 года назад
It’s a logical flow, so anyone, even people who don’t program can follow along and even guess at the answer before he types it. Very mentally rewarding, I mean even the error’s were giving pseudocode answers.
@mossdem
@mossdem 3 года назад
Loving these videos as always John! I'm now beginning to actually understand what it is you're writing so its a lot easier to follow along. Keep up the grind, love to see it!
@cedricvillani8502
@cedricvillani8502 3 года назад
Call me crazy but the way he’s going through this isn’t a normal happening out in the wild. It’s too obvious and too rehearsed, he never went into anything technical, it was more of a Öh of course”kind of thing. WITH everything nice and tidy and human readable, one natural logical discovery flowing into the next, it’s like watching someone go through a page of pseudocode. Idk 🤷 I just have not seen any actual exploits work so fluidly and without any obfuscation put into the so called errors he was getting.
@aceldama
@aceldama 3 года назад
watching a sequential string search is fun, but painful - kinda like mxsturbating with a cheese grater. it's easier finding the string length first, then doing a binary search. still, great job getting there. i rather enjoy your content. :3
@lepsycho3691
@lepsycho3691 3 года назад
That was fun, I felt the same feeling watching you as I do when I'm not sure if this is the right track or not! Good job!
@prateekkuber8444
@prateekkuber8444 3 года назад
Can someone help me understand how exactly the second part worked for the second part of the flag!?!
@cenkgokce4404
@cenkgokce4404 3 года назад
Really great solution John, probably I will never figure out that challenge.
@LiEnby
@LiEnby 3 года назад
im confused how that 2nd injection even worked lol i kept saying the answer was //selfDestructCode[1].StartsWith or whatever
@viv_2489
@viv_2489 3 года назад
Thanks for great video ... really enjoying python part of solving problems
@georgehammond867
@georgehammond867 2 года назад
Leaking the last part of flag was hard. New thing !
@capability-snob
@capability-snob 3 года назад
Do you usually find on a job you are guessing how the sql or xpath that the developer wrote is structured or do cheat sheets and scripts usually get you all the way there?
@cedricvillani8502
@cedricvillani8502 3 года назад
HAHA right , I wish when I got errors they gave me the fix and clue to the next step in Pseudocode
@elizabethsheriff5075
@elizabethsheriff5075 11 месяцев назад
Hay, how can someone contact you for a CTF teaching
@RikhiRozzay
@RikhiRozzay 2 года назад
Are you doing all of this on a VM, wsl2 or Linux os?
@bhagyalakshmi1053
@bhagyalakshmi1053 Год назад
Burp suite 4woinders one 🕐 nod pasbul
@krlst.5977
@krlst.5977 3 года назад
That was fun, thx
@nothingreallymatters7530
@nothingreallymatters7530 3 года назад
dude that was awesome
@HoaPham-rg8rm
@HoaPham-rg8rm 3 года назад
What is problem with python 2 ?
@Lexxrt
@Lexxrt 3 года назад
Hello, Computer? - John Hammond 2021
@raspberrypi4970
@raspberrypi4970 3 года назад
Or Star Trek IV when Scotty grabbed the computer mouse and tried to talk to it saying, "Hello Computer ." 🤣🤣
@_AN203
@_AN203 3 года назад
5INALLY !!! Some john hammond things sorry that i haven't watched the stream because of the dummy isp Edit : me see john do some blind things and it works 😐🤨😬🤯🤯🤯😵
@dancingtiger577
@dancingtiger577 3 года назад
algorithm, love learning by watching you learn
@cedricvillani8502
@cedricvillani8502 3 года назад
Like algorithms you do? Ok.. Let P = Bn, the Boolean algebra of subsets of {1,2,...,n} ordered by inclusion. Let 2 be the poset with two elements (it has two elements ˆ0 ≤ ˆ1) ✅ WiTh M3 S0 FAR?? OK Cool 😎 SO….. because we can view Bn as a zero-one vector. Let us compute μ for Bn. μ for 2 is given by μ(0,0) = μ(1,1) = 1 and μ(0,1) = −1. With the lemma, we find that μ(T,S) = (−1)|T−S| i.e. μ(T,S) = (−1)# times T and S differ. I think the only thing Mr. Hammond is learning is how to make a RU-vid Video about Hacking, without actually showing any real useable code so it doesn’t get the BAN hammer 🔨 and costing him a ton of money 💰. It is fun fiction though
@AlexElement
@AlexElement 3 года назад
John, what song is the Outro , it sounds like a very cool instrumental? :D
@jannikmeissner
@jannikmeissner 3 года назад
Could be a really stupid question, but what is actually the limiting factor in the speed of trying different characters? Is it Network speed to the box or could it be made faster if you used multi threading to try multiple possible combinations at once?
@berndeckenfels
@berndeckenfels 3 года назад
I am not sure what the { did in the string concatenation, but both expressions should work without it as only the fist flag part starts with it.
@TheH2OWeb
@TheH2OWeb 3 года назад
John ! Thanks again ! Just took a little time to get how you reached the second occurence. It clicked just after asking on your Discord :-)
@ЮЗЛЕС
@ЮЗЛЕС 3 года назад
Good content!
@s.aravindh6227
@s.aravindh6227 3 года назад
Nice video bro 👍👍
@chetanpatil2473
@chetanpatil2473 3 года назад
please start with basic to advanced daily 1 ctf basic to advanced 🙏
@viniciusdaltro5220
@viniciusdaltro5220 3 года назад
hello yt algorithm
@overgrowncarrot1
@overgrowncarrot1 3 года назад
@johnhammond, don't know if this will help in the future but there is xcat for kali that can be used. I know you use parrot and Ubuntu and stuff, but xcat is a tool for XPath injection and can be used with blind XPath. I learned about it in eWPT
@cedricvillani8502
@cedricvillani8502 3 года назад
He knows, it was even in the document he showed in the beginning, but would not have made a very entertaining story. Not to mention it would be to close to something someone could do in the real world and possibly cost him his RU-vid channel, and that is a big $$$ deal. I wouldn’t see why he would risk it, he probably wrote this CTF in the first place. John has taken on and beaten ppl in the real world, like at Def-Con.
@patrickdonohue4518
@patrickdonohue4518 2 года назад
Appreciate these videos Sir! Thanks!!
@GunniBusch1
@GunniBusch1 3 года назад
Can you make Hardware hacking?
@arivanhouten6343
@arivanhouten6343 3 года назад
The outro is just build different
@SecurityTalent
@SecurityTalent 2 года назад
Great
@FrankTranDesign
@FrankTranDesign 3 года назад
This was fun to watch, thanks JH
@nothingreallymatters7530
@nothingreallymatters7530 3 года назад
more x path injection
@telephonedude
@telephonedude 3 года назад
I've been really enjoying these videos! I'm a game programmer by trade and this is far enough outside my wheelhouse that I'm learning a ton, but close enough that everything is super easy to follow. A lot of stuff has quickly gotten demystified for me over the past few weeks :p Keep it up!
@cedricvillani8502
@cedricvillani8502 3 года назад
A real one? Actually that’s mean to say these days, so instead one that designs his own game engines and that does the physics and complex logic, like linear algebra and combinatorics maths (M ̈obius functions for breakfast) OR a GUI drag-n-drop Unreal Engine guy?
@telephonedude
@telephonedude 3 года назад
@@cedricvillani8502 Says the guy with an "introduction to Unity's new visual scripting tool" vid in his playlist? For reak though, whatever it is that's making you feel so negative, I hope it passes soon
@dedkeny
@dedkeny 3 года назад
Almighty ALGO!!!
@rasooledwards3129
@rasooledwards3129 3 года назад
Can you do a video of you explaining your videos. The methods you're using and your mindset when you're faced with the challenge.
@ko-Daegu
@ko-Daegu 3 года назад
You are kidding right ?
@rasoolnjesus
@rasoolnjesus 3 года назад
@@ko-Daegu no, you must not get the question.
@cedricvillani8502
@cedricvillani8502 3 года назад
You mean explains how to not only code the problem (ex. CTF) but also do a human readable “hack”that won’t actually work in the real world? Because yes I’m also curious, and I wonder if he employs a few other programmers to make sure he doesn’t step to far outa line and cost him a lot of money
@akhileshp3523
@akhileshp3523 3 года назад
Nice stuff ❤️
@abhayakarte5207
@abhayakarte5207 3 года назад
Nice
@abdulrahmanfaisal288
@abdulrahmanfaisal288 3 года назад
Hello
@andrescappiello1514
@andrescappiello1514 3 года назад
Amazing John!!
@anirvinyasharma6455
@anirvinyasharma6455 3 года назад
what Linux distro is Mr. John using ??
@nothingnothing1799
@nothingnothing1799 3 года назад
Ubuntu i think
@ЮЗЛЕС
@ЮЗЛЕС 3 года назад
@@nothingnothing1799 +
@thedoctor2880
@thedoctor2880 3 года назад
@@nothingnothing1799 What DE tho?
@BRYDN_NATHAN
@BRYDN_NATHAN 3 года назад
11:14 confusion it creates entropy thank you 13:51 [✓] moving "toward" a limit, [✓] moving "towards" a limit
@praetorprime
@praetorprime 3 года назад
Great content, as always! I seem to learn something new that I should've already known, every time.
@qualtersty
@qualtersty 2 года назад
22:20 I'm no hacker lol but I'm pretty sure you could've reversed the original script to check using XPath ends-with instead of using starts-with.
@wolfgtweb
@wolfgtweb 3 года назад
I have watched a lot of you videos and enjoy them. I guess I finally have to ask. Why is your face on the screen? It doesn't benefit the viewer at all. In fact all it does is get in the way. Is it an ego thing?
@cedricvillani8502
@cedricvillani8502 3 года назад
It’s a BRAND thing.
@chillydickie
@chillydickie 3 года назад
Ive always wondered if randomizing (sampling characters without replacement) the character guesses would improve the likelihoood of finding one sooner.
@chriss8825
@chriss8825 3 года назад
Probably would not be worth it the time/effort to code it. Adding an underscore as the first character would speed things up (saves ~70 attempts for each underscore in the flag, but only adds one extra attempt for all other characters), but even that is probably not worth the effort.
@cedricvillani8502
@cedricvillani8502 3 года назад
This whole thing is silly 🙃, like in the movies back in the day when the “Secret Launch Codes”were being figured out, while James Bond was fighting the Evil Genius.
Далее
# Rural Funny Life Wang Ge
00:18
Просмотров 673 тыс.
Шоколадная девочка
00:23
Просмотров 289 тыс.
ТАРАКАН
00:38
Просмотров 1,2 млн
HTB Cyber Apocalypse - cURL As a Service
26:07
Просмотров 38 тыс.
IFrame Parent XSS - HackTheBox Cyber Apocalypse CTF
32:03
Realtime Chat App in React Native and AWS (Backend) 🔴
3:29:01
Plundering AWS S3 Buckets - HackTheBox
1:04:04
Просмотров 74 тыс.
# Rural Funny Life Wang Ge
00:18
Просмотров 673 тыс.