Jump to content

Mount USB Loot to blank directory


Recommended Posts

>First step is to stop the above script

echo 0 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role
sleep 1
rmmod usbhid -f
rmmod g_ether -f

>In the second step we create the image and mount the client as usb

mkdir -p /mnt/USBFake/
dd if=/dev/zero of=/mnt/fakeUSB bs=1M count=200
mkfs.vfat /mnt/fakeUSB
fatlabel /mnt/fakeUSB KeyBackup
insmod /usr/local/croc/lib/croc_gadget.ko  is_storage=1  file=/mnt/fakeUSB stall=0 removable=1 nofua=0 idVendor=0xF000 idProduct=0xFF10 iSerialNumber=ch000001
echo 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role
mount /mnt/fakeUSB /mnt/USBFake/

Its ready!


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.

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.

  • Recently Browsing   0 members

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