Linchakin

Cspparse - A Tool To Evaluate Content Security Policies

 July 05, 2022     No comments   

cspparse is a tool to evaluate Content Security Policies. It uses Google's API to retrieve the CSP Headers and returns them in ReconJSON format. Not only does it check for headers with Google's API, it also parses the target site's HTML to look for any CSP rules that are specified in the <meta> tag

Installation

Install Command and Download Source With Go Get

cspparse command will be installed to $GOPATH/bin and the source code (from https://github.com/lc/cspparse) will be found in $GOPATH/src/github.com/lc/cspparse with:

~ ❯ go get -u github.com/lc/cspparse

Install from Source

~ ❯ git clone https://github.com/lc/cspparse
~ ❯ cd cspparse
~ ❯ go build

Usage

~ ❯ cspparse <domain / url>

Example

~ ❯ cspparse https://www.facebook.com

Docker

~ > docker build -t cspparse .

Run

~ > docker run --rm -t cspparse <domain / url>

Adblock test (Why?)


You may be interested in:
>> Is a Chromebook worth replacing a Windows laptop?
>> Find out in detail the outstanding features of Google Pixel 4a
>> Top 7 best earbuds you should not miss

Related Posts:
>> Recognizing 12 Basic Body Shapes To Choose Better Clothes
>>Ranking the 10 most used smart technology devices
>> Top 5+ Best E-readers: Compact & Convenient Pen
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook

Related Posts:

  • Big Cyber Monday AirPods Pro deals are still liveByJoseph Foley 30 November 2021dealsYou're not too late to grab a $70 discount. Cyber Monday has been and gone, but some retailers are letting their sales run, which is fantastic news for anyone who wasn't quick enough to grab on… Read More
  • Samsung Galaxy S22 and S22 Plus leak reveals all about the camerasNew main and telephoto sensors for the two smaller models We're expecting the Samsung Galaxy S22 to be the first big flagship phone of 2022, so all eyes are on its rumored specs. The most recent alleged leak… Read More
  • Fantastic Surface Pro 7+ Cyber Monday deals continueByJoseph Foley 30 November 2021dealsGet this fantastic hybrid tablet for under $700. Cyber Monday is over and with it all of the deals that we'd spotted on the brand new Surface Pro 8, but that doesn't mean that you can't still save b… Read More
  • A Safe and Secure Way to DecommissionWhen it comes time to decommission data storage systems, there is much that must be planned and thoroughly carried out. It’s not just about the activi… Read More
  • Mobile Phishing Attacks Surge 161% in the Energy IndustryThe need for increased mobile security in the Energy sector has become evident with new data highlighting why these phishing attacks are occurring and… Read More
Newer Post Older Post Home

0 Comments:

Post a Comment


Copyright © 2025 Linchakin | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates