Is that possible to send viruses using JavaScript? | Sololearn: Learn to code for FREE!

0

Is that possible to send viruses using JavaScript?

5/21/2018 4:39:41 PM

HIMANSHU MEHRA

7 Answers

New Answer

+5

Interpreting "virus" as "malicious code"...kindof...but generally not by writing a normal program, i.e., you'd be misusing the language in some highly specific way. This fact alone is going to present a LOT of challenges to anyone just learning how to code in the normal way. This answer is given because nobody should think it's 100% safe in the wild.

+12

var a=require ("virus"); a.sendTo("cipherfox"); a.succesful?("Take over the world")

+7

lol Brains

+6

I would say yes, since JavaScript runs locally on people's pc when they load a webpage. I don't know enough about JavaScript to say how common or effective it is. By the way, don't send viruses! That's illegal in most places, not to mention mean!

+5

Brains really is that possible, to send an virus😯

+4

Xpl0it Yes, sorry, for that,😃

+1

^Lmao. Clearly Sanjeet didn't read.