mirror of https://github.com/n1nj4sec/pupy.git
82 lines
1.2 KiB
Python
82 lines
1.2 KiB
Python
import umsgpack
|
|
import socket
|
|
import threading
|
|
import Queue
|
|
import collections
|
|
import SocketServer
|
|
import struct
|
|
import os
|
|
import sys
|
|
import time
|
|
import traceback
|
|
import uuid
|
|
import subprocess
|
|
import StringIO
|
|
import imp
|
|
import hashlib
|
|
import hmac
|
|
import base64
|
|
import logging
|
|
import re
|
|
import ssl
|
|
import tempfile
|
|
import string
|
|
import datetime
|
|
import random
|
|
import shutil
|
|
import platform
|
|
import errno
|
|
import stat
|
|
import zlib
|
|
import code
|
|
import glob
|
|
import math
|
|
import binascii
|
|
import shlex
|
|
import json
|
|
import ctypes
|
|
import threading
|
|
import urllib
|
|
import urllib2
|
|
import getpass
|
|
import __future__
|
|
import netaddr
|
|
import ntlm
|
|
import http_parser
|
|
import unicodedata
|
|
|
|
try:
|
|
import psutil
|
|
except Exception as e:
|
|
print "psutil: ", e
|
|
import pyexpat
|
|
import fnmatch
|
|
|
|
try:
|
|
import dukpy
|
|
except ImportError:
|
|
print "dukpy not found"
|
|
|
|
try:
|
|
import kcp
|
|
except ImportError:
|
|
print "kcp not found"
|
|
|
|
try:
|
|
import uidle
|
|
except ImportError:
|
|
print "uidle not found"
|
|
|
|
import poster
|
|
|
|
if 'win' in sys.platform:
|
|
import ctypes.wintypes
|
|
import win_inet_pton
|
|
import winkerberos
|
|
else:
|
|
import pty
|
|
try:
|
|
import kerberos
|
|
except ImportError:
|
|
print "keberos not found"
|