Jump to content

Immediate or Simultanious Storage Access


Recommended Posts

So if Im crafting a payload and i want the bunny to make a decision based on the output of a terminal she's typing in, would I be able to use something like

'nmap localhost >> storage'

then use an if-then to read the file the data is stored to and plan an attack vector that way?

'if ssh, then ssh'

My experience with storage is that simultanious access doesnt work well, is that true here?


Link to comment
Share on other sites

This is one of the wonderful things with bashbunny.

You have the full power of bash, so conditional statement away.

Here is some references, if I have time later ill update with some code about your specific ask, but at a high level im thinking NMAP -> file, then cat the file through grep and find the SSH then do a conditional based on the "open/block" state of it.






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...