Jump to content

Detect when Powershell payload has finished


Recommended Posts


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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...