Infinite JavaScript Scrolling | "Moar Horses" TJCTF 2018
Key Takeaways
Shows infinite JavaScript scrolling for TJCTF 2018
Full Transcript
hey YouTube this is another video right up for the challenge more horses for 40 points in a web category of TJ CTF for recent capture the flag competition so the challenge from here is the horse is back and it gives us a web address and web page that we can check out I actually had better luck looking at this in Firefox and honestly true credit and props goes to giggles Emoto because I think he was the one that originally found the lead on this and figured it out because a lot of people struggled with this challenge because it didn't make a whole lot of sense it said scroll down to find the flag it's the regular infinity horse sling where the page would just keep loading and scrolling and you would just see legs in this ASCII picture of the horse over and over and over again there didn't seem to be a whole new gimmick to it there was nothing in the source code nothing on like any HTTP headers it was just nothing there so what he did and what he pointed me to was that you can actually just literally scroll like programmatically scroll cuz you'll see if you set up a network query you'll see the web page will continually get legs like this HTML page over and over and over again and that one will always have the response of okay more HTML legs and hopes you couldn't get the flag that's dumb so what we had done and what giggles had done is we had set up a okay I gotta stop saying we but he I'm showing case and show showcasing you love and then the support that this was totally your challenge so thank you for your everything you do on the team what he'd done it hit set up in a window interval so that every now and again we could just be running a new function over and over and over again to scroll and scroll by lines and I think just a thousand or whatever is fine crazy amount and then we can set it for as as often as we want to just like over and over again create requests and slowly get more legs so you can see the number of requests is going up the scroll bar is increasing because we are getting more and more so each of these HTML responses are normally in size 707 bytes but what if one of them does contain the flag as the only direction that we're told your is to scroll and to keep scrolling maybe at some point one of these will have a different result so the best way we can determine that is to sort by size and this is going to take a little bit of tie I don't honestly know how long it will take but at the very very top since we're sorting by size one of these will return something other than 707 bytes so we'll pause the recording and I'll get back to you when that happens okay it didn't take much long at all just a few seconds after I said that we did get 704 bytes which we can take a look at go ahead and view the response over here in the preview we do have our flag so that challenge was weird in that there wasn't a whole lot of guidance other than just scrolling and you literally had to kind of go with it just buy it and hold your breath hope that you would eventually get there so we can go ahead and say that if we particularly wanted to we could make a directory for more horses and save that flag just in there but that is the solution two more horses is to literally scroll forever until you get a response that is your flag cool hey I want to give a special shout out and some love to people that support me on patreon you guys are fantastic one dollar a month or more on patreon will give you a special shout-out just like this at the end of every video five dollars or more on patreon will give you early access everything that I release on YouTube before it goes live if you did like this video and you want to see more CTF video write-ups or programming tutorials or other stuff that I do please do like comment and subscribe join our discord server link in the description if you another cool community of CCI players hackers and programmers if you want to jam with me or anyone else when we're playing it cool CTF upcoming that's the awesome and best place to do it in hey I would love to see your support on patreon and I hope to see you in the next video thanks
Original Description
If you would like to support me, please like, comment & subscribe, and check me out on Patreon: https://patreon.com/johnhammond010
E-mail: johnhammond010@gmail.com
PayPal: http://paypal.me/johnhammond010
GitHub: https://github.com/JohnHammond
Site: http://www.johnhammond.org
Twitter: https://twitter.com/_johnhammond
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from John Hammond · John Hammond · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Code Commentaries? PHP to JavaScript in Bash and PHP!
John Hammond
Tutorials? MySQL connection with PHP and Bash!
John Hammond
Variable Naming in Python! Happy Birthday, Linux! Nokia N900!
John Hammond
JavaScript Splits The URL!
John Hammond
HTML Tables in Python!
John Hammond
HTML, Net Shares, GML!
John Hammond
Python 08 Programming Style and Comments
John Hammond
Python 26 Object Oriented Programming
John Hammond
75 Python Tutorials, Out Now!
John Hammond
Batch 14 Mathematical Expressions
John Hammond
Batch 85 Array Append
John Hammond
Batch 86 Array Count
John Hammond
Batch 87 Array Index
John Hammond
Batch 88 Array Insert
John Hammond
Batch 89 Array Remove
John Hammond
Batch 90 Array Reverse
John Hammond
Python [colorama] 00 Installing on Linux
John Hammond
Python [colorama] 09 Cursor Position
John Hammond
Python [hashlib] 02 Algorithms
John Hammond
Python 00 Installing IDLE on Linux
John Hammond
Python [pygame] 11 Rectangular Collision Detection
John Hammond
Python [pygame] 12 Platforming Rectangular Collision Resolution
John Hammond
Python [XML-RPC] 01 Research
John Hammond
Python [pyenchant] 03 Personal Word Lists
John Hammond
FancyURLopener Authentication and User-Agent [urllib] 03
John Hammond
Python 04: PEP8 Coding
John Hammond
Python Challenge! 17 COOKIES
John Hammond
Google CTF 2016: Ernst Echidna
John Hammond
Google CTF 2016: Spotted Quoll
John Hammond
Google CTF 2016: Can you Repo It?
John Hammond
Google CTF 2016: No Big Deal
John Hammond
Google CTF 2016: In Recorded Conversation
John Hammond
Homemade CTF Challenge: 01 "Orchestra"
John Hammond
Homemade CTF Challenge: 02 "Bae's Base"
John Hammond
Homemade CTF Challenge: 03 "Web Hunt"
John Hammond
Homemade CTF Challenge: 04 "UPX"
John Hammond
Homemade CTF Challenge: 05 "The Assumption Song"
John Hammond
Homemade CTF Challenge: 06 "A Brisk Stroll"
John Hammond
Homemade CTF Challenge: 06 "I lost my password!"
John Hammond
web25 :: Mr. Robot : EKOPARTY CTF 2016
John Hammond
web50 : RFC 7230 :: EKOPARTY CTF 2016
John Hammond
misc50 : Hidden inside EKO :: EKOPARTY CTF 2016
John Hammond
Hack The Vote 2016 CTF: Sander's Fan Club [web100]
John Hammond
Hack The Vote 2016 CTF Warpspeed [forensics150]
John Hammond
Juniors CTF 2016 :: Black Suprematic Square
John Hammond
Juniors CTF 2016 :: Six Strange Tales
John Hammond
Juniors CTF 2016 :: Lost Code
John Hammond
Juniors CTF 2016 :: Here Goes!
John Hammond
Juniors CTF 2016 :: Southern Cross
John Hammond
Juniors CTF 2016 :: Clone Attack
John Hammond
Juniors CTF 2016 :: Dirty Repo
John Hammond
Juniors CTF 2016 :: Hackers Blog
John Hammond
Juniors CTF 2016 :: Voting!!!
John Hammond
Juniors CTF 2016 :: The Good, The Bad and The Junkman
John Hammond
Juniors CTF 2016 :: Stop Thief!
John Hammond
Juniors CTF 2016 :: ROFL
John Hammond
Juniors CTF 2016 :: Restriced Area
John Hammond
Juniors CTF 2016 :: Oh SSH!
John Hammond
HackCon CTF 2017 TRIVIA and BONUS Challenges
John Hammond
HackCon CTF 2017 "Bacche" Challenges
John Hammond
Related Reads
📰
📰
📰
📰
Treasury Sanctions Two Individuals and VPN Firm Enabling Ransomware Attacks on Americans
Dev.to · Codego Group
Inside-Out Learning
Medium · Cybersecurity
GhostExodus Forces Cybersecurity to Trust a Rule-Breaker
Dev.to · XOOMAR
Supply Chain Attacks Are Forcing Threat Detection To Focus On What Code Can Do
Forbes Innovation
🎓
Tutor Explanation
DeepCamp AI