项目作者: b4dnewz

项目描述 :
Command line module for node-typosquotting
高级语言: JavaScript
项目地址: git://github.com/b4dnewz/node-typosquotting-cli.git
创建时间: 2019-03-26T08:40:58Z
项目社区:https://github.com/b4dnewz/node-typosquotting-cli

开源协议:MIT License

下载


typosquotter-cli

Generate typosquotted domain names from the command line

This package provide the command line utility for typosquotter module.

NPM version Build Status Project License

Installation

First of all you have to install it as a global module:

  1. $ npm install -g typosquotter-cli

Than you will have access to the command from your terminal:

  1. $ typosquotter --help

You can also use npx if you want to test it out or quickly use it without having to install it:

  1. $ npx typosquotter-cli --help

Usage

The simplest usage it’s to pass in a domain name and it will print out the typosquotted domain grouped by technique name:

  1. $ typosquotter youtube.com
  2. repetition: [
  3. 'yyoutube.com',
  4. 'yooutube.com',
  5. 'youutube.com',
  6. 'youttube.com',
  7. 'youtuube.com',
  8. 'youtubbe.com',
  9. 'youtubee.com'
  10. ],
  11. subdomain: [
  12. 'y.outube.com',
  13. 'yo.utube.com',
  14. 'you.tube.com',
  15. 'yout.ube.com',
  16. 'youtu.be.com',
  17. 'youtub.e.com'
  18. ],
  19. switching: [
  20. 'oyutube.com',
  21. 'yuotube.com',
  22. 'yotuube.com',
  23. 'youutbe.com',
  24. 'youtbue.com',
  25. 'youtueb.com'
  26. ],
  27. tld: [
  28. 'youtube.ac',
  29. 'youtube.ad',
  30. 'youtube.ae',
  31. ...

You can also save the result to a file in your system:

  1. $ typosquotter youtube.com --write

The cli it’s built with clito that has built-in usage help, so type --help to know how it works in details and to see all the possible options.


License

This package is under MIT license © b4dnewz