ipd

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 10 Imported by: 0

README

ipd

ipd - ip bot detection and ip geolocation command line utility

If you hit limit restriction set your environment variable 'IPDETECTIVE_API_KEY'

Get your free api key at https://ipdetective.io

Installation

On linux and mac perform the following command:

curl -s "https://raw.githubusercontent.com/AndrewCopeland/ipd/refs/heads/main/install.sh" | bash

To install on windows you must download the executable file from the archive

Usage

Get my current machines IP address:

ipd

Get other machines IP address:

ipd 8.8.8.8

Get other machines IP address in JSON format:

ipd -json 8.8.8.8

Get other machines IP address in CSV format:

ipd -csv 8.8.8.8

Get all unique nginx vistors and output to CSV

cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq | ipd -csv > unique_vistors.csv

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL