Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // https://standards-oui.ieee.org/
- var a=[];
- for (var x of document.body.innerText.matchAll(/^(?<mac>[A-Z0-9]{6}).*\(base 16\)\W+(?<vendor>[\S ]+)$/gim)) {
- a.push(x.groups)
- };
- a=a.sort((a,b)=>a.mac.localeCompare(b.mac));
- document.body.innerHTML=`<pre>${a.map(v=>v.mac+"\t"+v.vendor).join("\n")}</pre>`;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement