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

Use sslscan in place of sslyze #602

Merged
merged 1 commit into from
Jun 30, 2024
Merged

Conversation

devl00p
Copy link
Contributor

@devl00p devl00p commented Jun 28, 2024

Theer is still an issue related to certificate transparency logs.

Can't tell at the moment if crt.sh is broken or if I should do things differently.

Copy link

codecov bot commented Jun 30, 2024

Codecov Report

Attention: Patch coverage is 82.81938% with 39 lines in your changes missing coverage. Please review.

Project coverage is 79.53%. Comparing base (3a0f685) to head (cf646d7).

Files Patch % Lines
wapitiCore/attack/mod_ssl.py 82.81% 39 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #602      +/-   ##
==========================================
+ Coverage   79.40%   79.53%   +0.12%     
==========================================
  Files         122      122              
  Lines       10296    10358      +62     
==========================================
+ Hits         8176     8238      +62     
  Misses       2120     2120              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@devl00p
Copy link
Contributor Author

devl00p commented Jun 30, 2024

related to #553

Did a simple check for a pattern in crt.sh responses for CT logs.

@devl00p devl00p merged commit b591702 into wapiti-scanner:master Jun 30, 2024
7 checks passed
@bretfourbe
Copy link
Collaborator

Hi @devl00p,
I think we should remove ssl from common_modules here : https://github.com/wapiti-scanner/wapiti/blob/master/wapitiCore/attack/attack.py#L81 since sslscan is not installed by default.

@devl00p
Copy link
Contributor Author

devl00p commented Jul 1, 2024

Hi @devl00p, I think we should remove ssl from common_modules here : https://github.com/wapiti-scanner/wapiti/blob/master/wapitiCore/attack/attack.py#L81 since sslscan is not installed by default.

Hello,

No, this is on purpose to encourage users to install the dependency. They wil just get a warning telling them to install sslscan.

@Qwarctick
Copy link

Qwarctick commented Jul 3, 2024

No, this is on purpose to encourage users to install the dependency. They wil just get a warning telling them to install sslscan.

I does not work. If sslscan is not installed, subprocess will raise a FileNotFoundError and stop the execution. You will not have the correct warning.

EDIT: My bad, it does not work only in tests. It works in "normal" execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants