Skip to content

not-filepile/ipUtil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ipUtil

Get information about IP addresses

Requirements

To run this program, you need the following:

  • nmap
  • ipinfo API key
  1. Create your API key from ipinfo.io.
  2. Set the API key as an environment variable:
    • Linux/macOS:
      export IPINFO_API_KEY="your_api_key_here"
    • Windows:
      set IPINFO_API_KEY="your_api_key_here"

Usage

iputil <ip address> [options]

Options

  • -n: Use nmap for scanning.
  • -m: Use mcstatus for mc server.
  • -s: Use internetdb (default option).

When using the -n option, the program will run nmap with the following options:

  • --top-ports 1000: Scan the top 1000 most common ports.
  • -T4: Set the timing template to level 4 (aggressive).
  • -Pn: Treat all hosts as online; don't ping.

Example

iputil 192.168.1.1 -n --top-ports 3000
iputil 192.168.1.1 -m

This command will run nmap on the IP address 192.168.1.1 with --top-ports 3000.


About

Get information about IP addresse

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages