Skip to content

Instantly share code, notes, and snippets.

# ~/.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 in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
apt install cowsay fortune lolcat
while true; do fortune | cowsay -f `find /usr/share/cowsay/cows/ -type f | sort -R | head -n1` | lolcat -a -s 75; sleep 2; done
Kali version:
clear; while true; do /usr/games/fortune | /usr/games/cowsay -f `find /usr/share/cowsay/cows/ -type f | sort -R | head -n1` | /usr/games/lolcat -a -s 75; sleep 2; clear; done
Credit @jeffmcjunkin
@BeanBagKing
BeanBagKing / 1105.csv
Created March 9, 2021 17:20
1105 Media Inc. Pi-Hole Blacklist
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
# 1105 MEDIA INC. Blacklist
0.0.0.0 05agency.com
0.0.0.0 05group.com
0.0.0.0 101com.com
0.0.0.0 101com.xyz
0.0.0.0 101communications.com
0.0.0.0 101communications.online
0.0.0.0 101direct.com
0.0.0.0 101m3.com
@BeanBagKing
BeanBagKing / sus_commands.py
Last active April 2, 2023 05:54
Returns an English letter frequency score for command line logs.
#!/usr/bin/python3
# Article reference: https://nullsec.us/finding-unusual-powershell-with-frequency-analysis/
import urllib
import httplib2
from xml.dom import minidom
import math
baseurl = 'https://<domain>.splunkcloud.com:8089'