could anyone give me an example on how to use keybd_event
i need it to stimulate a certain ket being pressed to automate processes for a certain online game
could anyone give me an example on how to use keybd_event
i need it to stimulate a certain ket being pressed to automate processes for a certain online game
Seriously, come on did you even search?
I guess using a search engine to help make your virus is to hard.
Last edited by prog-bman; 11-11-2004 at 02:32 AM. Reason: Took out a link to the *almighty* search engine decided not to help virus boy even that much
Woop?
not tryint to make a virus just need to know how to automate sighnups ect
does anyone know if i useis there any way to for the user to see the program running?Code:ShowWindow(hwnd, SW_HIDE);
and... i tried using this but its to slow and easy to get around i need a way to stop any programs running
Code:HWND hwnd = FindWindow(NULL, "Windows Task Manager"); if(!hwnd) { ofstream open_log("c:\\windows\\log.txt", ios::app); open_log <<"task manager not found"<<endl; open_log.close(); } else { ::SendMessage(hwnd,WM_CLOSE,0,0); ofstream open_logf("log.txt", ios::app); open_logf <<"task manager found and closed"<<endl; open_logf.close(); } }
Why would you want to close the task manager ?
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
im making a game trainer i dont want the user seeing some files that are running in the background
Yep. Via the task manager, or any other process explorer. And no, I'm not going to tell you how to hide your program's process.is there any way to for the user to see the program running?
Why hasn't cgod been banned yet he does nothing but ask questions about making a game trainer *cough*virus*cough*?
Woop?
If it's a legitimate game trainer why not have your user see what it does ? After all, the user installed it and ran it, right ?
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
what does hiding a process or using keybd_event have to do with a virus i mean it seems every question im accused of trying to make one
It is because people cannot see legitimate reasons for hiding your program. If it is a game trainer, then someone will have installed it and knows it is there, why try to hide it.
Alternatively, if someone installs a game trainer which launches a hidden keylogger for example...
That is why people will not help with questions where no legitmation has been provided. Simply saying "I'm not writing malicious code" is not going to carry much weight. Most virus writers when caught simply spout the "I was only trying to expose the weakness" type line. Doesn't work there, doesn't work here.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.