2022-06-18 03:54:41 +00:00
|
|
|
id: api-mac-address-lookup
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: MAC Address Lookup API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Retrieve vendor details and other information regarding a given MAC address or an OUI
|
2022-06-18 03:54:41 +00:00
|
|
|
reference:
|
|
|
|
- https://macaddress.io/api
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/mac-address-lookup
|
2022-06-18 03:54:41 +00:00
|
|
|
tags: token-spray,macaddresslookup
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.macaddress.io/v1?apiKey={{token}}&output=json&search=44:38:39:ff:ef:57"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"vendorDetails"'
|
|
|
|
- '"companyName"'
|
|
|
|
- '"companyAddress"'
|
|
|
|
condition: and
|