Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

RESOLVED[c++]how to Kill Processes containing word like Injector.exe

Master Summoner
Joined
Oct 7, 2008
Messages
580
Reaction score
15
Re: [c++]how to Kills Processes containing word like Injector.exe

i dont understand multi threading, many of them recommended me that
i am noob in C++
Can anyone help me :(

Ok lemme explain abt Hang
i load the Game Along with the Infinite looped Closehack();
The games process is still running but the Game doesnt appear on the screen
u can only see it on taskmanager which is freezed with Approx 6000 K memory usage
 
Custom Title Activated
Loyal Member
Joined
May 18, 2006
Messages
2,065
Reaction score
14
Re: [c++]how to Kill Processes containing word like Injector.exe

 
WowIwasSuperCringeB4
Loyal Member
Joined
Jun 21, 2008
Messages
1,297
Reaction score
226
Re: [c++]how to Kills Processes containing word like Injector.exe

error C2065: 'cin' : undeclared identifier
error C2228: left of '.get' must have class/struct/union type

std::cin....
 
Master Summoner
Joined
Oct 7, 2008
Messages
580
Reaction score
15
Re: [c++]how to Kill Processes containing word like Injector.exe

how do i do multi threading ?

is this multi thread?
Code:
void CloseHack111()
{
	PostMessage (FindWindow(0,"InjeX"),WM_CLOSE,0,0);
	PostMessage (FindWindow(0,"AC Tools"),WM_CLOSE,0,0);
}

void CloseHack222()
{
	PostMessage (FindWindow(0,"InjeX"),WM_CLOSE,0,0);
	PostMessage (FindWindow(0,"AC Tools"),WM_CLOSE,0,0);
}
void CloseHack333()
{
	PostMessage (FindWindow(0,"InjeX"),WM_CLOSE,0,0);
	PostMessage (FindWindow(0,"AC Tools"),WM_CLOSE,0,0);
}
 
Experienced Elementalist
Joined
Mar 15, 2009
Messages
219
Reaction score
39
Re: [c++]how to Kill Processes containing word like Injector.exe

Just go learn some more C++ before you try to code an anti-hack. If you're a noob at C++, what makes you think you can make a decent anti-hack compared to the ones that are already coded by professionals and bypassed? Think about it.

Learn to crawl before you run a marathon.
 
WowIwasSuperCringeB4
Loyal Member
Joined
Jun 21, 2008
Messages
1,297
Reaction score
226
Re: [c++]how to Kill Processes containing word like Injector.exe

Just go learn some more C++ before you try to code an anti-hack. If you're a noob at C++, what makes you think you can make a decent anti-hack compared to the ones that are already coded by professionals and bypassed? Think about it.

Learn to crawl before you run a marathon.

Lol RoA. What a great way to HELP! :p
 
Master Summoner
Joined
Oct 7, 2008
Messages
580
Reaction score
15
Re: [c++]how to Kill Processes containing word like Injector.exe

Just go learn some more C++ before you try to code an anti-hack. If you're a noob at C++, what makes you think you can make a decent anti-hack compared to the ones that are already coded by professionals and bypassed? Think about it.

Learn to crawl before you run a marathon.

Get off this section if u are not here to help
The section says

Need help coding? Get it here!
 
Master Summoner
Joined
Jun 11, 2006
Messages
518
Reaction score
0
Re: [c++]how to Kill Processes containing word like Injector.exe

Get off this section if u are not here to help
The section says

Need help coding? Get it here!

It doesnt say "Do my code for me", you do have to have a basic understanding of how things work, you're not going to get spoonfed.
 
WowIwasSuperCringeB4
Loyal Member
Joined
Jun 21, 2008
Messages
1,297
Reaction score
226
Re: [c++]how to Kill Processes containing word like Injector.exe

It doesnt say "Do my code for me", you do have to have a basic understanding of how things work, you're not going to get spoonfed.

-.- tsk tsk tsk. He posted his own code. He just wasn't sure of some things. Srsly GTFO lol.
 
Master Summoner
Joined
Jun 11, 2006
Messages
518
Reaction score
0
Re: [c++]how to Kill Processes containing word like Injector.exe

-.- tsk tsk tsk. He posted his own code. He just wasn't sure of some things. Srsly GTFO lol.

He pretty much asked for someone to rewrite his code with threading.

Hop off'
 
Master Summoner
Joined
Oct 7, 2008
Messages
580
Reaction score
15
Re: [c++]how to Kill Processes containing word like Injector.exe

alrite ill try doing it myself.!!
thanks for the help everyone
 
Master Summoner
Joined
Oct 7, 2008
Messages
580
Reaction score
15
Re: [c++]how to Kill Processes containing word like Injector.exe

Thank you all i managed to do it myself and its working now.

Threading helped it :D
<3
 
WowIwasSuperCringeB4
Loyal Member
Joined
Jun 21, 2008
Messages
1,297
Reaction score
226
Re: [c++]how to Kill Processes containing word like Injector.exe

Thank you all i managed to do it myself and its working now.

Threading helped it :D
<3

Np? Lol. (10char)
 
Experienced Elementalist
Joined
Apr 2, 2008
Messages
271
Reaction score
24
Re: [c++]how to Kill Processes containing word like Injector.exe

Include System.Threading, then:
Code:
public bool killer = true;

then, to start killing them:
Code:
Thread killz = new Thread(CloseHack());
killz.Start();

To stop killing:
Code:
killer=false;

Code:
public void CloseHack()
{
while(killer)
  {
	PostMessage (FindWindow(0,"InjeX"),WM_CLOSE,0,0);
	PostMessage (FindWindow(0,"AC Tools"),WM_CLOSE,0,0);
             Thread.Sleep(100);
  }
}

I'm at school atm (without C#) but it should work
 
Master Summoner
Joined
Oct 7, 2008
Messages
580
Reaction score
15
Re: [c++]how to Kill Processes containing word like Injector.exe

Thanks Kerelmans
but i already got this thing working :D
 
Junior Spellweaver
Joined
Jun 1, 2009
Messages
129
Reaction score
0
Then maybe you should post how you did it then, for those who might drop by the thread by Google or Ragezone search. There's no point in using the search function if people just say that they got it working, now is it?
 
Custom Title Activated
Loyal Member
Joined
May 25, 2007
Messages
1,025
Reaction score
31
Re: [c++]how to Kill Processes containing word like Injector.exe

Include System.Threading, then:
Code:
public bool killer = true;
then, to start killing them:
Code:
Thread killz = new Thread(CloseHack());
killz.Start();
To stop killing:
Code:
killer=false;
Code:
public void CloseHack()
{
while(killer)
  {
    PostMessage (FindWindow(0,"InjeX"),WM_CLOSE,0,0);
    PostMessage (FindWindow(0,"AC Tools"),WM_CLOSE,0,0);
             Thread.Sleep(100);
  }
}
I'm at school atm (without C#) but it should work
Yeah, about that...that code is C#; katsumi is asking for help with something programmed in a totally different and more complex language...:p:
 
Junior Spellweaver
Joined
Mar 18, 2007
Messages
199
Reaction score
37
Re: [c++]how to Kill Processes containing word like Injector.exe

Just go learn some more C++ before you try to code an anti-hack. If you're a noob at C++, what makes you think you can make a decent anti-hack compared to the ones that are already coded by professionals and bypassed? Think about it.

Learn to crawl before you run a marathon.

Hey man last time i checked thes forums where ment for help not poop talking and telling someone there a noob at something...i respect the fact that you tell someone they need to learn coding first, but you dident help at all...Its poop like this that makes thes forums go to poop...as for katsumi, i dont think single threading is applicable whilest running against other programs deffinently most hacks. If you want to learn more about thes types of programs try learning multi threading and then you should be abit more in the clear. Other than that i doubt your gonna do anygood agianst a good hacker lol. Most real hackers dont come to forums they do the poop them selves. Also if your wanting to learn this quick and easy i sugject a dummy book lol...

One last thing. This will not help you. Most viruses write files to the registry and rename a file to a random name nowadays. You would more than likley want to look on your processes for anything abnormal then search your drives for that processes name then search the registry for something obtaining to the name of the process you close. I do not recommend this as to most people dont know poop about the reg files. GL hope that helped abit
 
Ginger by design.
Loyal Member
Joined
Feb 15, 2007
Messages
2,340
Reaction score
653
What exactly do these two programs, "InjeX" and "AC Tools" do?

If you really want to detect cheats.. like a real anticheat.. you're going to need a lot more work/knowledge than "FindWindow" searching.

If you know what they do.. I can better help you write code that will beat them. But if you're trying to stop memory editing tools like trainers, good luck doing much without a rootkit of some kind.
 
Back
Top