DESCRIPTION | COMMAND | EXAMPLE |
---|---|---|
List all tmux shortcuts | CTRL+b + ? |
N/A |
Horizontal tmux split | CTRL+b + % |
N/A |
Vertical tmux split | CTRL+b + " |
N/A |
Kill a tmux pane | CTRL+d |
N/A |
Search for Connected Devices | ls /dev/ | grep <KEYWORD> |
ls /dev/ | grep sd |
Find Connected Media Cards | ls /media/<USERNAME>/disk/ |
ls /media/emily/disk/ |
See mounted filesystems | mount |
mount | grep /media/ |
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
# See this stackoverflow discussion: https://unix.stackexchange.com/questions/28803/how-can-i-reduce-a-videos-size-with-ffmpeg | |
mkdir compressed | |
for file in *.mp4; do ffmpeg -i "$file" -vcodec libx265 -crf 28 "compressed/${file%.mp4}.jpg"; done |
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 | |
# | |
# Manual HoneyTrap Log Parser | |
# | |
# To use this program run it and specify a file: | |
# analyze.sh infile.txt | |
# Source IP | |
egrep -ao 'source-ip=\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b' $1 >> sourceip.txt | |
sed 's/.*=//' sourceip.txt >> src |
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
141.98.81.154 | |
141.98.81.154 | |
142.93.216.97 | |
188.166.106.32 | |
141.98.81.154 | |
141.98.81.154 | |
203.195.144.157 | |
108.16.0.72 | |
161.35.57.121 | |
178.62.79.64 |
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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" | |
" ██╗ ██╗██╗███╗ ███╗██████╗ ██████╗ | |
" ██║ ██║██║████╗ ████║██╔══██╗██╔════╝ | |
" ██║ ██║██║██╔████╔██║██████╔╝██║ | |
" ╚██╗ ██╔╝██║██║╚██╔╝██║██╔══██╗██║ | |
" ╚████╔╝ ██║██║ ╚═╝ ██║██║ ██║╚██████╗ | |
" ╚═══╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ | |
" | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |