Skip to content

Instantly share code, notes, and snippets.

@qqcf
qqcf / tmux.md
Created July 31, 2022 09:19 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@qqcf
qqcf / get-shodan-favicon-hash.py
Last active November 19, 2020 07:02 — forked from yehgdotnet/get-shodan-favicon-hash.py
Get Shodan FAVICON Hash
# # https://twitter.com/brsn76945860/status/1171233054951501824
# pip install mmh3
# -----------------------------
# # python 2
# import mmh3
# import requests
# response = requests.get('https://cybersecurity.wtf/favicon.ico')
# favicon = response.content.encode('base64')
@qqcf
qqcf / converter.sh
Last active November 9, 2020 05:54 — forked from xdavidhu/converter.sh
Converter.sh, a bash script to convert domain lists to resolved IP lists without duplicates
#!/bin/bash
# Converter.sh by @xdavidhu
# This is a script inspired by the Bug Hunter's Methodology 3 by @Jhaddix
# With this script, you can convert domain lists to resolved IP lists without duplicates.
# Usage: ./converter.sh [domain-list-file] [output-file]
echo -e "[+] Converter.sh by @xdavidhu\n"
if [ -z "$1" ] || [ -z "$2" ]; then
echo "[!] Usage: ./converter.sh [domain-list-file] [output-file]"
exit 1