Jump to content

frankace

Active Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

frankace's Achievements

Newbie

Newbie (1/14)

  1. It would get to white LED and then go red. I was able to get to it via Putty, but it was not able to get out to the internet. I don't think it was your payload. It was something on my end
  2. @Draxiom I was not able to get your payload to work properly. I am sure it is something i missed. Your suggestion did lead me to the post from Just_a_User. I downloaded to the zip from his post, extracted the bunny_helpers.sh and copied to my bash bunny. Thanks for the help
  3. I copied the bunny_helpers.sh from github to the library folder on the Bash Bunny, but i still can't get it to pass the $SWITCH_POSITION value.
  4. To clarify this is the bunny_helpers.sh that is located in the library folder
  5. I did notice the bunny_helpers is missing this bit of code: check_switch() { switch1=`cat /sys/class/gpio_sw/PA8/data` switch2=`cat /sys/class/gpio_sw/PL4/data` switch3=`cat /sys/class/gpio_sw/PL3/data` echo "--- switch1 = $switch1, switch2 = $switch2, switch3 = $switch3" if [ "x$switch1" = "x0" ] && [ "x$switch2" = "x1" ] && [ "x$switch3" = "x1" ]; then SWITCH_POSITION="switch1" elif [ "x$switch1" = "x1" ] && [ "x$switch2" = "x0" ] && [ "x$switch3" = "x1" ]; then SWITCH_POSITION="switch2" elif [ "x$switch1" = "x1" ] && [ "x$switch2" = "x1" ] && [ "x$switch3" = "x0" ]; then SWITCH_POSITION="switch3" else SWITCH_POSITION="invalid" fi } check_switch export SWITCH_POSITION Is it as simple as editing the file and adding the missing code?
  6. I started out on multiple lines, but just for grins I tired multiple lines again. Still no joy. Same issue thanks
  7. fairly new to all this and not really sure how to mount or check for errors.
  8. Yes it is in the payload.
  9. When using the following command ".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\a.cmd')" It errors out . : The term 'E:\payloads\\a.cmd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:2 + .((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\a.cmd' ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (E:\payloads\\a.cmd:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException It is not grabbing the variable for $SWITCH_POSITION What am I missing? Thanks
×
×
  • Create New...