Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- import os
- import requests
- def main():
- try:
- os.system("clear")
- except:
- os.system("cls")
- print("""
- \033[33m___ ___ _______ ___________ _______ _______ ______\033[33m
- \033[33m| \/ | | \ | | / || ____| / |\033[33m
- \033[33m| \ / | | .--. |`---| |----` | (----`| |__ | ,----'\033[33m
- \033[33m| |\/| | | | | | | | \ \ | __| | | \033[33m
- \033[33m| | | | | '--' | | | .----) | | |____ | `----.\033[33m
- \033[33m|__| |__| |_______/ |__| |_______/ |_______| \______|\033[33m
- \033[37mCoded By\033[37m \033[31mCo0dxZ\n\033[0;0m
- \033[31mMindset Security - \033[0; 0m \033[37mhttps://mindsetsecurity.wordpress.com/\033[37m
- """)
- main()
- if len(sys.argv) < 3:
- print("""\033[31mUse:\033[31m python mdtsec.py ip_site module_name""")
- sys.exit(0)
- ip = sys.argv[1]
- module = sys.argv[2]
- def whois():
- web = "httsp://api.hackertarget.com/whois/?q=%s"%(ip)
- get = requests.get(web)
- print(get)
- if(module=='whois'):
- whois()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement