From 24d4b8ff1b3aa2ef46e5bed62579a869cd28c776 Mon Sep 17 00:00:00 2001 From: khast3x Date: Thu, 30 Jan 2020 04:21:00 +0100 Subject: [PATCH] Data reorder + wiki https --- h8mail/utils/classes.py | 6 +++--- h8mail/utils/helpers.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/h8mail/utils/classes.py b/h8mail/utils/classes.py index 65279e9..a180e55 100644 --- a/h8mail/utils/classes.py +++ b/h8mail/utils/classes.py @@ -558,6 +558,9 @@ def get_leaklookup_priv(self, api_key, user_query): b_counter = 0 for db, data in response["message"].items(): for d in data: + if "username" in d.keys(): + self.pwned += 1 + self.data.append(("LKLP_USERNAME", d["username"])) if "email_address" in d.keys() and self.not_exists( d["email_address"] ): @@ -573,9 +576,6 @@ def get_leaklookup_priv(self, api_key, user_query): self.pwned += 1 self.data.append(("LKLP_PASSWORD", d["password"])) b_counter += 1 - if "username" in d.keys(): - self.pwned += 1 - self.data.append(("LKLP_USERNAME", d["username"])) if "ipaddress" in d.keys(): self.pwned += 1 self.data.append(("LKLP_LASTIP", d["ipaddress"])) diff --git a/h8mail/utils/helpers.py b/h8mail/utils/helpers.py index fe211af..6575637 100644 --- a/h8mail/utils/helpers.py +++ b/h8mail/utils/helpers.py @@ -64,7 +64,7 @@ def print_banner(b_type="intro"): elif "warn" in b_type: print( c.fg.pink, - "\t Check out the new wiki!\n\t http://bit.ly/37xaQVh\n\n", + "\t Check out the new wiki!\n\t https://bit.ly/37xaQVh\n\n", c.reset, ) elif "version" in b_type: