I’m encountering the error cannot find path payloads\\exfil.txt when running the following payload:
POSITION=$SWITCH_POSITION
CMD="Set-Clipboard -Value (gc((gwmi win32_volume -f 'label=''BashBunny''').Name + '\\payloads\\${POSITION}\\exfil.txt'))"
Q WINDOWS r
Q DELAY 1500
Q STRING powershell
Q ENTER
Q DELAY 1500
Q STRING $CMD
It appears that the $SWITCH_POSITION variable is empty. Am I overlooking something?
I’m encountering the error
cannot find path payloads\\exfil.txtwhen running the following payload:It appears that the
$SWITCH_POSITIONvariable is empty. Am I overlooking something?