Jump to content
thomas@

Payload Basics. Question

Recommended Posts

Please bare with me this is a very nube question. 

In bash bunny. 

Lets say in payload - Switch1 - payload.txt

What would be the syntax to run another payload.txt say from " payloads/library/test/payload.txt "

 

So payload/switch1/payload.txt would execute and run payloads/library/test/payload.txt "

 

Thanks in advance, I know it's a very basic question.. 

 

Share this post


Link to post
Share on other sites
source /root/udisk/payloads/library/test/payload.txt

 

Everything starts at /root.

/root/udisk is the root of the partition you see when you plug in the BB in arming mode and browse to it like a storage device.

 

  • Like 1

Share this post


Link to post
Share on other sites
6 hours ago, PoSHMagiC0de said:

source /root/udisk/payloads/library/test/payload.txt

 

Everything starts at /root.

/root/udisk is the root of the partition you see when you plug in the BB in arming mode and browse to it like a storage device.

 

Alternatively you could do:

--# Not sure exactly how many '../' you need, can't remember the file structure
source ../../library/test/payload.txt

 

  • Like 1

Share this post


Link to post
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.

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

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...