Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use IPinfoga

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to use IPinfoga, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

IPinfoga is a powerful OSINT open resource intelligence tool. IPinfoga can export relevant information about the target IP address, such as country, city, longitude and latitude, and so on.

Introduction to img function

Export geographic location data, such as country, city, latitude and longitude, etc.

After optimization, the information related to multiple IP addresses can be exported at a time

Simple command line interface and API usage

Tool installation

Because IPinfoga is developed using Python3, you first need to install and configure the Python3 environment on the local device. Next, researchers can download and install IPinfoga using the following command:

Basic use of pip3 install git+ https://github.com/EntySec/IPinfoga tools

The use of IPinfoga is very simple, we only need to enter the "ipinfoga" command in the command line terminal to use IPinfoga:

Usage: ipinfoga [- h] [- t] [- o OUTPUT] [- I INPUT] [- an ADDRESS] IPinfoga is an OSINT tool that dumps all available IP address information suchas location with country, city, and latitude with longitude. Optional arguments:-h,-- help displays this help and exits-t,-- threads enables multithreaded mode for better performance-o OUTPUT,-- output OUTPUT stores the results in the file-I INPUT,-- input INPUT address list input file-an ADDRESS -- address ADDRESS provides a sample use of a single address tool

(1) scan a single IP address

The following command scans the DNS address of Google:

Ipinfoga-a 8.8.8.8

(2) scan multiple IP addresses from the input file

We can scan using an open address database and use the-t parameter to set the number of multithreads for better performance:

Ipinfoga-t-I addresses.txt-o results.txt

Note: the above command will scan all IP addresses given in the address.txt file and store all scan results in results.txt.

API usage

IPinfoga also provides its own Python API, which you can import into your own project code and invoke its functions:

From ipinfoga import IPinfoga

(1) functional function

The following is the basic function provided by IPinfoga, which can be used to scan the specified IP address:

Scan (address): scan for a single IP address

(2) call sample

Scan for a single IP address:

From ipinfoga import IPinfoga ipinfoga = IPinfoga () data = ipinfoga.scan ('8.8.8.8') for field in data: print (field, data [field])

The above is all the contents of this article "how to use IPinfoga". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report