This file contains 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
#include <IRremote.h> | |
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#define OLED_RESET 4 | |
Adafruit_SSD1306 display(OLED_RESET); | |
const int RECV_PIN= 7; // IR data pin |
This file contains 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
essid, bssid = input("ESSID: "), input("BSSID: ").replace(":","") | |
psk= essid[0:len(essid)-2] + bssid[6:10] + essid[len(essid)-2:len(essid)] | |
print("Password: "psk) |
This file contains 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
from os import system | |
system("clear") | |
while True : | |
print("1. What's my IP") | |
print("2. Scanning host") | |
print("3. Shodan search to scan ip, port, hostname") | |
print("0. Exit\n") | |
option = input("SHODAN>") |
This file contains 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 subprocess, ipaddress, socket, concurrent.futures , re | |
from subprocess import Popen, PIPE | |
def myIP(): # get my IP addy | |
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
s.connect(("8.8.8.8", 80)) | |
ip = s.getsockname()[0] | |
s.close() | |
return ip |
This file contains 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
def prime(n): | |
count = []; | |
while n%2 == 0: | |
count.append(2) | |
n = n/2 | |
for i in range(3,int(n**.5)+1,2): | |
while n%i == 0: | |
count.append (i) | |
n = n/i | |
if n>2: count.append(int(n)) |
This file contains 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 | |
host = raw_input("enter host: ") | |
IP = socket.gethostbyname(host) # for remote | |
print("scanning\n----------") | |
for port in range(1,1025): | |
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
open = sock.connect_ex((IP, port)) |
This file contains 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
from itertools import product | |
from string import ascii_lowercase, ascii_uppercase | |
alphabet = ascii_lowercase + ascii_uppercase | |
codes = open("codelist.txt","w+") | |
keywords = [''.join(i) for i in product(alphabet, repeat = 3)] | |
for words in keywords: | |
codes.write(words+"\n") |
This file contains 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, sys | |
def get_hash(case, arg) : | |
hash_val = { | |
1: hashlib.md5(arg.encode('utf-8')).hexdigest() , | |
2: hashlib.sha1(arg.encode('utf-8')).hexdigest() , | |
3: hashlib.sha224(arg.encode('utf-8')).hexdigest() , | |
4: hashlib.sha256(arg.encode('utf-8')).hexdigest() , | |
5: hashlib.sha384(arg.encode('utf-8')).hexdigest() , | |
6: hashlib.sha512(arg.encode('utf-8')).hexdigest() , |
This file contains 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 os | |
from os import path | |
area_code= input("Area Code: ") | |
output= "wlist/"+area_code+".txt" | |
if not os.path.exists("wlist"): | |
os.mkdir("wlist") | |
if path.exists(output): | |
print(output+" already exists, overwriting") | |
os.remove(output) | |
else: |
This file contains 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
# https://myaccount.google.com/lesssecureapps | |
import datetime as dt | |
from datetime import datetime | |
import time , smtplib | |
def send_email(have): | |
email_user = '***@gmail.com' # email here | |
server = smtplib.SMTP ('smtp.gmail.com', 587) | |
server.starttls() | |
server.login(email_user, '***') # pass here or read from input | |
message = """\ |
OlderNewer