This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
import os | |
import platform | |
import random | |
import re | |
import string | |
import sys |
This file contains hidden or 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
# get basic system informaton (including version) | |
get system status | |
# overview of hardware interfaces | |
get system interface physical | |
# details of a single network interface, | |
get hardware nic <nic-name> | |
# kind of hidden command to see more interface stats such as errors |
This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
# | |
# System: macOS Mojave 10.14.6 | |
# Version: TeamViewer v15.2.2756 | |
# Python: 2.7.10 | |
# Command: sudo python TeamViewer-15-id-changer-for-mac.py | |
# | |
import os |