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

Unexpected end of file error #6

Open
bakar-git opened this issue Jul 26, 2023 · 0 comments
Open

Unexpected end of file error #6

bakar-git opened this issue Jul 26, 2023 · 0 comments

Comments

@bakar-git
Copy link

bakar-git commented Jul 26, 2023

Scenario:
I am using a webshell. When I do ./PwnKit 'id' or ./PwnKit 'whomai' or ./PwnKit 'who', it shows root (works fine) but when there is a space in command like ./PwnKit 'touch /tmp/some' or ./PwnKit 'ls -lR /u01/app/', it gives following error, I cant use interactive shell because I am accessing the system with jsp reverseshell so I can run one command at time

Error:
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

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