-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add file/directory removal tome (#500) * Issue #489 Implement File Removal Tome. Added eldritch code and yaml metadata. * Simplified eldritch code
- Loading branch information
1 parent
b4e73c7
commit 6ae1fe6
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
file.remove(input_params['path']) | ||
print("\n") | ||
print("\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |