wapiti-scanner / wapiti

Web vulnerability scanner written in Python3
https://github.com/wapiti-scanner/wapiti
GNU General Public License v2.0
1.21k stars 183 forks source link

fix max-attack-time (again) #533

Closed bretfourbe closed 11 months ago

bretfourbe commented 11 months ago

Add a wait_for condition and remove all checks inside modules Default value for max-attack-time is None now

fwininger commented 11 months ago

Reste à voir pour les tests unitaires, mais la direction me semble bonne.

bretfourbe commented 11 months ago

I removed modules unit tests related to max-attack-time since it is not managed by modules anymore but directly in attack method from Wapiti class (controller)

codecov[bot] commented 11 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (7727427) 77.77% compared to head (cecc8c2) 77.71%.

Files Patch % Lines
wapitiCore/controller/wapiti.py 16.66% 5 Missing :warning:
wapitiCore/attack/attack.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #533 +/- ## ========================================== - Coverage 77.77% 77.71% -0.07% ========================================== Files 110 110 Lines 9103 9054 -49 ========================================== - Hits 7080 7036 -44 + Misses 2023 2018 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.