Skip to content

UnboundLocalError: local variable referenced before assignment #1

@ProgramFilesx86

Description

@ProgramFilesx86

Hi ,
Whenever i try to make this tool fuzz it returns me this message

Problem parsing the request data
UnboundLocalError("local variable 'content_type' referenced before assignment",)

And in the error tab it returns me this :

Traceback (most recent call last):
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 82, in start_scan
thread = threading.Thread(target=paramFuzzer.fuzzParams(self.orgHost, self.orgPort, self.orgProtoChoice,
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 82, in start_scan
thread = threading.Thread(target=paramFuzzer.fuzzParams(self.orgHost, self.orgPort, self.orgProtoChoice,
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 266, in fuzzParams
stdout.println("[!] FUZZING "+ str(len(body)) + " PARAMETERS")
TypeError: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 82, in start_scan
thread = threading.Thread(target=paramFuzzer.fuzzParams(self.orgHost, self.orgPort, self.orgProtoChoice,
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 82, in start_scan
thread = threading.Thread(target=paramFuzzer.fuzzParams(self.orgHost, self.orgPort, self.orgProtoChoice,
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 266, in fuzzParams
stdout.println("[!] FUZZING "+ str(len(body)) + " PARAMETERS")
TypeError: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 82, in start_scan
thread = threading.Thread(target=paramFuzzer.fuzzParams(self.orgHost, self.orgPort, self.orgProtoChoice,
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 82, in start_scan
thread = threading.Thread(target=paramFuzzer.fuzzParams(self.orgHost, self.orgPort, self.orgProtoChoice,
File "C:\Users\msi7471\Desktop\BurpSQLTruncSanner-master\SQLTruncScanner.py", line 266, in fuzzParams
stdout.println("[!] FUZZING "+ str(len(body)) + " PARAMETERS")
TypeError: object of type 'NoneType' has no len()

Is there any help about this

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