0% found this document useful (0 votes)
0 views9 pages

tracking-ip-addresses-using-ip-api-and-python-slides

The document provides an overview of tracking IP addresses and hostnames using the ip-api module in Python. It outlines the necessary Python modules for IP lookups, hostname lookups, and autonomous system information. Additionally, it includes a demonstration of using the IP-API module for obtaining and displaying tracking information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views9 pages

tracking-ip-addresses-using-ip-api-and-python-slides

The document provides an overview of tracking IP addresses and hostnames using the ip-api module in Python. It outlines the necessary Python modules for IP lookups, hostname lookups, and autonomous system information. Additionally, it includes a demonstration of using the IP-API module for obtaining and displaying tracking information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Tracking IP Addresses using ip-api and

Python

Sean Wilkins
Network Engineer & Author

swilkins@infodispersion.com www.infodispersion.com
Module Introduction

Device tracking linked with Use ip-api module and its free
hostnames and IP addresses lookup service
Overview
- IP-API module review
- Concepts Demonstration – IP-API
An IP address or hostname can
be tracked by utilizing ipapi
Can lookup the autonomous system number
Can also lookup the owner
Utilizing shadow server services

Free ASN information lookup


Python Modules

Need to install appropriate modules


• ipapi module – IP lookups
• Socket module – hostname lookups
• ipaddress module – validity of IP address
• Requests module – autonomous system
lookups
• Others include: webbrowser, pprint, sys,
and time

Install with python –m pip install command


Let’s bring all of this together
to obtain the wanted
information and display it
Demo
Begin with IP-API module
Perform additional ASN lookup
Show location plotting with Google Maps
Summary
- IP-API module review
- Concepts Demonstration – IP-API

You might also like