mirror of
https://github.com/github/codeql.git
synced 2026-06-18 19:31:11 +02:00
7 lines
362 B
Python
7 lines
362 B
Python
import yaml
|
|
from yaml import SafeLoader
|
|
|
|
yaml.load(payload) # $decodeInput=payload $decodeOutput=Attribute() $decodeFormat=YAML $decodeUnsafe
|
|
yaml.load(payload, Loader=SafeLoader) # $decodeInput=payload $decodeOutput=Attribute() $decodeFormat=YAML
|
|
yaml.load(payload, Loader=yaml.BaseLoader) # $decodeInput=payload $decodeOutput=Attribute() $decodeFormat=YAML
|