Hallo!!
This is my payload, just a python smb server thats points to the switch folder.
PROBLEM: it creates the share, but i cant access the files, because the /root/udisk is not mounted.
If i boot the bunny in RNDIS, goto the console and do "udisk mount" i can access the files, but I cant mount udisk from inside a payload
Any ideas? Is there anything I'm missing.
Thx, and keep on developing!! :)
#!/bin/bash
LED SETUP
GET SWITCH_POSITION
SWITCHDIR=/root/udisk/payloads/$SWITCH_POSITION
LOOTDIR=$SWITCHDIR/loot
LED STAGE1
ATTACKMODE RNDIS_ETHERNET
udisk mount
python