GO KALI FREE

GoldenEye

Stress Testing

Intermediatehigh risk

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.

Installation

git clone https://github.com/jseidl/GoldenEye.git

Basic Syntax

python goldeneye.py <url> [options]

Quick Facts

Full Name
GoldenEye
License
MIT License
Author
Jan Seidl (jseidl)
Written In
Python
Platforms
Linux, macOS, Windows
Category
Stress Testing
First Release
2013
Attack Type
HTTP KeepAlive DoS

Tool Overview

GoldenEye is an HTTP stress testing tool designed to evaluate web server resilience against sustained HTTP connections. It uses KeepAlive headers to maintain persistent connections and NoCache headers to force server-side processing, maximizing resource consumption on the target server.

Unlike Slowloris which relies on incomplete requests, GoldenEye sends complete HTTP requests over KeepAlive connections. This makes it effective against a broader range of web servers, including event-driven servers like Nginx that are immune to Slowloris-style attacks.

GoldenEye features configurable worker threads and sockets per worker, allowing testers to dial up the load gradually. It also supports random HTTP methods (GET/POST) to simulate more realistic traffic patterns and avoid simple rate limiting.

Common Commands

./goldeneye.py http://example.comLaunch a basic HTTP GET flood against the target URL
python goldeneye.py http://example.comRun GoldenEye with the Python interpreter explicitly
./goldeneye.py https://example.comAttack an HTTPS target (SSL sockets are handled automatically)
./goldeneye.py http://example.com -w 10Spawn 10 concurrent worker processes
./goldeneye.py http://example.com -s 500Allow up to 500 concurrent socket connections per worker
./goldeneye.py http://example.com -m getUse the HTTP GET method for the flood
./goldeneye.py http://example.com -m postUse the HTTP POST method for the flood
./goldeneye.py http://example.com -m randomRandomly mix GET and POST requests
./goldeneye.py http://example.com -w 50 -s 1000High-intensity run with 50 workers and 1000 sockets each
./goldeneye.py http://example.com -dEnable debug output to troubleshoot the attack
./goldeneye.py http://example.com --debugLong-form flag to enable debug output
./goldeneye.py http://example.com -nDisable SSL certificate verification / no-SSL-check mode
./goldeneye.py http://example.com --nosslcheckLong-form flag to skip SSL certificate validation
./goldeneye.py http://example.com -w 25 -m post25 workers issuing POST requests
./goldeneye.py http://example.com -s 750 -m random750 sockets per worker with mixed methods
./goldeneye.py -hDisplay the help menu and all supported options
./goldeneye.py --helpLong-form help flag
./goldeneye.py http://example.com:8080Target a service running on a non-standard port
./goldeneye.py http://example.com/path/Target a specific path/endpoint on the site
./goldeneye.py http://192.168.1.50 -w 10 -s 500Attack an internal lab host with defined worker/socket counts
python2 goldeneye.py http://example.comRun under Python 2 (original release compatibility)
python3 goldeneye.py http://example.comRun under Python 3 (updated forks)
chmod +x goldeneye.py && ./goldeneye.py http://example.comMake the script executable then run it
./goldeneye.py http://example.com -w 2 -s 10 -dLow-intensity debug test to validate connectivity
./goldeneye.py http://example.com -m get -w 100Maximize GET pressure with 100 workers

Step-by-Step Guide

  1. 1Double-check your authorization paperwork before initiating capacity testing
  2. 2Download the script and verify your Python environment is ready
  3. 3Launch the script using the base URL of your target environment
  4. 4Scale up the thread and socket limits to match your testing requirements
  5. 5Observe the target's performance metrics and responsiveness during the test

Warnings

Use Cases

Web Stress Testing

Simulate high-traffic conditions to evaluate web server performance and connection handling under load.

KeepAlive Testing

Test how servers handle persistent HTTP KeepAlive connections with sustained request volume.

Capacity Planning

Determine maximum concurrent connection capacity and identify bottlenecks in web infrastructure.

WAF Validation

Test if Web Application Firewalls can detect and mitigate HTTP flood attacks.

Load Balancer Testing

Evaluate load balancer behavior under sustained HTTP request loads across multiple servers.

Key Features

Related Tools

Slowloris

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.

hping3

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.

Wireshark

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.

Metasploit Framework

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.

WireGuard

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.

Ligolo-ng

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.

Related Cybersecurity Guides

Web Security · Intermediate

API Hacking Guide: How to Test APIs for Security Flaws (BOLA, JWT & GraphQL)

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.

Web Security · Intermediate

What Is IDOR? Insecure Direct Object Reference Examples & How to Prevent IDOR Attacks

What 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 · Intermediate

What Is SSRF? Server-Side Request Forgery Examples & How to Prevent SSRF Attacks

What 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.

Networking · Intermediate

Firewall Fundamentals: Network Security and Configuration

Learn firewall types, architectures, rule configuration, and best practices for network security and traffic filtering.

Frequently Asked Questions

What is GoldenEye and how does it work?

GoldenEye is an HTTP denial-of-service testing tool that uses KeepAlive and NoCache headers to open persistent HTTP connections and send repeated requests. It simulates heavy concurrent traffic by maintaining many connections and continuously sending HTTP requests with random methods to consume server resources.

How is GoldenEye different from Slowloris?

GoldenEye sends complete HTTP requests (using KeepAlive to keep connections open) while Slowloris sends incomplete requests. GoldenEye is effective against more server types (including Nginx) because it consumes server resources through legitimate traffic volume rather than connection exhaustion. GoldenEye requires more bandwidth but works against a wider range of targets.

What parameters can I configure?

GoldenEye supports: -w (worker threads, default 10), -s (sockets per worker, default 500), -m (HTTP method: get, post, random), and -n (NoCache mode). Increasing workers and sockets creates more load. Random method mode alternates between GET and POST requests.

Is GoldenEye legal to use?

GoldenEye is a stress testing tool intended for authorized security assessments. Using it against systems without explicit written permission constitutes a denial-of-service attack and is illegal under laws like the CFAA. Never use GoldenEye against production systems without authorization.

Tags

#stress-testing#dos#http#networking

Output Explanation

Displays live statistics on open sockets and the average time taken for the server to reply.

Ethical Usage Notice

This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.