Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

c++ Finding a list of proccess

So what I want to do is make a exe that searchs for newly created proccess's . How would I do that? Sorry I'm so noob at c++
Why don't you just use your task manager?
[Image: fUlyQiC.gif]
(Oct 7, 2014 12:53 PM)Baws. Wrote:  Why don't you just use your task manager?

This game that I'm working on anti-cheat is hideing the process
(Oct 7, 2014 12:51 PM)Ammy Wrote:  So what I want to do is make a exe that searchs for newly created proccess's . How would I do that? Sorry I'm so noob at c++

Upon program start up: Record and log all currently active processes that are running.

Good luck! Let us know how your programming journey goes. I'll be here to silently observe.
Is there any such thing as a woman of honor, and sincerity?

https://www.PutItOnMute.com/

4K HDR, WDR time-lapsed truck driving videos!
Maybe you can set a global hook on the CreateProcess API
Just read about CreateToolhelp32Snapshot API in MSDN.
(Oct 8, 2014 01:50 AM)Muntailor Wrote:  Just read about CreateToolhelp32Snapshot API in MSDN.

This is the correct answer.

There's one other (slightly more complex, less effective, more annoying) solution (without using that portion of the Win32 API).
Is there any such thing as a woman of honor, and sincerity?

https://www.PutItOnMute.com/

4K HDR, WDR time-lapsed truck driving videos!
As Mutailor correctly said reateToolhelp32Snapshot API is correct answer. To build upon to that I'd like to say using NT system calls to capture "live" process running on the computer, the function is called NtQuerySystemInformation which is available and is documented heavily.

I'm sure Irritable was pointing towards this function, so I will partially give this credit to Irritable.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by Sh4d0w_C0d3rJan 21, 2020 10:39 AM 4 154 Jan 21, 2020 10:39 AM
Last Post: Sh4d0w_C0d3r
[.NET] by PabloEscarNarkJul 3, 2018 04:57 AM 3 213 Jul 3, 2018 04:57 AM
Last Post: PabloEscarNark
[Python] by Ineed2learn2eatJul 13, 2017 10:48 AM 3 230 Jul 13, 2017 10:48 AM
Last Post: Ineed2learn2eat