Creating virus using programming language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Creating virus using programming language

How can I make a simply disturbing virus using a programming language. I've heard in wikihow i can use Ruby or Python to make a virus isn't?(I just want to know not to make😁)

11th Apr 2017, 11:42 PM
pratama
pratama - avatar
5 Answers
+ 13
File bomb in C++, corresponding to @MrCoder's Ruby code: https://code.sololearn.com/cGmaciug1dkk/?ref=app You can also check out @Luka's codes for more power of the Dark Side. :>
12th Apr 2017, 12:30 AM
Hatsy Rei
Hatsy Rei - avatar
+ 9
I've made a file bomb virus in Ruby, I'll do it even more dangerous on Python.
12th Apr 2017, 12:01 AM
MrCoder
MrCoder - avatar
+ 5
hehehe... Thanks
12th Apr 2017, 12:04 AM
pratama
pratama - avatar
+ 2
You can create a virus by pretty much any object-oriented programming language if you know what you're doing. if u want something disturbing pack a file that plays a loud noise or smth for quite a while, do it only for fun and messing around with friends tho. Happy coding! xD
11th Apr 2017, 11:55 PM
Nabil Tharwat
Nabil Tharwat - avatar
+ 2
It depends of what you want of your virus to do. Ruby and Python are interpreted languages, which "destructive" abilities are hardly restricted by its runtime environment. For really menacing viruses you should use some compiled language with ability to low level memory manipulation, which code also can be compiled in small standalone executable files. It is languages like C or C++ or even Assembly if you know what you do. Also you should have decent programming skill and understanding of computer systems at all to be able to code such scripts in proper way. If you are beginner its better to start learning from less complicated tasks.
12th Apr 2017, 12:13 AM
Jeth
Jeth - avatar