import os import platform def get_public_ip(): try: # Using a public API to get the public IP address response = requests.get('https://api.ipify.org?format=json') data = response.json() return data['ip'] except requests.RequestException as e: print(f"Failed to retrieve IP: {e}") return None def get_system_info(): info = {} info['Python Version'] = platform.python_version() info['Operating System'] = platform.system() info['Processor'] = platform.processor() info['Architecture'] = platform.machine() return info def display_system_info(): print(f'\nSystem Information:\n') system_info = get_system_info() for key, value in system_info.items(): print(f"{key}: {value}") def main(): print(f'NTSCP ON CRACK v1\n') # Display public IP address public_ip = get_public_ip() print("Public IP Address: " + public_ip) # Display system information display_system_info() if __name__ == "__main__": main()