Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 
Add file/directory removal tome (#500)

* Issue #489 Implement File Removal Tome.

Added eldritch code and yaml metadata.

* Simplified eldritch code
  • Loading branch information
Alextibtab authored Jan 24, 2024
1 parent b4e73c7 commit 6ae1fe6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tavern/tomes/remove_file/main.eldritch
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
file.remove(input_params['path'])
print("\n")
print("\n")
10 changes: 10 additions & 0 deletions tavern/tomes/remove_file/metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Remove file
description: delete a file or directory
author: Alextibtab
support_model: FIRST_PARTY
tactic: IMPACT
paramdefs:
- name: path
label: Path of file/directory to remove
type: string
placeholder: /var/log/auth.log, /home/foo/

0 comments on commit 6ae1fe6

Please sign in to comment.