Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated code for python3 #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 71 additions & 71 deletions crips.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2.7
#!/usr/bin/env python3
#
#
#
Expand Down Expand Up @@ -30,23 +30,23 @@
{0}--INSTALL & UPDATE
{99}-Exit
'''
print logo
print menu
print(logo)
print(menu)
def quit():
con = raw_input('Continue [Y/n] -> ')
if con[0].upper() == 'N':
exit()
else:
os.system("clear")
print logo
print menu
select()
con = input('Continue [Y/n] -> ')
if con[0].upper() == 'N':
exit()
else:
os.system("clear")
print(logo)
print(menu)
select()

def select():
try:
choice = input("Crips~# ")
if choice == 1:
d3 = raw_input('Enter IP Or Domain : ')
d3 = input('Enter IP Or Domain : ')
os.system("clear")
print("""
_ ____ ______ _________
Expand All @@ -59,13 +59,13 @@ def select():
print("")
quit()
elif choice == 0:
os.system("clear")
print("This tool is only available for Linux and similar systems ")
os.system("git clone https://github.com/Manisso/Crips.git")
os.system("cd Crips && sudo bash ./update.sh")
os.system("crips")
os.system("clear")
print("This tool is only available for Linux and similar systems ")
os.system("git clone https://github.com/Manisso/Crips.git")
os.system("cd Crips && sudo bash ./update.sh")
os.system("crips")
elif choice == 2:
d3 = raw_input('Enter IP Or Domain : ')
d3 = input('Enter IP Or Domain : ')
os.system("clear")
print("""
____ ____ __ ___ ____ ____ _____ __ __ ____ ____
Expand All @@ -77,7 +77,7 @@ def select():
print("")
quit()
elif choice == 3:
d3 = raw_input('Enter Domain : ')
d3 = input('Enter Domain : ')
os.system("clear")
print("""
______ _ _ _____ _ _
Expand All @@ -93,40 +93,40 @@ def select():
print("")
quit()
elif choice == 0:
print "Bye Bye"
print("Bye Bye")
os.system("clear")
exit()
elif choice == 4:
d3 = raw_input('Enter IP Address - IP Range Or Domain : ')
os.system("clear")
print("""
_____ ____ _____ _____
| __ |___ _ _ ___ ___ ___ ___ | \| | | __|
| -| -_| | | -_| _|_ -| -_| | | | | | |__ |
|__|__|___|\_/|___|_| |___|___| |____/|_|___|_____|

""")
os.system("curl https://api.hackertarget.com/reversedns/?q=" + d3 )
print("")
quit()
d3 = input('Enter IP Address - IP Range Or Domain : ')
os.system("clear")
print("""
_____ ____ _____ _____
| __ |___ _ _ ___ ___ ___ ___ | \| | | __|
| -| -_| | | -_| _|_ -| -_| | | | | | |__ |
|__|__|___|\_/|___|_| |___|___| |____/|_|___|_____|
""")
os.system("curl https://api.hackertarget.com/reversedns/?q=" + d3 )
print("")
quit()
elif choice == 5:
d3 = raw_input('Enter IP Or Domain : ')
os.system("clear")
print("""
_____ _____ _____
/ ____| |_ _| __ \
| | __ ___ ___ | | | |__) |
| | |_ |/ _ \/ _ \ | | | ___/
| |__| | __| (_) _| |_| |
\_____|\___|\___|_____|_|
""")
os.system("curl http://api.hackertarget.com/geoip/?q=" + d3 )
print("")
print("")
quit()
d3 = input('Enter IP Or Domain : ')
os.system("clear")
print("""
_____ _____ _____
/ ____| |_ _| __ \
| | __ ___ ___ | | | |__) |
| | |_ |/ _ \/ _ \ | | | ___/
| |__| | __| (_) _| |_| |
\_____|\___|\___|_____|_|
""")
os.system("curl http://api.hackertarget.com/geoip/?q=" + d3 )
print("")
print("")
quit()
elif choice == 6:
d3 = raw_input('Enter IP Or Domain : ')
d3 = input('Enter IP Or Domain : ')
os.system("clear")
print("""
__ __
Expand All @@ -140,28 +140,28 @@ def select():
print("")
quit()
elif choice == 7:
d3 = raw_input('Enter IP Or Domain : ')
os.system("clear")
print("""
( ( (
)\ ))\ ) )\ ) )
(()/(()/( (()/( ( /( (
/(_)/(_)) /(_)) ( ( )\()) ))\ ` )
(_))(_)) (_)) )\ )\((_)\ /((_)/(/(
|_ _| _ \ | | ((_)((_| |(_(_))(((_)_\
| || _/ | |__/ _ / _ | / /| || | '_ \)
|___|_| |____\___\___|_\_\ \_,_| .__/
|_|
""")
os.system("wget http://api.hackertarget.com/reverseiplookup/?q=" + d3 )
os.system("clear")
os.system("curl http://api.hackertarget.com/reverseiplookup/?q=" + d3 )
print("")
print("\033[91m\033[1mFile Saved On : ")
os.system("pwd")
print("File : index.html?q=" +d3)
print("\033[0m")
quit()
d3 = input('Enter IP Or Domain : ')
os.system("clear")
print("""
( ( (
)\ ))\ ) )\ ) )
(()/(()/( (()/( ( /( (
/(_)/(_)) /(_)) ( ( )\()) ))\ ` )
(_))(_)) (_)) )\ )\((_)\ /((_)/(/(
|_ _| _ \ | | ((_)((_| |(_(_))(((_)_\
| || _/ | |__/ _ / _ | / /| || | '_ \)
|___|_| |____\___\___|_\_\ \_,_| .__/
|_|
""")
os.system("wget http://api.hackertarget.com/reverseiplookup/?q=" + d3 )
os.system("clear")
os.system("curl http://api.hackertarget.com/reverseiplookup/?q=" + d3 )
print("")
print("\033[91m\033[1mFile Saved On : ")
os.system("pwd")
print("File : index.html?q=" +d3)
print("\033[0m")
quit()
except(KeyboardInterrupt):
print ""
print("")
select()