Skip to content

Instantly share code, notes, and snippets.

View ahornyai's full-sized avatar
⌨️
programming, hacking, learning maths and cryptography

Alex ahornyai

⌨️
programming, hacking, learning maths and cryptography
View GitHub Profile
@AntonKueltz
AntonKueltz / rsa_factor.py
Created April 1, 2017 03:02
Factor an RSA modulus given the public and private key
def factor(n, e, d):
"""http://crypto.stackexchange.com/a/25910/17884
n - modulus
e - public exponent
d - private exponent
returns - (p, q) such that n = p*q
"""
from fractions import gcd
from random import randint
@jhaddix
jhaddix / all.txt
Last active July 15, 2024 23:21
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@jhaddix
jhaddix / cloud_metadata.txt
Last active July 21, 2024 03:25 — forked from BuffaloWill/cloud_metadata.txt
Cloud Metadata Dictionary useful for SSRF Testing
## AWS
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories
http://169.254.169.254/latest/user-data
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/ami-id
http://169.254.169.254/latest/meta-data/reservation-id
http://169.254.169.254/latest/meta-data/hostname
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key
@kovacs-andras
kovacs-andras / Volatility2.sh
Created October 13, 2023 10:20
Volatility2 install for modern Linux kernels on Kali W41
sudo -i
apt update
apt install \
build-essential \
capstone-tool \
git \
libcapstone-dev \
libdistorm3-dev \
libraw1394-11 \
pcregrep \