Giter Club home page Giter Club logo

send-tonetcraft's Introduction

send-toNetcraft

  • Use the NetCraft API to send URLs to Netcraft to report as phishing sites.
  • Netcraft API Documentation.

To use the module

  • Import the module
PS C:\temp> Import-Module .\send-toNetcraft.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 .\send-toNetcraft.psm1 $Env:ProgramFiles\WindowsPowerShell\Modules\send-toNetcraft\send-toNetcraft.psm1
  • Change parameters on the following lines:

    • 55: Default Email address you will submit as
    • 57: Default reason for submitting (phish by default)
    • 71: Pick the $prod or $test URI endpoint ($prod by default)
  • Mandatory parameter

    • -u: URL
    • Comma separated for multiple
  • Optional parameters - The defaults can be changed in your .psm1 file (lines 51 & 53 as noted above):

    • -e: Email address to report as
    • -r: Reason for reporting
      • the reason 'pk' can be used as a substitute for 'phishing kit'
  • Examples:

send-toNetcraft -u http://superfake.com/really/really/awful.php  
send-toNetcraft -u https://veryphishy.buzz/very/phishy/o365.html -e some@example.com -r phishing  
send-toNetcraft -u https://veryphishy.buzz/very/phishy.zip -r "phishing kit"
send-toNetcraft -u www.badguyz.top/very/badstuff.php,reallylame.xyz/badstuff.asp
send-toNetcraft -u www.scams-r-us.xyz/folder1/folder1.zip -r pk

Output

  • URL Count: number of URLs submitted
  • Submitting: URLs being submitted - 1 per line
  • with address: email address submitting the URL
  • Result Status: HTTP response code
  • Result Message: HTTP response message
  • Result UUID: Unique ID from Netcraft for your submission
  • Submission URL: The URL of results for the submission

send-tonetcraft's People

Contributors

cbshearer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

croat79

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.