Skip to content

aneesh786/query-macaddress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

query-macaddress

This is a simple python script to query a mac address and output vendor information This uses Python2.7 Example for running this script :

python mac-query.py 44:38:39:ff:ef:57 at_Nz5rzTVK1Y4c4cXEYr4

##Here Mac address is the first Argument & second Argument for API Token. Anybody who executes this query will need an API Token from https://macaddress.io. Token given here is a sample one which won't work.###

Dockerfile

Also dockerfile to dockerize this python script is provided.

Steps to create a docker image #############################

  1. Keep Dockerfile & mac-query.py files on same folder
  2. Execute below commands :
  sudo docker build -t macaddress .
  sudo docker run macaddress1 python mac-query.py 44:38:39:ff:ef:57 at_Nz5rzTVK1Y4c4cXEYr

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published