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 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 & Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.