A curated list of awesome Python frameworks, libraries, software and resources.
Inspired by awesome-php.
import sys, numpy as np | |
def cipher_encryption(): | |
msg = input('Enter message: ').upper() | |
msg = msg.replace(' ', '') | |
len_chk = 0 | |
if len(msg) % 2 != 0: | |
msg += '0' | |
len_chk = 1 | |
row = 2 |
A curated list of awesome Python frameworks, libraries, software and resources.
Inspired by awesome-php.
This is a technique for extracting all imported modules from a packaged Python application as .pyc
files, then decompiling them. The target program needs to be run from scratch, but no debugging symbols are necessary (assuming an unmodified build of Python is being used).
This was originally performed on 64-bit Linux with a Python 3.6 target. The Python scripts have since been updated to handle pyc files for Python 2.7 - 3.9.
In Python we can leverage the fact that any module import involving a .py*
file will eventually arrive as ready-to-execute Python code object at this function:
PyObject* PyEval_EvalCode(PyObject *co, PyObject *globals, PyObject *locals);
http://www.mediafire.com/file/u9mdqysvddqcb7l/IDA_Pro_7.5.201028_SP3.zip/file |
#!/usr/bin/env python3 | |
""" | |
This module generates a passphrase using EFF's long word list (for use with five dice). | |
word list attribution: | |
https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases | |
usage: passphrase_ex.py [-h] [-n NUMBER] [-s SEPARATOR] |
RiseupVPN | |
https://bayfiles.com/l9peY2Ufpc/RiseupVPN_zip |
from idautils import * | |
from idaapi import * | |
from ida_name import * | |
from idc import * | |
from ida_hexrays import * | |
from ida_frame import * | |
from ida_struct import * | |
INHERITANCE = { | |
# Auto Object base classes. |
#!/usr/bin/env python3 | |
""" | |
Script used to pull down the current video descriptions from ippsec's youtube channel. | |
The raw output still has a few HTML tags that need to be manually removed and there | |
also seem to be multiple duplicates of videos that have been removed in the output | |
saved as ippsec-details.txt | |
""" | |
import re | |
import sys |