This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| import multiprocessing | |
| import threading | |
| import time | |
| class server: | |
| def setup(self): | |
| print('Setting Up Server..') | |
| s = socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
| s.bind((socket.gethostname(),1234)) | |
| print('[+] Server Setup and Listening [+]') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| import threading | |
| s= socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
| s.connect((socket.gethostname(),1234)) | |
| def send(): | |
| global s | |
| while True: | |
| s.send(bytes( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| path = '' | |
| import requests | |
| from bs4 import BeautifulSoup | |
| def dothisshit(): | |
| global path | |
| try: | |
| f = open(path) | |
| print('\033[31m\033[1mFile Opened..\033[0m\n') | |
| for line in f.readlines(): | |
| secs = line.split('|') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import hashlib | |
| import os | |
| while True: | |
| s = hashlib.sha256() | |
| path = r'{}'.format(input('Path to file or Folder: \033[7m')) | |
| print('\033[0m') | |
| try: | |
| with open(path, "rb") as f: | |
| for chunk in iter(lambda: f.read(4096), b""): | |
| s.update(chunk) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chars = { | |
| '!':-15, | |
| '"':-14, | |
| '=':-13, | |
| '+':-12, | |
| '-':-11, | |
| '*':-10, | |
| '#':-9, | |
| '$':-8, | |
| '%':-7, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import os | |
| def clearscreen(): | |
| print('\n'*50) | |
| links = [] | |
| print('''==== Welcome To ezme.ir URL shortener ==== | |
| ========= Coded By: Raid7 ========= | |
| ''') | |
| fileorurl = input('(F)ile or (U)rl?: ').lower() | |
| ProcessThis = input('File or URL to shorten: ') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import mechanize | |
| import requests | |
| import re | |
| import logging | |
| import argparse | |
| import sys | |
| reload(sys) | |
| sys.setdefaultencoding('utf8') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| words = input('String to reverse: ').split(' ') | |
| reverselist = [] | |
| reversestring='' | |
| numofwords = len(words)-1 | |
| for x in range(0,numofwords): | |
| reverselist.append(words[numofwords-x]) | |
| reverselist.append(words[0]) | |
| for item in reverselist: | |
| reversestring += ' ' + item | |
| print(reversestring) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| long = input('Please enter how long you want your password to be :') | |
| withsym = input('Do you want symbols in your password?(Y/N): ') | |
| passwd = [] | |
| passe='' | |
| def dorand(): | |
| global passwd | |
| if withsym.lower() == 'y': | |
| type = random.randint(0, 3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| long = input('Please enter how long you want your password to be :') | |
| withsym = input('Do you want symbols in your password?(Y/N): ') | |
| passwd = [] | |
| passe='' | |
| def dorand(): | |
| global passwd | |
| if withsym.lower() == 'y': | |
| type = random.randint(0, 3) |
NewerOlder