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

Error in bypass403 #1074

Closed
TheTechromancer opened this issue Feb 6, 2024 · 2 comments
Closed

Error in bypass403 #1074

TheTechromancer opened this issue Feb 6, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@TheTechromancer
Copy link
Collaborator

2024-02-06 21:32:17,851 [ERROR] bbot.scanner scanner.py:1056 Error in bypass403.handle_event(URL("http://shop.tesla.com/", module=httpx, tags={'in-scope', 'status-403', 'http-title-access-denied', 'ip-184-50-204
-49', 'cdn-akamai', 'dir'})): /root/bbot/bbot/core/helpers/diff.py:177:compare(): 'NoneType' object has no attribute 'status_code'                                                                                 
2024-02-06 21:32:17,852 [TRACE] bbot.scanner logger.py:83 Traceback (most recent call last):                                                                                                                       
  File "/root/bbot/bbot/scanner/scanner.py", line 1039, in _acatch                                                                                                                                                 
    yield                                                                                                                                                                                                          
  File "/root/bbot/bbot/modules/base.py", line 618, in _worker                                                                                                                                                     
    await handle_event_task                                                                                                                                                                                        
  File "/root/bbot/bbot/modules/bypass403.py", line 131, in handle_event                                                                                                                                           
    results = await self.do_checks(compare_helper, event, collapse_threshold)                                                                                                                                      
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                      
  File "/root/bbot/bbot/modules/bypass403.py", line 94, in do_checks                                                                                                                                               
    match, reasons, reflection, subject_response = await compare_helper.compare(                                                                                                                                   
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                   
  File "/root/bbot/bbot/core/helpers/diff.py", line 177, in compare                                                                                                                                                
    if self.baseline.status_code != subject_response.status_code:                                                                                                                                                  
       ^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                                                   
AttributeError: 'NoneType' object has no attribute 'status_code'
@liquidsec
Copy link
Collaborator

To me this looks like the same error as we fixed in
#1059

Let's try to replicate tomorrow just to be sure.

@liquidsec
Copy link
Collaborator

Closing unless we see it again in updated dev branch

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

2 participants