facebookincubator / TTPForge

The TTPForge is a Cybersecurity Framework for developing, automating, and executing attacker Tactics, Techniques, and Procedures (TTPs).
MIT License
337 stars 33 forks source link

💡 [REQUEST] - Add Default Cleanup Action to `edit_file` #451

Closed d0n601 closed 11 months ago

d0n601 commented 11 months ago

Summary: Used the copy_path action to implement a default cleanup action for edit_file that copies the backup file to the original file location.

When backup_file is not specified the default backup file is a temporary file.

Differential Revision: D51500512

facebook-github-bot commented 11 months ago

This pull request was exported from Phabricator. Differential Revision: D51500512

facebook-github-bot commented 11 months ago

This pull request was exported from Phabricator. Differential Revision: D51500512

facebook-github-bot commented 11 months ago

This pull request was exported from Phabricator. Differential Revision: D51500512

facebook-github-bot commented 11 months ago

This pull request was exported from Phabricator. Differential Revision: D51500512

facebook-github-bot commented 11 months ago

This pull request was exported from Phabricator. Differential Revision: D51500512

facebook-github-bot commented 11 months ago

This pull request has been merged in facebookincubator/TTPForge@e72df1e81c1820927028984212e8fdeebb623b87.