Dumping Data with NoSQL Injection via Regex and Python
Check out Snyk here: https://snyk.co/ippsec
00:00 - Introduction talking about the application we are testing and identifying NoSQL Injection with $ne
02:30 - Showing the RegEx Operator, which will let us do partial matches and enable us to validate characters one at a time
03:32 - Start of sponsored shoutout to snyk
04:15 - Showing Snyk find some vulnerabilities with Open Source Security
04:40 - Showing Snyk's Code Security
05:54 - Showing and talking about how to patch the vulnerability
07:37 - End of Snyk Shoutout, starting our python script to perform this NoSQL Injection
10:20 - Testing out our test_login logic to identify if we had a successful login or not
11:05 - Showing how we can identify the length of the string we want
13:20 - Creating a loop to automatically identify the length of the string
15:20 - Adding exception handling to the function and talking about the benefits
17:40 - Creating a function to get the username
20:30 - Explaining what our Get_Username function currently does
22:25 - Doing a benchmark on our first iteration of the script and seeing it takes slightly over 3 minutes
24:10 - Adding in a break so it doesn't loop over the full character set every time which gets us to 32 seconds
26:00 - Talking about the major optimization trick we are going to do, validating multiple characters at one time
27:20 - Breaking the enumerating a single character into its own function for exception-handling purposes
29:20 - Start of coding the optimization trick
35:06 - Running our code and seeing we got it down to 12 seconds. Moving on to testing the password.
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from IppSec · IppSec · 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
HHC2016 - Analytics
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Lazy
IppSec
Camp CTF 2015 - Bitterman
IppSec
HackTheBox - Devel
IppSec
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
HackTheBox - Granny and Grandpa
IppSec
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
HackTheBox - Optimum
IppSec
HackTheBox - Charon
IppSec
HackTheBox - Sneaky
IppSec
HackTheBox - Holiday
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - Shrek
IppSec
HackTheBox - Mirai
IppSec
HackTheBox - Shocker
IppSec
HackTheBox - Mantis
IppSec
HackTheBox - Node
IppSec
HackTheBox - Kotarak
IppSec
HackTheBox - Enterprise
IppSec
HackTheBox - Sense
IppSec
HackTheBox - Minion
IppSec
VulnHub - Sokar
IppSec
VulnHub - Pinkys Palace v2
IppSec
HackTheBox - Inception
IppSec
Vulnhub - Trollcave 1.2
IppSec
HackTheBox - Ariekei
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
How To Create Empire Modules
IppSec
HackTheBox - Nightmare
IppSec
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
HackTheBox - Bart
IppSec
HackTheBox - Aragog
IppSec
HackTheBox - Valentine
IppSec
HackTheBox - Silo
IppSec
HackTheBox - Rabbit
IppSec
HackTheBox - Celestial
IppSec
HackTheBox - Stratosphere
IppSec
HackTheBox - Poison
IppSec
HackTheBox - Canape
IppSec
HackTheBox - Olympus
IppSec
HackTheBox - Sunday
IppSec
HackTheBox - Fighter
IppSec
HackTheBox - Bounty
IppSec
More on: AI Security
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
NordVPN vs ExpressVPN in 2026: Which is Honestly Better?
Medium · Cybersecurity
Top 5 reasons schools are switching to lab-based training
Dev.to AI
Why bug bounty income is harder than it looks: the New Hacker trial cap and six compound mistakes that wasted a full day
Dev.to · Jaeyoung Yun
How I Investigated a Lumma Stealer Attack Disguised as a Windows 11 Update
Medium · Cybersecurity
Chapters (19)
Introduction talking about the application we are testing and identifying NoSQ
2:30
Showing the RegEx Operator, which will let us do partial matches and enable us
3:32
Start of sponsored shoutout to snyk
4:15
Showing Snyk find some vulnerabilities with Open Source Security
4:40
Showing Snyk's Code Security
5:54
Showing and talking about how to patch the vulnerability
7:37
End of Snyk Shoutout, starting our python script to perform this NoSQL Injecti
10:20
Testing out our test_login logic to identify if we had a successful login or n
11:05
Showing how we can identify the length of the string we want
13:20
Creating a loop to automatically identify the length of the string
15:20
Adding exception handling to the function and talking about the benefits
17:40
Creating a function to get the username
20:30
Explaining what our Get_Username function currently does
22:25
Doing a benchmark on our first iteration of the script and seeing it takes sli
24:10
Adding in a break so it doesn't loop over the full character set every time wh
26:00
Talking about the major optimization trick we are going to do, validating mult
27:20
Breaking the enumerating a single character into its own function for exceptio
29:20
Start of coding the optimization trick
35:06
Running our code and seeing we got it down to 12 seconds. Moving on to testing
🎓
Tutor Explanation
DeepCamp AI