Skip to content

Unexpected end of file error #6

Description

@bakar-git

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions