yassineaboukir / sublert

Sublert is a security and reconnaissance tool which leverages certificate transparency to automatically monitor new subdomains deployed by specific organizations and issued TLS/SSL certificate.
MIT License
981 stars 172 forks source link

Wrong domain is already being monitored error #1

Closed gfrooo1989 closed 5 years ago

gfrooo1989 commented 5 years ago

Hey,

First of all thanks for the tool. There is a small bug in the app in how domains are check if they are already monitored. If the second domain you want to add is part of the last added domain, it will be considered already monitored, witch is false.

Ex :

sublert.py -u uber.com

-> uber.com will be monitored -> good

sublert.py -u ber.com

-> ber.com is already monitored -> small bug here, ber.com is not monitored, but because it's the last part of uber it is considered monitored

yassineaboukir commented 5 years ago

Hi,

That's good catch! I just resolved the issue now. Let me know if it's still reproducible.

Thanks!