Skip to content

TypeError: Odd-length string #1

@soiax

Description

@soiax

Exception happened during processing of request from ('*********', 50707)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 649, in init
self.handle()
File "dnschef.py", line 332, in handle
response = self.parse(data)
File "dnschef.py", line 95, in parse
qname_handler(qname)
File "~/break-fast-serial/dnschef/exfilchef.py", line 8, in qname_handler
data = unhexlify(subdomain)
TypeError: Odd-length string

I guess unhexlify gets a string with spaces, that's when this error occurs according to google :P

I just tested the thing, it worked fine with host,wget... this happened when i tried the domain from browsers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions