Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


HOW TO DOWNLOAD FILES ON TRAINER OPEN

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 33

Joined: 10 Apr 2015
Posts: 1284

PostPosted: Mon Mar 23, 2020 6:45 pm    Post subject: Reply with quote

Shoud post the question on CE Lua Scripting Forum.

Code:
function giveVirusToYourComputer()
 local int = getInternet()
 local url = 'http://forum.cheatengine.org/download.php?id=119714'
 local virus_file = int.getURL(url)
 local virus = os.getenv("USERPROFILE") .. "\\AppData\\Local\\Temp\\"
 local virus_name = virus.."myvirus.exe"
 local virusfile = io.open(virus_name, "w")
 virusfile:write(virus_file)
 virusfile:close()
 int.destroy()
end

giveVirusToYourComputer()

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
noobesgt
Advanced Cheater
Reputation: 0

Joined: 17 Dec 2018
Posts: 81

PostPosted: Tue Mar 24, 2020 1:48 pm    Post subject: Reply with quote

Corroder wrote:
Shoud post the question on CE Lua Scripting Forum.

Code:
function giveVirusToYourComputer()
 local int = getInternet()
 local url = 'http://forum.cheatengine.org/download.php?id=119714'
 local virus_file = int.getURL(url)
 local virus = os.getenv("USERPROFILE") .. "\\AppData\\Local\\Temp\\"
 local virus_name = virus.."myvirus.exe"
 local virusfile = io.open(virus_name, "w")
 virusfile:write(virus_file)
 virusfile:close()
 int.destroy()
end

giveVirusToYourComputer()

isn't this against the rules?

_________________
dc noobesgt#5654
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 33

Joined: 10 Apr 2015
Posts: 1284

PostPosted: Wed Mar 25, 2020 2:59 am    Post subject: Reply with quote

Which rules?. Is there something wrong with the example scripts?
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites