Skip to content

Exception then process frozen #23

@phackt

Description

@phackt

Hello,
There is an issue with this kind of command:

./xsssniper.py -u http://backlothelp.netflix.com/ --forms

We have:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/home/phackt/Documents/repo/xsssniper/core/scanner.py", line 297, in run
    self._performInjections(target)
  File "/home/phackt/Documents/repo/xsssniper/core/scanner.py", line 197, in _performInjections
    url, data = target.getPayloadedUrl(k, pl.payload)
  File "/home/phackt/Documents/repo/xsssniper/core/target.py", line 73, in getPayloadedUrl
    encoded_params = urlencode(new_params)
  File "/usr/lib/python2.7/urllib.py", line 1342, in urlencode
    v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

And then the process is stuck, i think because of how the thread and queue are managed.

Regards,

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