Skip to content

CCIE23050.com CCIE Network blog HTTP://1806971003

CCIE23050.com

  • Home
  • About Me
  • Contact Me

Tag: MAC

Homebrew for MAC

Posted on February 4, 2022 - February 4, 2022 by admin

xcode-select –install

https://brew.sh/

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

Posted in SecurityTagged MAC

MAC terminal list private key and cert from pkcs12

Posted on February 4, 2022 - February 4, 2022 by admin

% openssl pkcs12 -info -in pkcs12-2022.pfx -nodes 

Enter Import Password:

MAC Iteration 2000

MAC verified OK

PKCS7 Data

Shrouded Keybag: Bag Attributes

    localKeyID: 01 00 00 00 

    friendlyName: cn=pkcs12-2022

    Microsoft CSP Name: Microsoft Enhanced Cryptographic Provider v1.0

Key Attributes

    X509v3 Key Usage: 10 

—–BEGIN PRIVATE KEY—–

xfggfgk

—–END PRIVATE KEY—–

—–BEGIN CERTIFICATE—–

gfjhhldghdf

—–END CERTIFICATE—–

Certification Authority

—–BEGIN CERTIFICATE—–

hjfhdxssggk

—–END CERTIFICATE—–

Posted in SecurityTagged MAC

Linux arping

Posted on November 1, 2016 by admin

To see if there is a duplicate IP address a handy tool is arping.

ubuntu:$ arping 192.168.1.83
WARNING: interface is ignored: Operation not permitted
ARPING 192.168.1.83 from 192.168.1.86 eth0
Unicast request from 192.168.1.73 [00:26:C7:D0:93:D2] 203.042ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.304ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 4.564ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.706ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.247ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 38.680ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.389ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.622ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.929ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 4.700ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 3.911ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 6.664ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.071ms
Unicast reply from 192.168.1.83 [00:26:C7:D0:93:D2] 5.526ms
^CSent 15 probes (2 broadcast(s))
Received 14 response(s) (1 request(s))

If there is a duplicate IP you would see a reply from two seperate MAC addresses.

Posted in IP, LinuxTagged MAC

Windows getmac

Posted on November 1, 2016 by admin

You can use the Windows getmac command to get a MAC address from any Windows box if you have the hostname or IP.
C:\>getmac /s 11.11.11.50
Physical Address Transport Name
=================== ==========================================================
00-13-8B-3E-43-D0 \Device\Tcpip_{EE7D131B-C172-411B-7F12-E81F82057FEC}
N/A Hardware not present
C:\>
Router1#sh arp | i 43d0
Internet 11.11.11.50 0 0013.8b3e.43d0 ARPA Vlan777
If you are on the same IP subnet as a device use the arp command from a windows device.
C:\>ping 11.11.11.50
C:\>arp -a
Interface: 10.11.11.116 — 0xb
Internet Address Physical Address Type
11.11.11.50 00-13-8B-3E-43-D0 dynamic

Posted in IP, WindowsTagged MAC

Follow Me

  • YouTube
  • LinkedIn

Location

  • 10809 Executive Center Dr, Little Rock, AR 72211
Proudly powered by WordPress | Theme: micro, developed by DevriX.