Files
nuclei-templates/code/privilege-escalation/linux/binary/privesc-multitime.yaml

49 lines
1.3 KiB
YAML
Raw Normal View History

2024-01-22 18:59:57 +05:30
id: privesc-multitime
2023-12-13 22:07:24 +07:00
info:
name: Multitime - Privilege Escalation
author: daffainfo
severity: high
2024-01-22 18:59:57 +05:30
description: |
multitime is a command-line utility that allows for the timing and execution of commands multiple times. It is often used for benchmarking and performance testing of commands and scripts, providing a convenient way to measure the execution time of a given task.
reference:
- https://gtfobins.github.io/gtfobins/multitime/
2023-12-13 22:07:24 +07:00
metadata:
verified: true
max-request: 3
tags: code,linux,multitime,privesc,local
2023-12-13 22:07:24 +07:00
self-contained: true
code:
- engine:
- sh
- bash
source: |
2024-01-22 18:59:57 +05:30
whoami
2023-12-13 22:07:24 +07:00
- engine:
- sh
- bash
source: |
2024-01-22 18:59:57 +05:30
multitime whoami
2023-12-13 22:07:24 +07:00
- engine:
- sh
- bash
source: |
2024-01-22 18:59:57 +05:30
sudo multitime whoami
2023-12-13 22:07:24 +07:00
matchers-condition: and
matchers:
2024-01-22 18:59:57 +05:30
- type: word
part: code_1_response
words:
- "root"
negative: true
2023-12-13 22:07:24 +07:00
- type: dsl
dsl:
- 'contains(code_2_response, "root")'
- 'contains(code_3_response, "root")'
condition: or
2024-12-01 13:57:55 +00:00
# digest: 490a00463044022006faf6ef91e20f9656012ca0c37af7261e464ba1cf9074ecb06a882cd73f390502205c404e1c4547ec3f51e7e7fa31c6396d01f132354f675b11062e10de00ef67d5:922c64590222798bb761d5b6d8e72950