Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-27-2003, 05:34
kade
 
Posts: n/a
Extracting files from a temp directory

Hi,

I am looking at a target which has its own compression routine for compressing png files. When the program reads the compressed file it makes a temporary png file in the temp but it immediately deletes it. I found this out by using filemon.

If I could save this png file, my objective would be reached. I tried writing a small script to capture the file, but my script does not seem fast enough to capture the png file.

Here is the vbs script I put in the temp directory :

set fs=createobject("Scripting.FileSystemObject")
do while 1
if fs.fileexists("*.png") then
fs.copyfile "*.png", "\test\", true
end if
loop

Does anyone has tips how I can procede?

Thanks,

Kade
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add debug directory to an exe file? jonwil General Discussion 1 08-11-2006 03:05
Relocations Directory arnix General Discussion 3 06-04-2005 15:37
Setup temp files shn0r General Discussion 12 04-07-2005 20:52
Extracting Codes From Executable files... omidgl General Discussion 5 01-12-2005 02:53


All times are GMT +8. The time now is 04:54.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )