This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import urllib | |
fin = open("urlencoded.txt") | |
fout = open("urldecoded.txt", "wt") | |
for line in fin: | |
fout.write(urllib.unquote(line)) | |
fin.close() | |
fout.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
####### | |
# Creates a flat text file list of NSE scripts suitable for searching via command line | |
# Used in conjunction with nsesearch.sh | |
# Replaces nmap_scripts.list gist | |
# Dependencies: html2text | |
####### | |
YEL='\033[1;33m' |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
script=$1 | |
YEL='\033[1;33m' | |
NC='\033[0m' # No Color | |
if [ -z $script ]; then | |
echo "Usage: `basename $0` [KEYWORD]" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
YEL='\033[1;33m' | |
RED='\033[1;31m' | |
GRN='\033[1;32m' | |
NC='\033[0m' # No Color | |
# This script assumes you've already taken the necessary initial steps to setup network connectivity and install vmware tools | |
# You probably want at least open-vm-tools-desktop to copy and paste this script and/or the URL to wget it. | |
echo -e "${YEL}--${NC}Starting script, installing commonly used programs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# diffi - Better diff output script | |
# BeanBagKing - https://gist.github.com/BeanBagKing | |
# If both arguments aren't given, print help text | |
if [ -z $1 ] || [ -z $2 ]; then | |
echo "Usage: `basename $0` [OLD] [NEW]" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@kali:~# john -h | |
John the Ripper password cracker, version 1.8.0.6-jumbo-1-bleeding [linux-x86-64-avx] | |
Copyright (c) 1996-2015 by Solar Designer and others | |
Homepage: http://www.openwall.com/john/ | |
Usage: john [OPTIONS] [PASSWORD-FILES] | |
--single[=SECTION] "single crack" mode | |
--wordlist[=FILE] --stdin wordlist mode, read words from FILE or stdin | |
--pipe like --stdin, but bulk reads, and allows rules | |
--loopback[=FILE] like --wordlist, but fetch words from a .pot file |