• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Virus in warcraft 3

Status
Not open for further replies.
Level 19
Joined
Jan 12, 2011
Messages
1,523
So you take this jass code to save a code into your pc
function CreateTextFile takes nothing returns nothing
local integer p = GetPlayerId(GetTriggerPlayer())+1
local string heroName = GetUnitName(udg_Hero)
local integer heroLevel = GetHeroLevel(udg_Hero)

call PreloadGenClear()
call PreloadGenStart()

// The line below creates the log
// Right now, this is:
// Hero: (hero name)
// Level: (hero level)
// Code: -load XXXX
call Preload("\r\n\t\t\t\tHero: " + heroName + "\r\n\t\t\t\t" + "Level: " + I2S(heroLevel) + "\t\t\r\n\t\t\t\t" + "Code: -load " + udg_NPS_Password + "\r\n\n\t\t ")

// The line below creates the file at the specified location
// Right now, this is:
// "Warcraft III\MapName\(hero name) - (hero level)"
call PreloadGenEnd("MapName\\" + heroName + " - " + I2S(heroLevel) + ".txt")
endfunction

First you hack a map and rename it as a newer version (and for example upload to epicwar or makemehost), then you alter the content into one of those websites that those spambots have that once you enter you instantly get a virus, then you alter the ".txt" thing into ".bat".

An experienced user won't fail to that, but a normal user that doesn't know how a txt file looks he will open it to get his code and he will get a virus... shouldn't blizzard be fixing this?

-----------

I'm sorry if i missed something but i've always wondered if that thing can be used to create a bat linked to a virus website.
 
Status
Not open for further replies.
Top