That's not a virus. That's just a piece of code that does bullshit on other people's computers. By definition virus is a piece of code that can replicate itself!
This doesn't disable the Task Manager, it only detects if it's open, and once it's open it closes it. The problem with that is, someone can easily exit the console window, to end the program, allowing the Task Manager to run again. So you'd need a class to hide prevent the console from closing.
Nice, but, wouldn't it be easier just to create a registry value to disable task manager? That way it would prevent the user from even opening the Task Manager window. :D
ok and my is the best: i replace int main() with int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) and replace Sleep(1000); with Sleep(100);
you need to compile your cpp file. in the video, jdswfan013 uses g++. you can also use other ways. just google "how to compile a cpp file". that should do the trick.
It's not a virus. But still shows you know some Win32. One way you try to do that is call FindWindow in a loop and terminate once found. Or a CreateWindow/Ex maybe even a RegisterClass hook which basically checks if the TaskManger class is registered or made.
Programming is like Lego. You're given a set of tools and you can create what you want out of that. There isn't some fixed set of secret "codes" that you have to learn. And that aside, virus-writing is lame.
FindWindow(NULL, "#32770");
this part doesnt work for me. It says: "Argument of type "Const char *" is incompatible with parameter of type "LPCWSTR"
And my Visual studio disagrees to compile it.
EdaLinhart 3 months ago
You're a true coder, mate. Good programmers are writing in notepad :D
TheFreeHackerSpirit 4 months ago
The major problem is that the code does not disable any but the English version of Task Manager.
Nhckrify44 11 months ago
@Nhckrify44 Change "FindWindow(NULL, "Windows Task Manager")" to "FindWindow("#32770", NULL)", it might work.
LUKASHSANCHES 6 months ago
That's not a virus. That's just a piece of code that does bullshit on other people's computers. By definition virus is a piece of code that can replicate itself!
Tracer1808 11 months ago
rundll32 Task Manager, disabled save.bat
alexparoscus 1 year ago
This doesn't disable the Task Manager, it only detects if it's open, and once it's open it closes it. The problem with that is, someone can easily exit the console window, to end the program, allowing the Task Manager to run again. So you'd need a class to hide prevent the console from closing.
PushXOR 1 year ago
@PushXOR FreeConsole()
Console is now hidden.
bbqsauceonmycock 6 months ago
@PushXOR Ive got the perfect code for hiding the console :D
Zookei 2 months ago
When you download the source file you have to change WM_Close to WM_CLOSE to compile it.
gamehugs 1 year ago
noob
leet137 1 year ago
Nice, but, wouldn't it be easier just to create a registry value to disable task manager? That way it would prevent the user from even opening the Task Manager window. :D
CooperLuke1 1 year ago
strange that wont work in my pc
however it works in my friends ....
YorkeKin 1 year ago
Thanks, I was wondering how to close a file.
MrPonebo 1 year ago
pointless..... i like .bat viruses on notepad... there acctualy realy cool and deadly.
gamerbot101 1 year ago
@gamerbot101 You really dont know shit about hacking/programming.
071598dave 1 year ago
nice
101abob 1 year ago
Can i Reverse this thing somehow?
gottn211 1 year ago
Dude you do not disable taskmgr! You just close it everytime some1 opens it....To disable you have to add a reg entry at run/policies
carstenclay2 1 year ago
ur a fucking asshole
honeyyou12 1 year ago
this is stupid
xxHitmanxxORxx 1 year ago
cant create it with visual c++ 2008???????
Shadddoww 2 years ago
How can you fix it ? Do you restart your computer..
xXWhiteBoy89Xx 2 years ago
haha i can make it better, just add FreeConsole(true);
task manager will never be open again unless you restart the pc
Crawletas 2 years ago
ok and my is the best: i replace int main() with int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) and replace Sleep(1000); with Sleep(100);
dertyp3000 2 years ago
good
unknownliviu 2 years ago
Great ! Now put a video on how to fix the task manager ! I am a victim of this hack........Thanks ..
ErikJThompson 2 years ago
so what you pop it in a notepad and program it in cmd and you can send it or something :S
srry i never coded in my life before XD
raver345 2 years ago
♦You're stupid♦
thesmartdjmarsh 1 year ago
Comment removed
Upspeede 2 years ago
me ....
stefannikolovski1234 1 year ago
I 've tried everything and it won't open as a cmd file
170819901 2 years ago
you need to compile your cpp file. in the video, jdswfan013 uses g++. you can also use other ways. just google "how to compile a cpp file". that should do the trick.
tekg33k93 2 years ago
I have a guild on how to set up mingw (g++), check it out =)
jdswfan013 2 years ago
what's mingw(g++)? or is that just a typo?
yo3443 2 years ago
@jdswfan013 what is g++?
yo3443 1 year ago
It's not a virus. But still shows you know some Win32. One way you try to do that is call FindWindow in a loop and terminate once found. Or a CreateWindow/Ex maybe even a RegisterClass hook which basically checks if the TaskManger class is registered or made.
AES256bit 2 years ago
Except that it's not a virus at all because it doesn't copy itself. It's just a lame GUI trick.
equin0x80 3 years ago
yeah i know.... my next vid will have it copy itself to the system32 directory and start at startup.
jdswfan013 3 years ago
Which still isn't a virus, because viruses spread from one machine to another.
equin0x80 1 year ago
@equin0x80 do you know any c++ codes that are real viruses?
MrBobsrevenge 1 year ago
Programming is like Lego. You're given a set of tools and you can create what you want out of that. There isn't some fixed set of secret "codes" that you have to learn. And that aside, virus-writing is lame.
equin0x80 1 year ago
how do you do compile with cmd o.O thats awesome :D
THEBUGUSER 3 years ago
Check out my other video "How to install, download and set up mingw"
It will show you how to set up to compile with cmd ^^
jdswfan013 3 years ago
thanks man :D
THEBUGUSER 3 years ago
hey, you can change the while(running=true) to while(1) and remove the running variable
greatbird451 3 years ago 2
Thx for the tip ^^
jdswfan013 3 years ago
goku
ArKaNeSSS 3 years ago
lol you do
Fisto011 3 years ago
lolol, you fail at making viruses
honeyredxbox 3 years ago