Giter Club home page Giter Club logo

add-urltoumbrella's Introduction

Add-URLtoUmbrella

To use this module

  • Import the module
PS C:\temp> Import-Module .\Add-URLtoUmbrella.psm1
  • If you want to install the module for long-term use
    • See Microsoft documentation.
    • Shortcut - just copy to its own folder in this location: $Env:ProgramFiles\WindowsPowerShell\Modules
PS C:\temp> copy .\Add-URLtoUmbrella.psm1 $Env:ProgramFiles\WindowsPowerShell\Modules\Add-URLtoUmbrella\Add-URLtoUmbrella.psm1
  • Line 17: API key
    • Follow instructions from Cisco Umbrella account to create an API key.

To use from CLI:

  • -u: URL
  • Examples
Add-URLtoUmbrella -u https://notverybelievable.com
Add-URLtoUmbrella -u https://www.scaryurl-for-badguys.org/malware/html/index.php,phishingexample.top

Operations

  • Enter any type of domain, with or without paths
    • The script manipulates the input to isolate the domain from input.
    • The script generates a URL from input by adding "http://" before the domain if protocol is not specified.
    • This is because both domain and URL are required by API for submission.
  • Script checks to see if the URL submitted is in the allow list you maintain: (https://github.com/cbshearer/Add-URLtoUmbrella/blob/master/AllowList.txt)
  • Umbrella Domain Acceptance Process already sorts the domains and compares against the Alexa top 1000

Output

  • Domain: the domain of your input
  • URL: the URL of your input (may be a composite made by prepending "http://"
  • Allowed?: Was this domain found on your allow list
  • Result: The domain is displayed and whether or not it was added to Cisco Umbrella successfully.

add-urltoumbrella's People

Contributors

cbshearer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

likescam

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.