Recently I downloaded resources, you can as well call the manuals to use in learning hacking tricks as I embarked on this venture two weeks ago. I have found out that most dangerous code of virus and malicious programs are written in C and C++. And what secret do hackers find in notepad?
closed as unclear what you're asking by Alexander O'Mara, Steffen Ullrich, John Deters, techraf, nealmcb Oct 18 '16 at 1:06
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
C is a language that allows direct access to low-level resources. It was originally built to implement the Unix OS, so by its nature it allows you to do things at a system level - which is convenient for exploits.
A consequence of this is that compiled C programs often don't need external dependencies - as is pointed out by paj28 in the comments.
C++ was originally built on top of C, and has the same access to low level operations.
As an example, C allows for direct manipulation of memory through pointers. Once a pointer is created, it can be added to or subtracted from to point at other memory locations. With a little creativity, this can be used for nefarious purposes.
By contrast, Java and C# do not allow this type of manipulation. They do not allow a user to add or subtract to a so-called reference variable (the Java and C# equivalent of C's pointers).
Traditionally, C and C++ are translated directly into machine code, whereas many modern languages such as Java and C# are translated to code for virtual machines (JVM and CIL code). Compilers that translate C and C++ directly to machine code are readily available on almost every platform; less so for compilers that translate Java or C# directly to machine code.
C is already implemented in most Distros and it's a language that grants "deep" access to system ressources which makes it a perfect choise for exploting vulnerabilities.
Also, C is well tested and specified.
About the notepad part.. I'm not sure what you mean with that, but I'm using an IDE for that.