In this video we're talking about data breaches and using Notepad++.
So generally with data breaches.
And I do love using data breaches for connecting things together.
Things like if I have an email address, I'll check data breach either online or the breaches that I
have, or if I have a password or a username, I'll check it against these data breaches, see if I
can match it up with a person.
Now, if you if you have your own data breach, that things that you grab from online or other compilation
of breaches and you put it into a file, I like putting it into either XLS file or not.
Excel CSV file.
You could do a XLS or a text file, and when you download these breaches, typically it's either a text
file or a CSV file.
Sometimes it's a PDF, or more often than not, it's a lot of times it's going to be a.
TXT file And indexing these files can be kind of a pain in the butt.
That's why I like using Notepad++.
Now you could set up something like a SQL database or some sort of database to read that stuff.
If you know that stuff, fantastic.
Go ahead and do that.
For me, I'm not a like a SQL database guy.
So that's why I will generally use things like Notepad++ for it.
And this is free for windows, Linux, Mac.
And it's pretty easy to use.
Now sometimes you'll end up with a data breach like this.
And this is one I messed around with the password.
So this particular one, this is a small section of what it really is.
The actual data breach.
I got contained somewhere about 135,000 plus accounts in there.
And the problem is those 135,000 plus accounts end up on one line.
So that makes it really hard to go through and start searching stuff.
Um, even if I did a search function, it's just going to be one long line.
I don't particularly like that.
Now to fix it.
It'd be nicer if all these were on separate lines.
And of course, I can go in here and I could enter and then start dropping these down one by one.
But again, for 135,000 plus accounts.
I don't think so.
So an easier way to do that is you can open up your notepad plus plus a file.
You do control H and that will open up this.
Okay.
So we have our slash backslash s backslash n.
And we want to make sure regular expressions are is checked there.
Okay.
Then I'm going to do replace all.
And now we have all of these on separate lines here.
So again, really easy.
It makes it a whole lot easier to read.
And also, if we close this out, if I want to search for anything in particular, I can go to search
here.
And I could do find or I could do Ctrl f and pull up the search box and I could do some like outlook.
Hit enter or do find next and it'll look for anything that has outlook there.
Or if I'm looking for a that's if I'm looking for a particular email type or if I'm looking for a particular
username.
Let's say I'm looking for Edgar, I click, I type in Edgar, I do find next and it'll find Edgar here.
Likewise if I have if I say searching for Gmail, I could do find next.
And it'll highlight every user that has Gmail in there.
So again just some simple things that makes life a whole lot easier when we're indexing this type of
stuff.
Thanks for watching.
I'll see you next video.