GithubHelp home page GithubHelp logo

Comments (4)

garrettr avatar garrettr commented on August 28, 2024

@konklone Do you think it would be worth implementing this upstream in site-inspector?

from domain-scan.

konklone avatar konklone commented on August 28, 2024

cc @benbalter to get his thoughts. My suspicion is no, since it's looking up the domain's status in an external source, rather than inspecting the domain's technical configuration.

from domain-scan.

benbalter avatar benbalter commented on August 28, 2024

Assuming we can write a script to wget the HSTS preload list and vendor it into the Gem, I'd gladly merge a pull request that adds a check as to whether the domain is on the list.

from domain-scan.

konklone avatar konklone commented on August 28, 2024

@benbalter Cool, that's only upside for site-inspector. @garrettr contributed Python code to do exactly this in our scanner: https://github.com/18F/domain-scan/blob/master/scanners/inspect.py#L18-L41

One crucial aspect of it for batch scans is caching the HSTS list once, at the top of the scan, to avoid redownloading/reparsing it once for every domain.

from domain-scan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.