Skip to content

HTTP 400 Bad Request *Parameter Value Should be encoded #58

@abdilahrf

Description

@abdilahrf

What's the problem (or question)?

The parameter value payload not properly encoded which is make the urllib got an 400 Bad Request

image

Do you have an idea for a solution?

Using urllib.quote(string) to encode the parameter value in function
file nsmweb.py -> def buildUri(origUri, randValue):
https://stackoverflow.com/questions/8840303/urllib2-http-error-400-bad-request

How can we reproduce the issue?

  1. python nosqlmap.py
  2. set options (1)
  3. set target (1) => "prison-commissary.mysterious-hashes.net"
  4. set App Path (3) => "/panda.php?id=1"
  5. toggle verbose mode (9)
  6. back to main menu (x)
  7. NoSQL Web Attack (3)
  8. random string size enter (1)
  9. choose (3) Numberf only
  10. choose (1) which is id

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