mirror of
https://github.com/github/codeql.git
synced 2026-01-05 10:40:21 +01:00
7 lines
371 B
Python
7 lines
371 B
Python
import yaml
|
|
from yaml import SafeLoader
|
|
|
|
yaml.load(payload) # $decodeInput=payload $decodeOutput=Attribute() $decodeFormat=YAML $decodeMayExecuteInput
|
|
yaml.load(payload, Loader=SafeLoader) # $decodeInput=payload $decodeOutput=Attribute() $decodeFormat=YAML
|
|
yaml.load(payload, Loader=yaml.BaseLoader) # $decodeInput=payload $decodeOutput=Attribute() $decodeFormat=YAML
|