xhico Posted January 28, 2019 Share Posted January 28, 2019 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 /tools/impacket/examples/smbserver.py e $SWITCHDIR & LED FINISH Quote Link to comment Share on other sites More sharing options...
xhico Posted January 28, 2019 Author Share Posted January 28, 2019 I already found my mistake... The bunny already mounts by default... i cant just access it.. I have to copy to a tmp folder, and there the files are in the share mkdir -p /root/teste cp $SWITCHDIR/* /root/teste python /tools/impacket/examples/smbserver.py e /root/teste & Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.