SDFUK Posted April 14, 2018 Share Posted April 14, 2018 Hi, I've seen this mentioned a few times, but no solution as of yet. I'm using Powershell as a payload that is saving data into the loot folder. It's working fine, but I need a way of notifying the Bunny when the script 'has finished', for notification. I tried the 'until' command in a sleep loop in payload.txt watching for creation of a 'finished' file, but like others in that forum that does not seem to work. Has anyone else found a way of making this work? Link to comment Share on other sites More sharing options...
PoSHMagiC0de Posted April 14, 2018 Share Posted April 14, 2018 If you are using storage, you may have to eject the bunny. There are some payloads out there that have the method to eject the BB. For the file you are writing to the BB to show up, sometimes a safe eject is needed for it to dump the buffer. Link to comment Share on other sites More sharing options...
Dave-ee Jones Posted April 16, 2018 Share Posted April 16, 2018 I've had experiences with PSH and Bash not seeing each others' created files - very frustrating. E.g. If PSH creates a file, Bash won't see it, and vice-versa. "Sync" doesn't work, either. Just tell PSH to eject the BB when complete. Not sure how you could get the BB to recognise that, though. Link to comment Share on other sites More sharing options...
LowValueTarget Posted April 23, 2018 Share Posted April 23, 2018 There are numerous payloads with checks built in. My PSH Exec payload for instance, waits for a file to be created on the share for instance. https://gist.github.com/hink/cc0a0422728d1ee77c89b528d3b62c3a Link to comment Share on other sites More sharing options...
PoSHMagiC0de Posted April 23, 2018 Share Posted April 23, 2018 Ejecting the bunny, if you are using the storage payload and wrote a file to it from the victim, should make the file appear. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.