Results 1 to 10 of 10
  1. #1
    IWillNeverUnderstand's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    472
    Reputation
    136
    Thanks
    1,234
    My Mood
    Cheeky

    file download and execute

    is it possible for someone to make a small 0>5kb program that downloads and executes a bigger file. (must all be .exe)
    maybe make a program that makes the program (inputs). if you don't get me, pm me.

  2. #2
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    sounds malicious. (or any generic 'installer') -- you're not allowed to do such here at mpgh. And any conscious user won't appreciate it when you download executable automatically w/o letting them approve first.

    Yes it's possible, but I doubt anyone will help you.
    Last edited by abuckau907; 11-20-2013 at 08:35 PM. Reason: to say gtfo : )
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  3. #3
    IWillNeverUnderstand's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    472
    Reputation
    136
    Thanks
    1,234
    My Mood
    Cheeky
    it's more in the idea of an auto update feature. Also allows for a faster transfer of certain files. (over skype)

  4. #4
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted
    5kb applications in .net framework? nope

  5. #5
    IWillNeverUnderstand's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    472
    Reputation
    136
    Thanks
    1,234
    My Mood
    Cheeky
    Quote Originally Posted by Biesi View Post
    5kb applications in .net framework? nope
    what language would you suggest then? C++? VBS? Python?

    Batch and web-based languages are impossible as far as I know.

  6. #6
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted
    Quote Originally Posted by niels1189 View Post
    what language would you suggest then? C++? VBS? Python?

    Batch and web-based languages are impossible as far as I know.
    Just use vb.net, download the file, save it somewhere and execute it

  7. #7
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by niels1189 View Post
    it's more in the idea of an auto update feature. Also allows for a faster transfer of certain files. (over skype)
    How does it allow for faster transfer of files? Now not only do you need to download the original file, you need to download the installer first as well.

    Given the specifications you've stated, this sounds malicious to me. It's very easily done, though. Just google something like "Download file VB.NET" and "Start process VB.NET" then string the two together; not hard.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  8. #8
    mastalol's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Beech Island South Carolina
    Posts
    201
    Reputation
    10
    Thanks
    148
    My Mood
    Yeehaw
    I agree with the others above, however, I know how it is when you want to make an updater and no-one will help..

    NOTE: I AM NOT RESPONSABLE FOR WHAT YOU DO WITH THE CODE! REMEMBER MPGH DOES NOT ALLOW PROGRAMS TO ACCESS THE INTERWEBS WITHOUT SPECIAL REASONING WHICH GOES THROUGH A MINION FIRST!


    either way here is an example download script, I am not sure how to check if the file is downloaded though...
    You must import the following:
    Code:
    Imports System,IO (replace coma with period.)
    Here is the download code:
    Code:
    My.Computer.Network.DownloadFile("https://yourwebsite.com/file.txt", "C:\FILE.txt", False, 60000)
    
    Here is what each thing means, just ignore false it has to do with a login:
    My.Computer.Network.DownloadFile("FILE LOCATION", "FILE DESTINATION", False, TIMEOUT)
    Here is the execute code:
    Code:
    Process.Start("C:\file.txt")
    #ateveroneelse
    No offence to poster...
    Do you really think someone who does not know how to do this can code something malicious???


    EDIT: Here is a way to ask the user if they want to download the file:
    Code:
    Dim close As String
            close = MsgBox("Do you want to download this file?", MsgBoxStyle.YesNo + MsgBoxStyle.Exclamation, "Downloader")
            If close = vbYes Then
               'CODE HERE 
            End If
    @niels1189
    Last edited by mastalol; 11-30-2013 at 10:16 PM.

  9. #9
    IWillNeverUnderstand's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    472
    Reputation
    136
    Thanks
    1,234
    My Mood
    Cheeky
    Quote Originally Posted by mastalol View Post
    I agree with the others above, however, I know how it is when you want to make an updater and no-one will help..

    NOTE: I AM NOT RESPONSABLE FOR WHAT YOU DO WITH THE CODE! REMEMBER MPGH DOES NOT ALLOW PROGRAMS TO ACCESS THE INTERWEBS WITHOUT SPECIAL REASONING WHICH GOES THROUGH A MINION FIRST!


    either way here is an example download script, I am not sure how to check if the file is downloaded though...
    You must import the following:
    Code:
    Imports System,IO (replace coma with period.)
    Here is the download code:
    Code:
    My.Computer.Network.DownloadFile("https://yourwebsite.com/file.txt", "C:\FILE.txt", False, 60000)
    
    Here is what each thing means, just ignore false it has to do with a login:
    My.Computer.Network.DownloadFile("FILE LOCATION", "FILE DESTINATION", False, TIMEOUT)
    Here is the execute code:
    Code:
    Process.Start("C:\file.txt")
    #ateveroneelse
    No offence to poster...
    Do you really think someone who does not know how to do this can code something malicious???


    EDIT: Here is a way to ask the user if they want to download the file:
    Code:
    Dim close As String
            close = MsgBox("Do you want to download this file?", MsgBoxStyle.YesNo + MsgBoxStyle.Exclamation, "Downloader")
            If close = vbYes Then
               'CODE HERE 
            End If
    @niels1189
    Thx, I'll see if it works out. Btw, is it possible to get this type of code but then for c#?

  10. #10
    mastalol's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Beech Island South Carolina
    Posts
    201
    Reputation
    10
    Thanks
    148
    My Mood
    Yeehaw
    Sorry I don't know C#... @niels1189

Similar Threads

  1. [Info] Injectors download + How to use a .dll file[Video and Text]
    By Drake in forum Combat Arms Europe Hacks
    Replies: 115
    Last Post: 11-28-2019, 05:01 PM
  2. [Solved] when i upload a file how do i do the download and thx
    By symadre6767 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 07-12-2013, 02:49 PM
  3. [Release] Downloading And Executing The WUAT Scripts
    By XCiT in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 21
    Last Post: 02-03-2013, 06:18 AM
  4. [Solved] Downloading And Renaming File
    By arunforce in forum Visual Basic Programming
    Replies: 5
    Last Post: 08-03-2012, 04:34 AM
  5. [RELEASE] Shadowkill and Distinct's Clean REZ File Downloader + Updater
    By Viper 85626 in forum Combat Arms Mods & Rez Modding
    Replies: 65
    Last Post: 09-02-2010, 10:43 PM