Skip to content

Instantly share code, notes, and snippets.

from Cryptodome.Cipher import AES
from Cryptodome.Random import get_random_bytes
from pypykatz.commons.common import hexdump
data = b"secret"
key = b'\xAA'*16
iv = b'\xAA'*16
cipher = AES.new(key, AES.MODE_CFB, iv=iv)
ct_bytes = cipher.encrypt(data)
from Cryptodome.Cipher import AES
from Cryptodome.Random import get_random_bytes
from pypykatz.commons.common import hexdump
data = b"secret"*10
key = b'\xAA'*16
iv = b'\xAA'*16
cipher = AES.new(key, AES.MODE_CFB, iv=iv)
ct_bytes = cipher.encrypt(data)
@skelsec
skelsec / bapp_downloader.py
Created June 7, 2022 23:19
burp bapp downloader
"""
Yet again I have to test webapps in a restricted envrionment with no internet access.
This script will download all avilable BAPPs from the Burp BAPP store so you can install them offline.
It also creates a small info.txt file that matches the app names to the actual file names.
"""
import requests
import re
from tqdm import tqdm