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/ |
start shutdown -r -t 01 -f -m
SOURCE: Reddit: "How to log off ALL users from the AD"
TEST STATUS: Not yet verified
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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" | |
" ██╗ ██╗██╗███╗ ███╗██████╗ ██████╗ | |
" ██║ ██║██║████╗ ████║██╔══██╗██╔════╝ | |
" ██║ ██║██║██╔████╔██║██████╔╝██║ | |
" ╚██╗ ██╔╝██║██║╚██╔╝██║██╔══██╗██║ | |
" ╚████╔╝ ██║██║ ╚═╝ ██║██║ ██║╚██████╗ | |
" ╚═══╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ | |
" | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
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
#!/bin/bash | |
i=0 | |
name=1 | |
# name new file | |
until [ $name == "0" ]; do | |
# scan new image with incremented name | |
imagescan --no-interface --image-format=PDF --scan-area=Maximum > $i.pdf | |
i=$((i+1)) | |
# continue until filename==0 | |
# wait for enter any character |
NewerOlder