惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
博客园_首页
IT之家
IT之家
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Vercel News
Vercel News
美团技术团队
D
Docker
WordPress大学
WordPress大学
T
Tailwind CSS Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
Y
Y Combinator Blog
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
G
Google Developers Blog
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
MongoDB | Blog
MongoDB | Blog
S
SegmentFault 最新的问题
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans

Black Hills Information Security, Inc.

Bad Habits: An ANTISOC Operation Same Problem, Different Angles: When Red Team and Blue Team Actually Talk to Each Other How to Identify and Exploit New Vulnerabilities Swapper – A Pure Regex Match/Replace Burp Extension A Practical Guide to BloodHound Data Collection Network Engineering Basics Signed, Trusted, and Abused: Proxy Execution via WebView2 Getting Started In Pentesting – Advice From The BHIS Pentest Lead Cloud Security: Tips and Resources for Securing the Cloud Lessons From A Chatbot Incident How to Lead Effective Tabletops Understanding GRC: How to Navigate Risks and Compliance Standards The “P” in PAM is for Persistence: Linux Persistence Technique Malware Analysis: How to Analyze and Understand Malware OSINT: How to Find, Use, and Control Open-Source Intelligence What to Do with Your First Home Lab When the SOC Goes to Deadwood: A Night to Remember Social Engineering and Microsoft SSPR: The Road to Pwnage is Paved with Good Intentions Common Cyber Threats Finding the Right Penetration Testing Company Deceptive-Auditing: An Active Directory Honeypots Tool The Curious Case of the Comburglar How to Set Smart Goals (That Actually Work For You) Inside the BHIS SOC: A Conversation with Hayden Covington Abusing Delegation with Impacket (Part 3): Resource-Based Constrained Delegation Why You Got Hacked – 2025 Super Edition Abusing Delegation with Impacket (Part 2): Constrained Delegation Abusing Delegation with Impacket (Part 1): Unconstrained Delegation GoSpoof – Turning Attacks into Intel Model Context Protocol (MCP)
EyeWitness Cheatsheet
BHIS · 2025-08-06 · via Black Hills Information Security, Inc.

, , , , , ,

By Chris Traynor || https://ridgebackinfosec.com 

This blog is part of Offensive Tooling Cheatsheets: An Infosec Survival Guide Resource. You can learn more and find all of the cheatsheets HERE: https://www.blackhillsinfosec.com/offensive-tooling-cheatsheets/

EyeWitness Cheatsheet: PRINT-FRIENDLY PDF

Find the tool here: https://github.com/RedSiege/EyeWitness


The Basics 

Offensive Purpose:

  • Efficient way to gather info about web services & their hosting infrastructure
  • Automates taking screenshots for quick & easy review

Limitations: 

  • Only works on HTTP services
  • Can only capture a screenshot of the landing/login page; will NOT do spidering 

Key Features: 

  • Output in multiple formats (i.e. – HTML & text) 
  • IDs web server software on target systems 
  • Can use Nmap & Nessus output files 
  • Ability to resume from the last scan point if it gets interrupted 

Installation Methods 

Git & GitHub 

This will ALWAYS have the latest and greatest features but requires a few additional setup steps. You might also run into Python dependency issues that need to be worked around depending on your OS. 

git clone https://github.com/RedSiege/EyeWitness 
cd EyeWitness/Python/setup 
sudo ./setup.sh 
cd .. 

python EyeWitness.py [options] 
Git Installation 

Advanced Package Tool (APT) 

APT can lag in new feature/fix releases compared to the direct repository method. 

sudo apt install eyewitness -y 

eyewitness [options]
APT Installation 

Basic Execution 

Input Options: 

-f Filename Line-separated file containing URLs to capture 
-x Filename.xml Nmap XML or .Nessus file 
--single Single URL Single URL/Host to capture 
--no-dns  Skip DNS resolution when connecting to websites 
Nmap XML File Used as Input 

Tips

  • Always set a custom --user-agent value to blend in with traffic.
  • The --resume option is useful if your execution gets interrupted. 
  • EyeWitness accepts Nmap & Nessus XML output files, and it’ll automatically parse them for targets. 
  • Always see if the report contains any possible “default credentials” alongside the screenshots. 
  • The report can sometimes reference white papers for potentially vulnerable targets. 

Key Customization Options 

--user-agent User Agent User Agent to use for all requests 
--proxy-ip 127.0.0.1   IP of web proxy to go through 
--proxy-port 8080      Port of web proxy to go through 
--proxy-type socks5    Proxy type (socks5/http) 
--resolve              Resolve IP/Hostname for targets 
--prepend-https        Prepend http:// and https:// to URLs without either 
--cookies key1=value1,key2=value2 Additional cookies to add to the request 
--resume ew.db Path to db file if you want to resume 
--max-retries N Max retries on timeouts 
-d Directory Name Directory name for report output 
--threads # of Threads Number of threads to use while using file-based input 
--results Hosts Per Page Number of hosts per page of report 

Further Learning



Explore the Infosec Survival Guide and more… for FREE!

Get instant access to all issues of the Infosec Survival Guide, as well as content like our self-published infosec zine, PROMPT#, and exclusive Darknet Diaries comics—all available at no cost.

You can check out all current and upcoming issues here: https://www.blackhillsinfosec.com/prompt-zine/