Skip to content

Bug: YesWeBurp crashes with TypeError when loading program details #18

Description

@janKuefner

The YesWeBurp extension (v1.0.2) is crashing when attempting to load program details for certain programs. This prevents the "Configure Burp" functionality from working. The extension remains connected to the API, but clicking on a program results in an unhandled exception.

Steps to reproduce:

Connect to the YesWeHack API within the extension.

Select any program from the list.

Observe that no details load, and the extension reports an error in the "Errors" tab.

Error Traceback:
Traceback (most recent call last):
File "/home/kali/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/helpers.py", line 35, in wrapper
result = func()
File "/home/kali/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/Tabs/ProgramsTab.py", line 339, in
lambda: context.api.get_program_details(self.programs[0].slug),
File "/home/kali/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/api.py", line 144, in get_program_details
return ProgramDetails(response.json())
File "/home/kali/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 35, in init
load_class(self.class)
File "/home/kali/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 30, in load_class
setattr(self, key, constructor(data.get(key, None)))
TypeError: int() argument must be a string or a number, not 'None'

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