This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import io | |
import struct | |
import sys | |
import pprint | |
import macholib.MachO | |
from macholib.mach_o import LC_CODE_SIGNATURE | |
import asn1crypto.x509 | |
from asn1crypto.cms import ContentInfo, SignedData, CMSAttributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/vbash | |
# If IPv6 is working - exit. | |
/bin/ping6 -c 2 -n google.com > /dev/null | |
if [ $? == 0 ]; then | |
echo "IPv6 working." | |
exit 0; | |
fi | |
# If we have no working IPv4 connection - exit. |