Skip to content

Instantly share code, notes, and snippets.

@Neo23x0
Neo23x0 / log4j_rce_detection.md
Last active January 28, 2024 08:19
Log4j RCE CVE-2021-44228 Exploitation Detection

log4j RCE Exploitation Detection

You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228

Grep / Zgrep

This command searches for exploitation attempts in uncompressed files in folder /var/log and all sub folders

sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log
@ssstonebraker
ssstonebraker / Active Directory Attacks.md
Last active April 5, 2024 02:26
Active Directory Attacks #oscp
@jeanlouisferey
jeanlouisferey / easy_virtualenv_ansible.md
Last active April 15, 2021 12:45
How to use virtualenv to switch easily between multiple version of Ansible on Ubuntu

How to use virtualenv to switch easily between multiple version of Ansible

As root (sudo) get pip:

1- Install some dependencies:

   apt install build-essential libssl-dev libffi-dev python-dev

2- Install pip:

@cirocosta
cirocosta / ela.py
Created July 6, 2015 03:47
Error Level Analysis in Python
#!/usr/bin/python
from __future__ import print_function
from PIL import Image, ImageChops, ImageEnhance
import sys, os
import threading
import argparse
parser = argparse.ArgumentParser(description="""
Performs Error Level Analysis over a directory of images