Nekmo / dirhunt

Find web directories without bruteforce
MIT License
1.73k stars 237 forks source link

Update exceptions.py #43

Closed ldbfpiaoran closed 5 years ago

ldbfpiaoran commented 5 years ago

Will be generated when using dirhunt for ip with https certificate ssl.CertificateError: hostname XXXX doesn't match either of Anomaly. For example dirhunt https://42.186.69.33/venus/projects/_/users

codecov[bot] commented 5 years ago

Codecov Report

Merging #43 into develop will increase coverage by 0.08%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #43      +/-   ##
===========================================
+ Coverage    91.08%   91.17%   +0.08%     
===========================================
  Files           28       28              
  Lines         1324     1326       +2     
===========================================
+ Hits          1206     1209       +3     
+ Misses         118      117       -1
Impacted Files Coverage Δ
dirhunt/exceptions.py 100% <100%> (ø) :arrow_up:
dirhunt/pool.py 85.71% <0%> (+4.76%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ca103e0...3eec5a9. Read the comment docs.

Nekmo commented 5 years ago

Exists any solution without patching core SSL library? Dirhunt can be used as a module in other projects, causing this change a problem.

I'm going to investigate this, If you find something, let me know.

Thank you.

ldbfpiaoran commented 5 years ago

@Nekmo Yes, it can ignore the certificate just like the parameters of the requests library, but there should be an official urllib library in dirhunt that works with python, so this happens.

Nekmo commented 5 years ago

Fixed on Issue #44 and Issue #45 without patch core libraries. Please check the development branch.

Nekmo commented 5 years ago

This is solved on issues #44 and Issue #45.

Thank you.