Jump to content

Harripc
 Share

Recommended Posts

I have a problem, the Bash Bunny changes drive letters on my system and I can't be sure of what it is. I am using it for a Ducky Script which types in a USB Mass Storage address to run a batch file. Can anyone tell me how to find the drive letter of the Bash Bunny in the payload.txt file

Thanks

Link to comment
Share on other sites

1 hour ago, PoSHMagiC0de said:

The command you are looking for is below if you do it in powershell.


(gwmi -class win32_volume -filter "label='BashBunny'").Name

That should get you the drive for the bash bunny in powershell using the volume label name.

Keep in mind that that only works if your Bash Bunny's drive name is "BashBunny". Mines "DJBUNNY" so I would put:

(gwmi -class win32_volume -filter "label='DJBUNNY'").Name
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...