Skip to content

Instantly share code, notes, and snippets.

View jebr's full-sized avatar
:octocat:

Jeroen Brauns jebr

:octocat:
View GitHub Profile
@jebr
jebr / unban.sh
Last active July 18, 2025 16:48
Fail2ban IP unbannen
#!/bin/bash
####
# make the file executable with chmod +x unban.sh
# run the script with ./unban.sh
####
# Vraag IP-adres aan gebruiker
read -p "Voer het te unbannen IP-adres in: " IP
@jebr
jebr / Nuclei.md
Created November 5, 2024 20:44 — forked from E1A/Nuclei.md
Full Nuclei cheatsheet and explanation

Intro

”Nuclei is used to send requests across targets based on a template, leading to zero false positives and providing fast scanning on a large number of hosts. Nuclei offers scanning for a variety of protocols, including TCP, DNS, HTTP, SSL, File, Whois, Websocket, Headless etc. With powerful and flexible templating, Nuclei can be used to model all kinds of security checks.”


FAQ

  • Q: What is nuclei?
  • A: Nuclei is a fast and customizable vulnerability scanner based on simple YAML-based templates.
import requests
import sys
import json
def waybackurls(host, with_subs):
if with_subs:
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host
else:
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host
@jebr
jebr / .bashrc
Created October 6, 2021 09:53
Parrot OS .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@jebr
jebr / web-servers.md
Created September 6, 2021 18:59 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@jebr
jebr / .bashrc
Created March 6, 2021 20:31 — forked from KaMeHb-UA/.bashrc
Beautiful and useful .bashrc example for TRUECOLOR terminals
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth