Tempico Labs CLI
Tempico Labs CLI for API. For command line usage.
TmLabs-CLI is a CLI tool for TempicoLabs API.
It is written in clean ES6 Javascript.
Install
To install TmLabs-CLI for command line usage run:
npm i @tempicolabs/cli -g
*** Note: you can't use
yarn global add @tempicolabs/cli
Usage
Just run
tmlabs
or tlcli
tmlabs [command] [...options]
Commands:
tmlabs ip <ip> [mode] Get information about IP addresses:
hostname, GeoIP location, internet
connection type, Internet Service
Provider (or organisation), open ports,
blacklist info, etc.
tmlabs me [mode] Returns an information about IP you are
connecting from.
tmlabs hash [sha256|md5] Returns an information about particular
hash you are interested in. You can use
stdin for data passing.
tmlabs file-hash <file> Returns an information about file.
[aliases: hash/file]
tmlabs dns <domain> Get IPv4/IPv6 addresses using domain name.
tmlabs email <email> Returns an information about known
account compromises linked to provided
email.
[aliases: email/leaks]
tmlabs scan <ip> <port> [portmax] Scan ports of a given host.
[aliases: port/scan]
tmlabs config <option> <value> Manage config options.
Options:
--key, -k Use API key [string]
--help Show help [boolean]
--version Show version number [boolean]
--config-path Path to JSON config file [string]
Tempico Labs API Documentation
Read the full API Documentation.
Examples
Set API key for further usage:
tmlabs config api.key MY_API_KEY
Pipe file with hashes to checking command:
cat hashes.txt | tmlabs hash --stdin
Get info about Cloudflare DNS IP:
tmlabs ip 1.1.1.1
Scan ip ports from 80 to 100:
tmlabs scan 1.1.1.1 80 100
Get IPv4/IPv6 Google addresses:
tmlabs dns google.com
Build
You can build binary by yourself.
First clone project
git clone git@code.itsecurity.ee:tempicolabs/tmlabs-cli.git
Then install required dependencies
npm install
For Windows build run:
npm run build:bin:windows
For MacOS build run:
npm run build:bin:macos
For Linux build run:
npm run build:bin:linux
After that platform specific build is available at build
directory
License
MIT. Copyright (c) Maxim Maximov and TempicoLabs, LLC.