How To Enumerate Processes On Windows

  Рет қаралды 5,151

Nathan Baggs

Nathan Baggs

Ай бұрын

How to use the Win32 API and C++ to enumerate all the running processes. This is cut down from a livestream, subscribe to get notifications and join in on us building a hacking toolkit
Get the code: github.com/nathan-baggs/blind_io
Become a member to get early access to videos (and to previous livestreams in full) - / @nathanbaggs
Want to build cool stuff from scratch? app.codecrafters.io/join?via=...
💭 All views are my own 💭

Пікірлер: 58
@danielschmid8530
@danielschmid8530 29 күн бұрын
Really glad I found this gem of a man. As someone at home in C#, Python and TypeScript I've dipped my toes in C++ and ASM for game hacking and 3D software plugins, but "dipping toes" only gets you so far. By watching your videos I've learned so much. I'm excited for your next stuff!
@IvyHale151
@IvyHale151 Ай бұрын
Used this to nerd snipe my husband! He calls you a professional while respectfully disagreeing with some points. 10/10 would nerd snipe him with your videos again
@distortions
@distortions Ай бұрын
whats "nerd snipe" lol
@Bruiserjoe
@Bruiserjoe Ай бұрын
​@distortions I think it's like nerd one upping but you just do it out of no where?
@nathanbaggs
@nathanbaggs Ай бұрын
xkcd.com/356/ is where the term originates
@nathanbaggs
@nathanbaggs Ай бұрын
Glad he enjoyed it!
@christopherbennett1173
@christopherbennett1173 29 күн бұрын
​@@nathanbaggsthis guy nerds
@edol33t
@edol33t Ай бұрын
"I think this is a good place to sto-" 😂
@nathanbaggs
@nathanbaggs Ай бұрын
Become a member to get early access to videos (and to previous livestreams in full) - kzbin.info/door/QvW_89l7f-hCMP1pzGm4xwjoin
@qwertyboguss
@qwertyboguss Ай бұрын
Sneaky how you off cam corrected the do/while check from divion to multiplication for the byte size to check. Almost thought I was going crazy when it didn't error there.
@nathanbaggs
@nathanbaggs Ай бұрын
Actually I was doing this on livestream and someone pointed it out! I just cut it down to focus on the technical content
@qwertyboguss
@qwertyboguss Ай бұрын
Makes sense. Thanks for the great content!
@roryoconnor8674
@roryoconnor8674 Ай бұрын
Ive only found your videos the past few days. I want to know how to backwards engineer so im going to follow. Right now... im trying to figure out how to use gradle, and how to use that to build ghidra. Its alot of fun (its not, it makes no sense)
@nathanbaggs
@nathanbaggs Ай бұрын
If it helps you can go to the ghidra github and they have pre-built releases
@cheaterman49
@cheaterman49 Ай бұрын
Better to backwards engineer than to frontyard engineer for sure
@niczoom
@niczoom Ай бұрын
Interesting as always. Even though you explained what happening in "Bio" I'm totally lost but still a great video!
@TheStevenWhiting
@TheStevenWhiting Ай бұрын
Is this kinda how Process Explorer gets all the PIDs and displays them?
@MyMineBlocky
@MyMineBlocky 23 күн бұрын
Usually it's with NtQuerySystemInformation
@sanderbos4243
@sanderbos4243 Ай бұрын
Really nice tutorial!
@SirJohn2024
@SirJohn2024 Ай бұрын
Love this.... Kudos😎
@VioletGiraffe
@VioletGiraffe Ай бұрын
File names can very much be longer than MAX_PATH, default MAX_PATH is only 256. And when you have a longer path, some software starts failing :)
@LightTheMars
@LightTheMars Ай бұрын
It's really a testament to backwards compatibility that long paths still aren't enabled by default. The option for long paths has been available for almost a decade now. It's both a blessing and a curse.
@JohnDoe-xk2sj
@JohnDoe-xk2sj Ай бұрын
Nice presentation of the minimal needs for a properly implemented class. You also get bonus points for using Firefox :-D
@madamsmith9175
@madamsmith9175 Ай бұрын
you need to upload more regularly love the videos
@GameBacardi
@GameBacardi Ай бұрын
Does Steam program use this kind method? I hate when try host modern SRCDS downloaded from SteamCMD in same PC (windows) where you run game as well. If you have SRCDS already running on background, Steam program would not let you open same game mod, Steam check and notice same SteamAppID on background. To able to run both programs, you need run first game, after that open SRCDS. This "problem" started from Left 4 Dead and cs:go era. Old HL2 games (css, tf2) works fine.
@a.sultan7227
@a.sultan7227 Ай бұрын
sorry this is off topic but sir i've been watching you for a while and i feel like you would give me great advice on my hurdles .i feel the imposter syndrome doing competitive programming been 5 months now and no improvement at all and for people who started the same time as me they reached great heights in rank and in competition unlike me even tho i like it but i always find myself unable to deliver my thoughts into the implementation to c++ can you recommend me anything to improve and get better thanks!
@sanderbos4243
@sanderbos4243 Ай бұрын
I recommend spending the time on doing whatever small programming projects you feel motivated to do, like making a small terminal game like snake, or writing a small 2D Minecraft clone if you're feeling adventurous. Do lots of small projects and the imposter syndrome will fade away over time (but it never truly goes away, that's just how it is).
@nathanbaggs
@nathanbaggs Ай бұрын
If it helps I’ve never once done competitive programming. The advice I can offer is that you can’t compare yourself to others, just focus on your own journey. For more specific advice the best way to learn to code is to just write more code, but make sure you reflect, ask yourself: what went well, what did I not understand, what was difficult etc. Then try again and improve one thing at a time
@a.sultan7227
@a.sultan7227 Ай бұрын
thank you all for the advices i'll work on them accordingly
@michaelsmith7739
@michaelsmith7739 Ай бұрын
Is that a Discworld reference I spot there with regard to the project’s name?
@nathanbaggs
@nathanbaggs 29 күн бұрын
Yes!
@michaelsmith7739
@michaelsmith7739 29 күн бұрын
@@nathanbaggs noice!
@KX36
@KX36 Ай бұрын
You don't need to implement operator== and operator!= any more (C++20 I think?). operator== implies operator!= and the compiler does it for you. Same with operator, implies =.
@1192aa
@1192aa Ай бұрын
Do you livestream on youtube or twitch? and what common times cuz i wanna watch just never catch u
@nathanbaggs
@nathanbaggs Ай бұрын
Here on KZbin. I'm aiming for 2000 BST every Saturday (but sometimes might be Sunday). Will schedule it a few days before so everyone can see when it is
@Stjaernljus
@Stjaernljus Ай бұрын
on youtube but you have to be a channel member to see past streams.
@Thomas-Larsen
@Thomas-Larsen Ай бұрын
You probably know this already but the path length of 260 can be changed on newer versions of Windows
@nathanbaggs
@nathanbaggs Ай бұрын
Yeah and someone even mentioned this on stream, just wanted to keep the focus as narrow as possible
@biigsmokee
@biigsmokee Ай бұрын
is it normal gamehacking is easier than doing stuff like this?
@mrboblox4444
@mrboblox4444 Ай бұрын
usually no, especially in the era of kernel mode anticheats, not at all, usually you take much more lower level approaches
@mrboblox4444
@mrboblox4444 Ай бұрын
depends on the game, the "methods" used and what do you consider "normal" game hacking sir :D
@TheStevenWhiting
@TheStevenWhiting Ай бұрын
Shame not full stream and £5 a month for a sub to watch the full version is a massive stretch when you get the likes of Disney+ for the same price.
@jhax
@jhax Ай бұрын
The content isn't a bunch of Disney or Netflix shows lmao. This is a niche subject being taught by a single person with many years of experience. You're comparing apples to oranges. Just because I can buy a kg of flour for a dollar doesn't mean I can buy a kg of beluga caviar for the same price.
@Finkelfunk
@Finkelfunk Ай бұрын
Yes shame on Nathan for wanting something to eat. Now dance for my amusement, code monkey!
@TheStevenWhiting
@TheStevenWhiting Ай бұрын
You have a small point maybe but its still expensive. Think about all the streaming services people already pay for. Then you'd add this. You'd get more people sign up if it was £1 than you would at £4.99 ​@@jhax
@TheStevenWhiting
@TheStevenWhiting 29 күн бұрын
@@jhax I replied to this but appears to have disappeared. My point is there are so many other streaming services others are paying for, to then pay £5 for this, you'd probably get a lot more subs with a lower price.
How To View Process Memory On Windows
25:55
Nathan Baggs
Рет қаралды 4,1 М.
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 136 М.
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 15 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 3 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 36 МЛН
I Made A Virus - I Instantly Regretted It
12:44
Nathan Baggs
Рет қаралды 18 М.
How To Manipulate Process Memory On Windows
31:33
Nathan Baggs
Рет қаралды 2,8 М.
Software Reverse Engineering with Ghidra
31:08
CAE in Cybersecurity Community
Рет қаралды 11 М.
Fixing Multiplayer Of A 25 Year Old Game
12:37
Nathan Baggs
Рет қаралды 96 М.
How Microsoft Accidentally Backdoored 270 MILLION Users
14:45
Daniel Boctor
Рет қаралды 238 М.
MS-DOS has been Open-Sourced!  We Build and Run it!
15:01
Dave's Garage
Рет қаралды 392 М.
How I Hacked Balatro To Get An Impossible Score
10:22
Nathan Baggs
Рет қаралды 10 М.
reverse engineering makes you a better programmer (let’s try it out)
13:12
Low Level Learning
Рет қаралды 108 М.
Is C++ better than C?
1:46:10
Tsoding Daily
Рет қаралды 36 М.
How Do Hackers Actually Cheat In Games?
12:38
Nathan Baggs
Рет қаралды 29 М.