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
import inspect | |
import sys | |
try: | |
from botocore import session | |
except ModuleNotFoundError: | |
print("Unable to import session from botocore.") | |
print("Are you sure that botocore is installed in this environment?") | |
sys.exit(1) | |
# Calls which detect "PenTest machine" |