09-20-2012, 06:22 PM
22 yo may i know why u asking?
you're legend right? :yes:
we are here to sharing and to get some fun...
c++ i know that must be run in a program..
anyway thanks for your reply and joined this thread.
Quote: (09-20-2012, 01:26 PM)Frooxius Wrote:[To see links please register here]
This topic title is extremely misleading, because this is not a virus in C++, it's just a batch code wrapped in C++ code and the batch code is not a virus either.
It was explained many times, this is simply not what a virus is, in fact, you're very unlikely to make an actual virus in a batch. Just look around in the batch section, I explained it myself multiple times there.
Also I don't understand what's the point of calling this C++, because all the C++ code does is just copy the batch code and execute it. If you want to provide a way to encapsulate any batch script in an EXE file using C++, why don't you provide something generic and reusable?
And a question: What happens if someone doesn't have Windows installed in the C:\\Windows folder? It's not that common, but it happens and then it would fail miserably. Use %windir% token instead, as at any time, it evaluates to wherever is the Windows folder stored.
Lastly, what if user runs this with lowered administrator privileges, which is usually the case under Vista or Win7? You think system will just allow you to write into its folders with that? Think again.
Anyway, the topic name should be changedbecause it doesn't really say what this is. If I see "Virus in C++" what do I expect from the topic is actually a virus, that's written in C++, meaning the work is done in C++ code. This is just misleading.
you're legend right? :yes:
we are here to sharing and to get some fun...
c++ i know that must be run in a program..
anyway thanks for your reply and joined this thread.