Generate docs from job=generate_and_commit_guids_and_docs branch=master [skip ci]

This commit is contained in:
CircleCI Atomic Red Team doc generator
2022-02-14 19:20:25 +00:00
parent 2a77160edf
commit f01c461021
2 changed files with 33 additions and 13 deletions
+20 -8
View File
@@ -20120,9 +20120,12 @@ privilege-escalation:
command_to_add:
description: Command to add to the .bash_profile file
type: String
default: "/path/to/script.py"
default: echo "Hello from Atomic Red Team T1546.004"
executor:
command: 'echo "#{command_to_add}" >> ~/.bash_profile
command: 'echo ''#{command_to_add}'' >> ~/.bash_profile
'
cleanup_command: 'sed -i ''/#{command_to_add}/d'' ~/.bash_profile
'
name: sh
@@ -20138,9 +20141,12 @@ privilege-escalation:
command_to_add:
description: Command to add to the .bashrc file
type: String
default: "/path/to/script.py"
default: echo "Hello from Atomic Red Team T1546.004"
executor:
command: 'echo "#{command_to_add}" >> ~/.bashrc
command: 'echo ''#{command_to_add}'' >> ~/.bashrc
'
cleanup_command: 'sed -i ''/#{command_to_add}/d'' ~/.bashrc
'
name: sh
@@ -50652,9 +50658,12 @@ persistence:
command_to_add:
description: Command to add to the .bash_profile file
type: String
default: "/path/to/script.py"
default: echo "Hello from Atomic Red Team T1546.004"
executor:
command: 'echo "#{command_to_add}" >> ~/.bash_profile
command: 'echo ''#{command_to_add}'' >> ~/.bash_profile
'
cleanup_command: 'sed -i ''/#{command_to_add}/d'' ~/.bash_profile
'
name: sh
@@ -50670,9 +50679,12 @@ persistence:
command_to_add:
description: Command to add to the .bashrc file
type: String
default: "/path/to/script.py"
default: echo "Hello from Atomic Red Team T1546.004"
executor:
command: 'echo "#{command_to_add}" >> ~/.bashrc
command: 'echo ''#{command_to_add}'' >> ~/.bashrc
'
cleanup_command: 'sed -i ''/#{command_to_add}/d'' ~/.bashrc
'
name: sh
+13 -5
View File
@@ -30,16 +30,20 @@ Adds a command to the .bash_profile file of the current user
#### Inputs:
| Name | Description | Type | Default Value |
|------|-------------|------|---------------|
| command_to_add | Command to add to the .bash_profile file | String | /path/to/script.py|
| command_to_add | Command to add to the .bash_profile file | String | echo "Hello from Atomic Red Team T1546.004"|
#### Attack Commands: Run with `sh`!
```sh
echo "#{command_to_add}" >> ~/.bash_profile
echo '#{command_to_add}' >> ~/.bash_profile
```
#### Cleanup Commands:
```sh
sed -i '/#{command_to_add}/d' ~/.bash_profile
```
@@ -63,19 +67,23 @@ Adds a command to the .bashrc file of the current user
#### Inputs:
| Name | Description | Type | Default Value |
|------|-------------|------|---------------|
| command_to_add | Command to add to the .bashrc file | String | /path/to/script.py|
| command_to_add | Command to add to the .bashrc file | String | echo "Hello from Atomic Red Team T1546.004"|
#### Attack Commands: Run with `sh`!
```sh
echo "#{command_to_add}" >> ~/.bashrc
echo '#{command_to_add}' >> ~/.bashrc
```
#### Cleanup Commands:
```sh
sed -i '/#{command_to_add}/d' ~/.bashrc
```
<br/>