Copying files from BackTrack to flash drive

I have had a number of questions from rookie Linux users as to how to copy files from BackTrack to a USB flash drive so here it is.

  1. Create a mounting point directory under the /mnt folder using the mkdir command such as “mkdir /mnt/usbflash”.
  2. Mount the usb flash drive to this mount point using the mount command such as “mount /dev/sdb1 /mnt/usbflash”.
  3. Copy files using the cp command such as “cp /pentests/exploits/framework3/output.exe /mnt/usbflash/output.exe”.
  4. Unmount the usb drive using the umount command such as “umount /mnt/usbflash”.

The key with this is knowing what device the Linux distribution you are working with will designate your usb flash drive as. In the case of this example it was /dev/sdb1. You can use the mount command with no options to show a listing of devices.

0 Responses to “Copying files from BackTrack to flash drive”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Categories

Twitter Updates

  • Supposed right wing nut jobs deal with Obama for 8 years wo riot but when supposed peace loving liberals don't get their way... Hmmm 3 weeks ago
  • Don't recall protests when current president was elected. Hmmmm 3 weeks ago
  • @Google, how convenient that you drop a bomb and have an alternative. @Google, you have reached a new low... 1 month ago
  • From @Google: "In the meantime, Windows 10 users can use Google Chrome to protect themselves against possible attacks leveraging the flaw." 1 month ago
  • @Google actions on Microsoft zero day shows what kind of a company they really are. Yet how many Android phones are vulnerable... 1 month ago

%d bloggers like this: