When I try pythonast.from_phpast(node) where the node is "Assignment(Variable('$tainted'), FunctionCall('shell_exec', [Parameter('cat /tmp/tainted.txt', False)]), False)" I get the following error:
File "C:\Users\Anaconda3\envs\fyp\lib\site-packages\phply\pythonast.py", line 455, in from_phpast
return py.Call(name, args, kwargs, None, None, **pos(node))
TypeError: Call constructor takes at most 3 positional arguments