Cyber security

CspReconGo – Streamlining Web Security With Domain Analysis

CspReconGo is a command-line tool designed for cybersecurity analysts, web developers, and IT professionals.

It automates the extraction and analysis of domains from Content Security Policy (CSP) headers and JavaScript files on websites.

This tool is essential for conducting detailed web security audits, understanding external resource interactions, and monitoring changes in CSP and JavaScript-based domain references.

Key Features

  • CSP Header Analysis: Parses CSP headers to identify domains, helping users understand the website’s security policies and external dependencies.
  • JavaScript File Analysis: Automatically fetches and analyzes JavaScript files linked by the website, extracting domain references to reveal third-party integrations and external scripts.
  • TODO Domain Tracking Across Runs: Compares results between runs, highlighting newly detected domains, which is invaluable for monitoring changes over time.
  • Structured Output: Neatly organizes and documents the detected domains with a count of unique entries, outputting the results in a user-friendly format for further analysis.

Getting Started

Prerequisites

Installation

  1. Download Source Code: Clone the repository or download the source code to your local machine.
git clone https://github.com/yourusername/CspReconGo.git

2. Download Dependancies:

go get -u github.com/chromedp/chromedp

Use

  1. Use as:
go run CspReconGo.go https://www.examplewebsite.com
Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

How Web Application Firewalls (WAFs) Work

General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…

2 weeks ago

How to Send POST Requests Using curl in Linux

How to Send POST Requests Using curl in Linux If you work with APIs, servers,…

2 weeks ago

What Does chmod 777 Mean in Linux

If you are a Linux user, you have probably seen commands like chmod 777 while…

2 weeks ago

How to Undo and Redo in Vim or Vi

Vim and Vi are among the most powerful text editors in the Linux world. They…

2 weeks ago

How to Unzip and Extract Files in Linux

Working with compressed files is a common task for any Linux user. Whether you are…

2 weeks ago

Free Email Lookup Tools and Reverse Email Search Resources

In the digital era, an email address can reveal much more than just a contact…

2 weeks ago