Compare commits

...

2 Commits

Author SHA1 Message Date
patel-bhavin 5b25ad7bc6 minnor updates 2022-02-17 13:20:14 -08:00
patel-bhavin 53a3876091 new test for linpeas 2022-02-16 16:50:47 -08:00
+28
View File
@@ -94,4 +94,32 @@ atomic_tests:
command: | command: |
chmod +x #{linenum} chmod +x #{linenum}
bash #{linenum} bash #{linenum}
name: sh
- name: Linpeas tool execution
description: |
LinPEAS is a script that search for possible paths to escalate privileges on Linux/Unix*/MacOS hosts. The checks are explained on [here](https://book.hacktricks.xyz/)
supported_platforms:
- linux
input_arguments:
linpeas:
description: Path to the linpeas shell script
type: Path
default: PathToAtomicsFolder/T1059.004/src/linpeas.sh
linpeas_url:
description: Path to download linPeas shell script
type: Url
default: https://github.com/carlospolop/PEASS-ng/releases/download/20220214/linpeas.sh
dependency_executor_name: bash
dependencies:
- description: |
Linpeas must exist on disk at specified location (#{linpeas})
prereq_command: |
if [ -f #{linpeas} ]; then exit 0; else exit 1; fi;
get_prereq_command: |
curl -L #{linpeas_url} --output #{linpeas}
executor:
command: |
chmod +x #{linpeas}
bash #{linpeas}
name: sh name: sh