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
SMB | |
#git clone https://github.com/SecureAuthCorp/impacket.git | |
#cd impacket | |
#python setup.py install | |
cp /usr/share/doc/python3-impacket/examples/smbserver.py /tftp | |
python3 smbserver.py share-name /tftp | |
From Linux: | |
smbclient -L <ip of attacking machine> |
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
Temporary mailbox | |
https://www.guerrillamail.com/en/ | |
https://10minutemail.com | |
https://www.trash-mail.com/inbox/ | |
https://www.mailinator.com | |
http://www.yopmail.com/en | |
https://generator.email | |
https://en.getairmail.com | |
http://www.throwawaymail.com/en |
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
crackstation | |
skullsecurity | |
seclists | |
weakpass | |
probable-wordlists (github) |
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
GHOSTSCRIPT - CONCATENTATE PAGES | |
#with compressions (default) | |
#combines in1.pdf and in2.pdf into out.pdf. | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf | |
#without compression: | |
#combines in1.pdf and in2.pdf into out.pdf. | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=out.pdf in1.pdf in2.pdf | |
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
#on remote server | |
python3 -m http.server 25000 | |
#on local client | |
ssh -L 8000:localhost:25000 id@remote -N | |
Open browser and navigate to http://localhost:8000 |
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
LIST OF WEBSITES DEHASH / HASH ONLINE | |
https://crackstation.net/ | |
http://crypo.in.ua/tools/ | |
http://www.md5decrypter.co.uk/ | |
http://www.md5this.com/index.php | |
http://md5hack.com/ | |
http://www.miraclesalad.com/webtools/md5.php | |
http://hash.online-convert.com/md5-generator | |
http://md5decryption.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
INSTALL FIRST | |
sudo apt update | |
sudo apt dist-upgrade -y | |
sudo apt install vim ufw tmux git tcpdump nmap rsyslog-gnutls | |
ADDUSER with same permissions as pi user | |
sudo adduser <username> | |
sudo usermod -aG adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,netdev,input,i2c,spi <username> | |
sudo userdel -r pi |
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
INITIAL PACKAGES TO INSTALL | |
sudo apt update | |
sudo apt install vim git ansible sshpass | |
DNS CONFIG | |
/etc/systemd/resolved.conf | |
DNS=192.168.x.x 192.168.x.x | |
(space delimited/separation between DNS server list) | |
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf | |
sudo systemctl restart systemd-resolved.service |
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
CSH key bindings | |
/home/homedir/.cshrc | |
bindkey "^R" i-search-back | |
bindkey "^S" i-search-fwd | |
alias ls ls -G | |
GRUB2 - Multiboot | |
menuentry "FreeBSD 11.0 x64" --class freebsd --class bsd --class os { | |
insmod ufs2 | |
insmod bsd |
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
ENABLE USER TO SU | |
sudo user mod -G wheel <username> | |
UNBOUND fixes | |
chown _unbound:wheel /var/unbound/etc | |
chmod 755 /var/unbound/etc | |
UPDATE KERNEL | |
syspatch |
OlderNewer