diff --git a/Assets/emailHosts.py b/Assets/emailHosts.py new file mode 100644 index 0000000..5a86998 --- /dev/null +++ b/Assets/emailHosts.py @@ -0,0 +1,521 @@ +weighted_email_domains = [ +("@accenture.ca", 12), +("@accenture.com", 15), +("@activision.com", 15), +("@activision.net", 8), +("@adobe.com", 165), +("@adobe.uk", 15), +("@adp.co.uk", 5), +("@adp.com", 15), +("@airbnb.co.uk", 10), +("@airbnb.com", 15), +("@airtelmail.in", 15), +("@alibaba.co.uk", 6), +("@alibaba.com", 150), +("@alice.it", 15), +("@aliceadsl.fr", 15), +("@aliexpress.com", 15), +("@aliexpress.in", 7), +("@alipay.com", 20), +("@alipay.jp", 3), +("@allianz.com", 15), +("@amazon.co.uk", 14), +("@amazon.com", 105), +("@americanexpress.com", 15), +("@android.com", 20), +("@android.net", 9), +("@aol.co.uk", 5), +("@aol.com", 40), +("@aon.at", 15), +("@apple.ca", 13), +("@apple.com", 100), +("@aramco.com", 15), +("@arcor.de", 15), +("@asana.co.uk", 6), +("@asana.com", 15), +("@atlassian.com", 15), +("@atlassian.net", 7), +("@att.com", 20), +("@att.net", 20), +("@automatic.com", 15), +("@avast.com", 15), +("@avast.net", 4), +("@baidu.com", 20), +("@baidu.jp", 8), +("@bbox.fr", 15), +("@bellsouth.net", 15), +("@bilibili.com", 20), +("@blizzard.com", 15), +("@blocker.com", 15), +("@blogger.com", 15), +("@bloomberg.com", 15), +("@bluewin.ch", 5), +("@blueyonder.co.uk", 5), +("@bol.net.in", 5), +("@booking.co.uk", 3), +("@booking.com", 15), +("@box.co.uk", 2), +("@box.com", 10), +("@bp.com", 5), +("@bplmobile.com", 15), +("@btconnect.com", 15), +("@btinternet.com", 15), +("@btopenworld.com", 15), +("@canva.com", 15), +("@capitalone.com", 15), +("@cathaypacific.co.uk", 5), +("@cathaypacific.com", 15), +("@cbn.net.id", 15), +("@cfl.rr.com", 15), +("@charter.com", 20), +("@charter.net", 15), +("@chase.com", 15), +("@chello.at", 15), +("@chrome.com", 15), +("@cisco.co.uk", 6), +("@cisco.com", 15), +("@citi.com", 15), +("@citibank.com", 15), +("@club-internet.fr", 15), +("@cm1.hinet.net", 15), +("@cognizant.com", 15), +("@comcast.co.uk", 9), +("@comcast.com", 20), +("@comcast.net", 20), +("@costco.co.uk", 4), +("@costco.com", 15), +("@cox.net", 15), +("@craigslist.co.uk", 3), +("@craigslist.org", 15), +("@creditagricole.com", 15), +("@creditkarma.com", 15), +("@dell.co.uk", 7), +("@dell.com", 15), +("@discord.co.uk", 11), +("@discord.com", 75), +("@dishmail.net", 15), +("@docusign.com", 15), +("@dominos.com", 15), +("@doordash.com", 15), +("@dropbox.co.uk", 10), +("@dropbox.com", 170), +("@dsl.pipex.com", 15), +("@duckduckgo.com", 15), +("@ea.co.uk", 6), +("@ea.com", 15), +("@earthlink.net", 15), +("@eastlink.ca", 15), +("@ebay.co.uk", 8), +("@ebay.com", 25), +("@eclipse.net.uk", 5), +("@edf.com", 15), +("@edge.com", 15), +("@edu.tw", 15), +("@eff.com", 15), +("@electronicarts.com", 15), +("@email.it", 15), +("@emerson.com", 15), +("@epicgames.com", 15), +("@ericsson.com", 15), +("@espn.com", 20), +("@esso.com", 15), +("@eth.net", 15), +("@eventbrite.com", 15), +("@evernote.co.uk", 4), +("@evernote.com", 15), +("@execulink.com", 15), +("@expedia.com", 15), +("@experian.com", 15), +("@facebook.co.uk", 9), +("@facebook.com", 20), +("@fastmail.in", 15), +("@fastwebnet.it", 15), +("@fedex.co.uk", 5), +("@fedex.com", 15), +("@firefox.com", 35), +("@fitbit.co.uk", 3), +("@fitbit.com", 15), +("@flickr.co.uk", 6), +("@flickr.com", 15), +("@flipkart.co.uk", 7), +("@flipkart.com", 20), +("@foursquare.co.uk", 5), +("@foursquare.com", 15), +("@fox.com", 15), +("@foxnews.com", 15), +("@free.fr", 15), +("@freenet.de", 15), +("@frontier.com", 15), +("@gap.com", 15), +("@geico.com", 15), +("@generalelectric.com", 15), +("@github.co.uk", 12), +("@github.com", 165), +("@gitlab.com", 15), +("@gmail.com", 999), +("@gmx.ch", 5), +("@gmx.com", 15), +("@godaddy.com", 44), +("@goldmansachs.com", 15), +("@google.co.uk", 15), +("@google.com", 66), +("@googledocs.co.uk", 10), +("@googlemaps.com", 20), +("@goto.com", 15), +("@gotomeeting.com", 15), +("@gowallet.com", 15), +("@grammarly.com", 15), +("@greenpeace.com", 15), +("@guardian.com", 15), +("@gwi.net", 15), +("@hathway.com", 15), +("@hbo.co.uk", 7), +("@hbo.com", 15), +("@hinet.net", 15), +("@homedepot.com", 15), +("@hotels.com", 15), +("@hotmail.co.uk", 14), +("@hotmail.com", 400), +("@hp.co.uk", 9), +("@hp.com", 15), +("@hsbc.com", 15), +("@hulu.co.uk", 8), +("@hulu.com", 35), +("@ibm.co.uk", 6), +("@ibm.com", 35), +("@icbc.com", 15), +("@ice.com", 15), +("@icloud.com", 666), +("@icq.com", 15), +("@ideo.com", 15), +("@ieee.com", 15), +("@iflix.com", 15), +("@ifttt.com", 15), +("@imdb.com", 20), +("@imgur.com", 165), +("@iname.com", 15), +("@indeed.com", 15), +("@indiatimes.com", 15), +("@indo.net.id", 15), +("@inode.at", 15), +("@insightbb.com", 15), +("@instagram.co.uk", 11), +("@instagram.com", 44), +("@intel.com", 35), +("@interia.pl", 15), +("@internetarchive.com", 15), +("@intuit.com", 15), +("@investopedia.com", 15), +("@ipad.com", 15), +("@ipl.com", 15), +("@irs.gov", 15), +("@itunes.com", 15), +("@jack.com", 15), +("@jaguar.com", 15), +("@java.com", 15), +("@jcp.com", 15), +("@jetblue.com", 15), +("@jetbrains.com", 15), +("@jpmorgan.com", 15), +("@juniper.com", 15), +("@juno.com", 15), +("@justice.com", 15), +("@kaspersky.com", 15), +("@kayak.com", 15), +("@kfc.com", 15), +("@kickstarter.com", 15), +("@kik.com", 15), +("@kimo.com", 15), +("@kiss.com", 15), +("@kissanime.ru", 15), +("@kobo.com", 15), +("@kroger.com", 15), +("@laposte.net", 15), +("@last.fm", 15), +("@lastpass.com", 15), +("@lendingclub.com", 15), +("@lenovo.com", 15), +("@letsencrypt.com", 15), +("@lg.com", 15), +("@libero.it", 15), +("@liberty.com", 15), +("@lien.com", 15), +("@like.com", 15), +("@line.com", 15), +("@lineone.net", 15), +("@linkedin.co.uk", 10), +("@linkedin.com", 85), +("@linux.com", 15), +("@live.com", 150), +("@livechat.com", 15), +("@livejournal.com", 15), +("@livenation.com", 15), +("@logitech.com", 15), +("@los.com", 15), +("@lowes.com", 15), +("@lufthansa.com", 15), +("@lyft.com", 15), +("@mac.com", 15), +("@macys.com", 15), +("@mail.com", 150), +("@mail.ru", 120), +("@mail.twnic.net.tw", 5), +("@mailbox.co.uk", 5), +("@mailchimp.com", 20), +("@mapquest.com", 15), +("@marriott.com", 15), +("@mastercard.com", 35), +("@mcafee.com", 15), +("@mcdonalds.co.uk", 13), +("@mcdonalds.com", 105), +("@mchsi.com", 15), +("@me.com", 10), +("@medium.co.uk", 7), +("@medium.com", 20), +("@mega.nz", 15), +("@mercedes.com", 15), +("@messenger.com", 15), +("@microsoft.co.uk", 15), +("@microsoft.com", 220), +("@mint.com", 15), +("@mitsubishi.com", 15), +("@mix.com", 15), +("@morganstanley.com", 15), +("@mozilla.com", 35), +("@msa.hinet.net", 15), +("@msn.com", 25), +("@myspace.com", 15), +("@namecheap.com", 15), +("@napster.com", 15), +("@nationalgeographic.com", 15), +("@nbc.com", 15), +("@netflix.co.uk", 12), +("@netflix.com", 40), +("@netzero.net", 15), +("@neuf.fr", 15), +("@newegg.com", 15), +("@newyorktimes.com", 15), +("@nike.com", 15), +("@nintendo.co.uk", 8), +("@nintendo.com", 40), +("@nokia.com", 15), +("@norwegian.com", 15), +("@ntl.com", 15), +("@ntlworld.com", 15), +("@nuance.com", 15), +("@numericable.fr", 15), +("@nvidia.com", 15), +("@nytimes.com", 15), +("@office.com", 40), +("@office365.com", 20), +("@okcupid.com", 15), +("@okta.com", 15), +("@onedrive.com", 20), +("@onetel.com", 15), +("@opera.com", 20), +("@optonline.net", 15), +("@oracle.com", 35), +("@orange.net", 15), +("@outlook.co.uk", 14), +("@outlook.com", 400), +("@outlook365.com", 20), +("@overstock.com", 15), +("@pacbell.net", 15), +("@pacific.net.sg", 15), +("@pandora.com", 15), +("@patreon.com", 15), +("@paypal.co.uk", 11), +("@paypal.com", 200), +("@pchome.com.tw", 15), +("@pepsi.com", 15), +("@philips.com", 15), +("@photobucket.com", 15), +("@picasa.com", 15), +("@pinterest.com", 30), +("@pixabay.com", 15), +("@plasa.com", 15), +("@playstation.com", 40), +("@plus.com", 15), +("@pnc.com", 15), +("@pornhub.com", 69), +("@poste.it", 15), +("@privacy.com", 15), +("@progressive.com", 15), +("@proton.com", 15), +("@protonmail.com", 50), +("@pubg.com", 15), +("@quora.com", 35), +("@rackspace.com", 15), +("@rad.net.id", 2), +("@reddit.co.uk", 10), +("@reddit.com", 35), +("@redhat.com", 15), +("@rediffmail.com", 15), +("@riotgames.com", 15), +("@roadrunner.com", 15), +("@roblox.com", 100), +("@rocketmail.com", 15), +("@rockstar.com", 15), +("@rockstargames.co.uk", 9), +("@rockstargames.com", 15), +("@rogers.com", 15), +("@roku.com", 15), +("@safari.com", 15), +("@sales.com", 88), +("@salesfloor.com", 88), +("@salesforce.co.uk", 6), +("@salesforce.com", 88), +("@samsung.com", 20), +("@sap.com", 15), +("@sbcglobal.net", 15), +("@scratch.mit.edu", 26), +("@screaming.net", 15), +("@seed.net.tw", 5), +("@sega.com", 15), +("@sfr.fr", 5), +("@shaw.ca", 15), +("@shell.com", 15), +("@shopify.com", 35), +("@siemens.com", 15), +("@sify.com", 15), +("@signal.com", 15), +("@sina.com", 15), +("@singa.com", 15), +("@singnet.com.sg", 5), +("@sky.com", 15), +("@skype.co.uk", 13), +("@skype.com", 20), +("@slack.com", 30), +("@snapchat.com", 20), +("@so-net.net.tw", 1), +("@sony.com", 35), +("@soundcloud.com", 20), +("@spotify.co.uk", 5), +("@spotify.com", 40), +("@square.com", 15), +("@stackexchange.com", 30), +("@stackoverflow.co.uk", 4), +("@stackoverflow.com", 20), +("@starbucks.com", 15), +("@starhub.net.sg", 15), +("@startpage.com", 15), +("@starz.com", 15), +("@steam.com", 40), +("@steamcommunity.com", 20), +("@steampowered.com", 20), +("@stripe.com", 15), +("@subaru.com", 15), +("@sunrise.ch", 5), +("@supanet.com", 15), +("@suzuki.com", 15), +("@swbell.net", 15), +("@sympatico.ca", 15), +("@talk21.com", 15), +("@talktalk.net", 15), +("@target.com", 15), +("@taringa.net", 15), +("@td.com", 15), +("@tds.net", 15), +("@teams.com", 15), +("@teamviewer.com", 15), +("@techcrunch.com", 15), +("@tele2.it", 15), +("@telegram.com", 15), +("@telegram.org", 15), +("@telkom.net", 15), +("@telkomsel.co.id", 5), +("@telus.net", 15), +("@tencent.com", 20), +("@tesco.net", 15), +("@tesla.com", 20), +("@theguardian.com", 15), +("@thetrainline.com", 15), +("@threema.com", 15), +("@tiktok.co.uk", 3), +("@tiktok.com", 40), +("@time.com", 15), +("@tin.it", 15), +("@tiscali.co.uk", 15), +("@tistory.com", 15), +("@tmobile.com", 20), +("@tonline.de", 5), +("@torproject.com", 15), +("@totalise.co.uk", 5), +("@toyota.com", 15), +("@trello.com", 30), +("@tripadvisor.com", 15), +("@trivago.com", 15), +("@tumblr.com", 20), +("@twitch.com", 15), +("@twitch.tv", 20), +("@twitter.co.uk", 7), +("@twitter.com", 150), +("@twnic.net", 15), +("@uber.co.uk", 8) +("@uber.com", 20), +("@ubisoft.com", 15), +("@udemy.com", 15), +("@uk2.net", 5), +("@ukgateway.net", 15), +("@ukonline.co.uk", 1), +("@ups.com", 150), +("@usat.net.id", 5), +("@usatoday.com", 15), +("@usbank.com", 15), +("@usps.com", 15), +("@v21.co.uk", 5), +("@valve.com", 15), +("@verizon.com", 20), +("@verizon.net", 20), +("@videotron.ca", 15), +("@vimeo.com", 35), +("@virgilio.it", 15), +("@virginmedia.com", 15), +("@visa.com", 170), +("@vk.com", 20), +("@vodafone.it", 15), +("@vsnl.net", 15), +("@vudu.com", 15), +("@walmart.com", 20), +("@wanadoo.co.uk", 15), +("@wanadoo.fr", 15), +("@warnerbros.com", 15), +("@washingtonpost.com", 15), +("@webmail.ru", 15), +("@wechat.com", 20), +("@weibo.com", 20), +("@wellsfargo.com", 15), +("@wetransfer.com", 15), +("@whatsapp.com", 40), +("@wikileaks.com", 15), +("@wikimedia.com", 15), +("@wikimedia.org", 20), +("@wikipedia.com", 35), +("@wikipedia.org", 20), +("@wix.com", 15), +("@woocommerce.com", 15), +("@wordpress.com", 40), +("@xbox.com", 40), +("@xhamster.com", 69), +("@xl.co.id", 1), +("@xuite.net", 15), +("@yahoo.co.jp", 16), +("@yahoo.com", 300), +("@yahoo.jp", 2), +("@yandex.com", 7), +("@yandex.ru", 20), +("@yelp.com", 30), +("@ymail.com", 150), +("@youku.com", 20), +("@youtube.com", 300), +("@zapakmail.com", 15), +("@zara.com", 15), +("@zen.co.uk", 5), +("@zendesk.com", 30), +("@zillow.com", 15), +("@zoho.com", 30), +("@zomato.com", 15), +("@zoom.com", 15), +("@zoom.us", 15), + +] \ No newline at end of file diff --git a/README.md b/README.md index 67ac83c..36a7aec 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,20 @@ python3 phishkiller.py Then paste the url of the target - ## To Do List + ## Recent Imrpovements + + - Advanced Strategies & Error Handling - https://github.com/HarryJamesGreen + - Password Length Randomization - https://github.com/B1GBOOM420 + - Licence - https://github.com/lp-pinkk + - Random Generation & Refactor - https://github.com/mela-nen + - Creation Of This Amazing Community Project - https://github.com/CybrZone + + + +## TODO + + - Proxies - - Proxy (rotate IP address) ### Disclaimer -**Note:** This script should be used responsibly and only on systems you have explicit permission to test against. +**Note:** This code is for educational and testing purposes only, and should not be used for any malicious or illegal activities. Using this code for any unauthorized purpose may violate the terms of service of the target website, as well as local and international laws. The use of this code is entirely at your own risk, and the author and contributors are not responsible for any misuse or consequences arising from its use. diff --git a/phishkiller.py b/phishkiller.py index acb9074..5fe8013 100644 --- a/phishkiller.py +++ b/phishkiller.py @@ -3,55 +3,107 @@ import random import string import names -import subprocess - +import logging +import time from fake_useragent import UserAgent +from Assets.emailHosts import weighted_email_domains +# Set up logging +logging.basicConfig( + level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s" +) -def name_gen():#Generates a random name for the email - name_system = random.choice(["FullName", "FullFirstFirstInitial", "FirstInitialFullLast"]) +def name_gen(): # Generates a random name for the email + name_system = random.choice( + ["FullName", "FullFirstFirstInitial", "FirstInitialFullLast"] + ) first_name = names.get_first_name() last_name = names.get_last_name() - if name_system == "FullName":#JohnDoe + if name_system == "FullName": # JohnDoe return first_name + last_name - elif name_system == "FullFirstFirstInitial":#JohnD + elif name_system == "FullFirstFirstInitial": # JohnD return first_name + last_name[0] - return first_name[0] + last_name#JDoe + return first_name[0] + last_name # JDoe + def generate_random_email(): + # Generate email with combination of name and domain name = name_gen() - NumberOrNo=random.choice(["Number", "No"]) - domain = random.choice(["@gmail.com", "@yahoo.com", "@rambler.ru", "@protonmail.com", "@outlook.com", "@itunes.com"])#Popular email providers - if NumberOrNo == "Number": - return name + str(random.randint(1, 100)) + domain + use_number = random.choice([True, False]) # Renamed for clarity + + # Calculate cumulative weights + cumulative_weights = [] + total_weight = 0 + for domain, weight in weighted_email_domains: + total_weight += weight + cumulative_weights.append((domain, total_weight)) + + # Select domain based on cumulative weights + random_number = random.randint(1, total_weight) + for domain, cumulative_weight in cumulative_weights: + if random_number <= cumulative_weight: + selected_domain = domain + break + + # Generate email with or without a number + if use_number: + return f"{name}{random.randint(1, 100)}{selected_domain}" else: - return name + domain + return f"{name}{selected_domain}" + + +def generate_random_password(): # Generate password using uppercase, lowercase, numbers and special characters + characters = string.ascii_letters + string.digits + string.punctuation + length = random.randint(12, 20) # Random length between 12 and 20 + return "".join(random.choice(characters) for _ in range(length)) -def generate_random_password(): - return ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(8)) def send_posts(url): while True: - email = generate_random_email() - password = generate_random_password() - data = {"a": email, "az": password} - ua = UserAgent() - user_agent = ua.random - headers = {'User-Agent': user_agent} - response = requests.post(url, data=data, headers=headers,) - print(f"Email: {email}, Password: {password}, Status Code: {response.status_code}, headers: {user_agent}") + try: + email = generate_random_email() + password = generate_random_password() + data = {"a": email, "az": password} + ua = UserAgent() + user_agent = ua.random + headers = {"User-Agent": user_agent} + + response = requests.post(url, data=data, headers=headers) + logging.info( + f"Email: {email}, Password: {password}, Status Code: {response.status_code}, User-Agent: {user_agent}" + ) + + if response.status_code != 200: + logging.error(f"Error: Received status code {response.status_code}") + time.sleep(random.uniform(1, 5)) # Random delay between 1 and 5 seconds + + except requests.RequestException as e: + logging.error(f"Request failed: {e}") + time.sleep(5) # Wait for 5 seconds before retrying + + except Exception as e: + logging.error(f"An unexpected error occurred: {e}") + time.sleep(5) # Wait for 5 seconds before retrying + def main(): url = input("Enter the URL of the target you want to flood: ") - threads = [threading.Thread(target=send_posts, args=(url,), daemon=True) for _ in range(25)] + try: + threads = [ + threading.Thread(target=send_posts, args=(url,), daemon=True) + for _ in range(25) + ] + + for t in threads: + t.start() - for t in threads: - t.start() + for t in threads: + t.join() + except Exception as e: + print(f"Error in main: {e}") - for t in threads: - t.join() if __name__ == "__main__": main() diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b5ff327 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +threading +requests +random +string +names +logging +time +fake_useragent \ No newline at end of file