Generated docs from job=generate-docs branch=master [ci skip]
This commit is contained in:
@@ -27867,6 +27867,17 @@ defense-evasion:
|
||||
description: Path of file to shred
|
||||
type: path
|
||||
default: "/tmp/victim-shred.txt"
|
||||
dependencies:
|
||||
- description: 'Check if file already exists
|
||||
|
||||
'
|
||||
prereq_command: 'if [ -f "#{file_to_shred}" ]; then echo "File already exists";
|
||||
else echo "File does NOT exist yet"; exit 1; fi
|
||||
|
||||
'
|
||||
get_prereq_command: 'touch #{file_to_shred}
|
||||
|
||||
'
|
||||
executor:
|
||||
command: 'shred -u #{file_to_shred}
|
||||
|
||||
|
||||
@@ -15934,6 +15934,17 @@ defense-evasion:
|
||||
description: Path of file to shred
|
||||
type: path
|
||||
default: "/tmp/victim-shred.txt"
|
||||
dependencies:
|
||||
- description: 'Check if file already exists
|
||||
|
||||
'
|
||||
prereq_command: 'if [ -f "#{file_to_shred}" ]; then echo "File already exists";
|
||||
else echo "File does NOT exist yet"; exit 1; fi
|
||||
|
||||
'
|
||||
get_prereq_command: 'touch #{file_to_shred}
|
||||
|
||||
'
|
||||
executor:
|
||||
command: 'shred -u #{file_to_shred}
|
||||
|
||||
|
||||
@@ -152,6 +152,18 @@ shred -u #{file_to_shred}
|
||||
|
||||
|
||||
|
||||
#### Dependencies: Run with `sh`!
|
||||
##### Description: Check if file already exists
|
||||
##### Check Prereq Commands:
|
||||
```sh
|
||||
if [ -f "#{file_to_shred}" ]; then echo "File already exists"; else echo "File does NOT exist yet"; exit 1; fi
|
||||
```
|
||||
##### Get Prereq Commands:
|
||||
```sh
|
||||
touch #{file_to_shred}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
<br/>
|
||||
|
||||
Reference in New Issue
Block a user