Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonast error when calling pythonast.from_phpast(node) #55

Open
Rishi8991 opened this issue Mar 8, 2020 · 0 comments
Open

pythonast error when calling pythonast.from_phpast(node) #55

Rishi8991 opened this issue Mar 8, 2020 · 0 comments

Comments

@Rishi8991
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant