Skip to content

Agent responsible for retrieving registry and information of an IP.

License

Notifications You must be signed in to change notification settings

Ostorlab/agent_whois_ip

Repository files navigation

Agent Whois IP

Agent responsible for retrieving WHOIS information of an IP such as it's AS Number, contact information, registrar, and address.


agent-whois-ip

This repository is an implementation of OXO Agent for ipwhois.

Getting Started

To perform your first scan, simply run the following command.

oxo scan run --install --agent agent/ostorlab/whois_ip ip 8.8.8.8

This command will download and install agent/ostorlab/whois_ip. For more information, please refer to the OXO Documentation

Usage

Agent Whois can be installed directly from the oxo agent store or built from this repository.

Install directly from oxo agent store

oxo agent install agent/ostorlab/whois_ip

You can then run the agent with the following command:

oxo scan run --agent agent/ostorlab/whois_ip domain-name tesla.com

Build directly from the repository

  1. To build the whois_ip agent you need to have oxo installed in your machine. if you have already installed oxo, you can skip this step.
pip3 install ostorlab
  1. Clone this repository.
git clone https://github.com/Ostorlab/agent_whois_ip.git && cd agent_whois_ip
  1. Build the agent image using oxo cli.
oxo agent build --file=ostorlab.yaml

You can pass the optional flag --organization to specify your organisation. The organization is empty by default.

  1. Run the agent using on of the following commands:
    • If you did not specify an organization when building the image:
    oxo scan run --agent agent//whois_ip ip 8.8.8.8
    • If you specified an organization when building the image:
    oxo scan run --agent agent/[ORGANIZATION]/whois_ip ip 8.8.8.8

License

Apache-2