I'm trying to run the script below to get the drive letter of the Bash Bunny then change directories to it but i keep having issues with the apostrophes and dollar signs
# test
LED B
ATTACKMODE HID STORAGE
LED Y 300
RUN WIN powershell.exe
DELAY 100
QUACK STRING "$USBDrive = Get-WmiObject Win32_Volume -Filter "DriveType='2'"|select -expand driveletter"
QUACK ENTER
DELAY 50
QUACK STRING "cd $USBDrive/payloads/switch1"
QUACK ENTER
i added quotation marks before and after the commands i wanted to execute because usually that runs anything through QUACK containing an apostrophe without error