Jump to content

Config.txt in payloads folder in docs


PoSHMagiC0de
 Share

Recommended Posts

So, I noticed a new config.txt is at the root of the mountable BB drive now for Ducky config.  I have a question.  I always like to try all options a device has.  I noticed in the instructions you can use a config.txt in the payloads folder as well.  It says it is for configuration of complex payloads.  Is that automatically sourced somehow or do you have to manually source it?  Does it have to follow some kind of format different than other bash files we source?

 

Link to comment
Share on other sites

From the changelog

- User configuration file
  - A config.txt is now found on the root of the Bash Bunny's storage partition
  - This config.txt is sourced before payloads are executed, allowing global configurations
  - By default the DUCKY_LANG command is run to set the keyboard to 'us'.
  - NOTE: settings in config.txt will be overwritten if a payload decides to do so
  - NOTE: config.txt will currently not survive factory resets or firmware upgrades. This will change in the future

 

Link to comment
Share on other sites

16 hours ago, LowValueTarget said:

From the changelog


- User configuration file
  - A config.txt is now found on the root of the Bash Bunny's storage partition
  - This config.txt is sourced before payloads are executed, allowing global configurations
  - By default the DUCKY_LANG command is run to set the keyboard to 'us'.
  - NOTE: settings in config.txt will be overwritten if a payload decides to do so
  - NOTE: config.txt will currently not survive factory resets or firmware upgrades. This will change in the future

 

Not the recent change.  Lol.  I seen that change.  The recent change reminded me of something I saw.  If you look in the DOC folder on the github site it shows a breakdown of the actual switch folder containing the config.txt for configuring advanced payloads.  Was wondering how it was used there and how it is sucked in.

https://github.com/hak5/bashbunny-payloads/tree/master/docs

 

Link to comment
Share on other sites

9 hours ago, PoSHMagiC0de said:

Not the recent change.  Lol.  I seen that change.  The recent change reminded me of something I saw.  If you look in the DOC folder on the github site it shows a breakdown of the actual switch folder containing the config.txt for configuring advanced payloads.  Was wondering how it was used there and how it is sucked in.

https://github.com/hak5/bashbunny-payloads/tree/master/docs

 

It isn't - I think it was just an example of good practice. I'll make that more clear. 

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.

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.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...