Jump to content

Downloader


Recommended Posts

hi, how can i create a script which is automatically download a file from the internet to a given place

@ScriptDir & "\packages\"

and is that possible to don't ask about the download the user? no it won't be a virus or other hacking script. I wan't do do an Anti-Hack script for AssaultCube (overwrite client.exe to a non-infected version and always kill Cheat Engine.exe) [ For example the site is: www.xy.com/123.exe ]

my source code is at the moment is:

FileCopy(@ScriptDir & "\packages\ac_client.exe", @ScriptDir & "\bin_win32\",1)

ProgressOn("Hell Cube HackGuard", "Checking Files", "0 percent")
For $i = 10 to 100 step 5
    sleep(100)
    ProgressSet( $i, $i & " %")
Next
ProgressSet(100 , "Done", "Completed")
sleep(100)
ProgressOff()

Tooltip("Protected By: HackGuard", 0, 0)
Run("assaultcube.bat")
Msgbox(0, "About", "Created by Unc3nZureD", 3)

While 1
ProcessClose ( "Cheat Engine.exe")
Sleep(1000)
ProcessClose ( "Cheat Engine.exe")
Sleep(1000)
WEnd

But i want to change the FileCopy to a downloader. And add a live-progress bar (FAQ).

thanks!

Link to comment
Share on other sites

Id sugest you change this.

While 1
ProcessClose ( "Cheat Engine.exe")
Sleep(1000)
ProcessClose ( "Cheat Engine.exe")
Sleep(1000)
WEnd

to

While 1
If ProcessExists ( "Cheat Engine.exe") Then
ProcessClose ( "Cheat Engine.exe")
EndIf
Sleep(1000)
WEnd

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...