Its ok @GermanNoob, thanks for the help, but unfortunatly I still get the same result.
I have been doing some more testing and it defenetly seems to be something with my bunny_helpers.sh file. Here is the new payload I was trying out
ATTACKMODE HID RNDIS_ETHERNET
source bunny_helpers.sh
QUACK DELAY 1000
QUACK STRING Testing Switch Position, Switch Position is $SWITCH_POSITION
QUACK ENTER
QUACK STRING Testing Target IP, IP is $TARGET_IP
QUACK ENTER
ATTACKMODE RNDIS_ETHERNET
source bunny_helpers.sh
echo "Target Ip is " >> /root/udisk/test.txt
echo $TARGET_IP >> /root/udisk/test.txt
sync
Here I am trying to see if I can access the $TARGET_IP variable that is also located in the bunny helper file. Unfortunatly I can not, below is the output of the HID section.
Testing Switch Position, Switch Position is
Testing Target IP, IP is
You can also see that I also just tried to see if it was some issue with using HID and Ethernet attacks together, so I made a seperate ATTACKMODE section just using ethernet, and just tried to echo the IP out to a file, which unfortunatly also failed. Here is the contents of the test.txt file
Target Ip is
So it looks like those variables just are not getting populate for some reason, and I am really not sure why.