daily pastebin goal
85%
SHARE
TWEET

Bad USB

a guest Mar 8th, 2017 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dmesg
  2. --------------------
  3. [  509.762444] usb 3-2: new high-speed USB device number 5 using xhci_hcd
  4. [  510.242774] usb 3-2: New USB device found, idVendor=058f, idProduct=1234
  5. [  510.242777] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  6. [  510.242779] usb 3-2: Product: Mass Storage Device
  7. [  510.242780] usb 3-2: Manufacturer: Alcor Micro
  8. [  510.379318] usb-storage 3-2:1.0: USB Mass Storage device detected
  9. [  510.380917] scsi host32: usb-storage 3-2:1.0
  10. [  510.381223] usbcore: registered new interface driver usb-storage
  11. [  510.382676] usbcore: registered new interface driver uas
  12. [  511.381189] scsi 32:0:0:0: Direct-Access     Generic  USB Flash Disk   7.76 PQ: 0 ANSI: 4
  13. [  511.381534] sd 32:0:0:0: Attached scsi generic sg2 type 0
  14. [  511.387217] sd 32:0:0:0: [sdb] Attached SCSI removable disk
  15.  
  16. fdisk -l
  17. -------------------
  18. fdisk -l
  19.  
  20. Disk /dev/sda: 32.2 GB, 32212254720 bytes
  21. 255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors
  22. Units = sectors of 1 * 512 = 512 bytes
  23. Sector size (logical/physical): 512 bytes / 512 bytes
  24. I/O size (minimum/optimal): 512 bytes / 512 bytes
  25. Disk identifier: 0x00015431
  26.  
  27.    Device Boot      Start         End      Blocks   Id  System
  28. /dev/sda1   *        2048    54527999    27262976   83  Linux
  29. /dev/sda2        54530046    62912511     4191233    5  Extended
  30. /dev/sda5        54530048    62912511     4191232   82  Linux swap / Solaris
  31.  
  32.  
  33. lsusb -v
  34. -------------------
  35.  lsusb
  36. Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  37. Bus 003 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
  38. Bus 003 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
  39. Bus 003 Device 005: ID 058f:1234 Alcor Micro Corp. Flash Drive
  40. Bus 003 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
  41. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  42. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  43. Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
  44. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
RAW Paste Data
Top