Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing of requests crashes #9

Closed
SamJoan opened this issue Feb 18, 2020 · 0 comments
Closed

Viewing of requests crashes #9

SamJoan opened this issue Feb 18, 2020 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@SamJoan
Copy link
Member

SamJoan commented Feb 18, 2020

The request crashes under certain conditions.

Steps to repro

  1. Add to scope a folder that has many sub requests. Like http://192.168.153.136/shelling/test_cases/. Make all requests Fuzzed
  2. Change it to a specific URL: http://192.168.153.136/shelling/test_cases/no_white_chars_start_alphanum.php
  3. Change it back to http://192.168.153.136/shelling/test_cases/

It crashes and requests lose Fuzzed State.

Error stack trace is:

[ERROR 2020-02-19 11:17:00,898]: Exception in thread
Traceback (most recent call last):
  File "C:\Users\pedro\code\benteveo-toolbox\ui.py", line 329, in run
    self.method(*self.args, **self.kwargs)
  File "C:\Users\pedro\code\benteveo-toolbox\ui.py", line 423, in refreshButtonClicked
    self.state.endpointTableModel.add(request)
  File "C:\Users\pedro\code\benteveo-toolbox\tables.py", line 223, in add
    self.fireTableRowsInserted(added_at_index - 1, added_at_index - 1)
  File "C:\Users\pedro\code\benteveo-toolbox\tables.py", line 265, in getValueAt
    endpointModel = self.getEndpoint(rowIndex)
  File "C:\Users\pedro\code\benteveo-toolbox\tables.py", line 187, in getEndpoint
    return self.endpoints.items()[rowIndex][1]
IndexError: index out of range: 1
Traceback (most recent call last):
  File "C:\Users\pedro\code\benteveo-toolbox\ui.py", line 329, in run
    self.method(*self.args, **self.kwargs)
  File "C:\Users\pedro\code\benteveo-toolbox\ui.py", line 423, in refreshButtonClicked
    self.state.endpointTableModel.add(request)
  File "C:\Users\pedro\code\benteveo-toolbox\tables.py", line 223, in add
    self.fireTableRowsInserted(added_at_index - 1, added_at_index - 1)
  File "C:\Users\pedro\code\benteveo-toolbox\tables.py", line 265, in getValueAt
    endpointModel = self.getEndpoint(rowIndex)
  File "C:\Users\pedro\code\benteveo-toolbox\tables.py", line 187, in getEndpoint
    return self.endpoints.items()[rowIndex][1]
IndexError: index out of range: 1
@SamJoan SamJoan added the bug Something isn't working label Feb 19, 2020
@SamJoan SamJoan added this to the v0.1.0 milestone Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant