Emiel Wieldraaijer Posted August 27, 2012 Share Posted August 27, 2012 Hi All, It's possible to run a program directly from a download without saving the file to a folder. Is there a way to detect this ? because i don't want allow a program to be run directly. Thnx Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
JohnOne Posted August 27, 2012 Share Posted August 27, 2012 Generally when you download a file from the internet it is saved to your HDD. It would be very unusual and highly suspicious if a file were to download to and execute from memory. 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 More sharing options...
wyzzard Posted August 28, 2012 Share Posted August 28, 2012 I think what he is referring to is if you click on an exe and a few other types of links you usually get the option to "save file to drive" or "run/open"... he wants to disable the option to "run/open" it from the download request I'm guessing... Don't know how to do it but just clarifying the request hopefully. Link to comment Share on other sites More sharing options...
Blue_Drache Posted August 28, 2012 Share Posted August 28, 2012 (edited) As to why ... it makes absolutely no sense. What's the difference between scripting something to run after download and double clicking it yourself when it does? Other than the manual step? Also ... I believe you can disable the "open/run" via security policy options. Edited August 28, 2012 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted August 28, 2012 Author Share Posted August 28, 2012 Hi, Thanks all Like valik would say "I'm not a noob" muttley i know the program isn't run from memory. I don't want to disable the open/run option from internet explorer or other browers.. i think i'm going to block running the program from temporarily internet folder Probally would fix my problem Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
Kendall Posted August 29, 2012 Share Posted August 29, 2012 Most commonly when a program setup is ran it extracts most commonly to the @tempdir (%% windows/temp) folder. As far as downloading it that depends on where the browser places the downloaded file (by default) ultimately if you would really like to stop a program from running you could do an ocopiouse amount of things to stop it. My suggestion: Stop it from running using a antivirus or make a script to continually search for the programs exe name. The Codemonkeyhttp://www.BMVHDloader.com Link to comment Share on other sites More sharing options...
Blue_Drache Posted August 29, 2012 Share Posted August 29, 2012 What I used to do was have an auto-it script running in the background to automatically cancel any download window that popped up in IE and FF. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted August 29, 2012 Author Share Posted August 29, 2012 Thnx all I'm using the following $internettempfolder = RegRead(HKey_Current_UserSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders", "Cache") $internettempfolder =StringReplace($internettempfolder, "%USERPROFILE%", @UserProfileDir) $result = StringInStr(@WorkingDir, $internettempfolder) If $result >0 then Msgbox (16, "Info", "Run directly from download or manually for Temporary Internet Files location") Exit EndIf Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now