Harripc Posted September 7, 2017 Share Posted September 7, 2017 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 Quote Link to comment Share on other sites More sharing options...
PoSHMagiC0de Posted September 8, 2017 Share Posted September 8, 2017 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. Quote Link to comment Share on other sites More sharing options...
Dave-ee Jones Posted September 8, 2017 Share Posted September 8, 2017 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.