Skip to content

Correct script arguments? #1

@juushya

Description

@juushya

Hi,

I am trying out Python code injection on a POST request.

When specifying the -p along with -r <request-file.txt>, the script throws the following error:

# ./PyCodeInjectionShell.py -c whoami -p <parameter> -r request-file.txt 
[!] Request file and specified parameter are not currently supported together. 
[!]Please place a * in the request file

After modifying the parameter value to a * in the request, and running the script again throws the following error:

# ./PyCodeInjectionShell.py -c whoami -r request-file.txt 
Traceback (most recent call last):
  File "./PyCodeInjectionShell.py", line 226, in <module>
    parsed_url,headers,data = parse_request(options.cmd,options.request,options.parameter)
ValueError: need more than 2 values to unpack

What might be missing here?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions