SYMBOL INDEX (5574 symbols across 506 files) FILE: client/android_sources/pp.py function main (line 4) | def main(): FILE: client/build_library_zip.py function compile_py (line 73) | def compile_py(path): FILE: client/common/7zTypes.h type SRes (line 43) | typedef int SRes; type WRes (line 47) | typedef unsigned WRes; type WRes (line 49) | typedef int WRes; type Byte (line 56) | typedef unsigned char Byte; type Int16 (line 57) | typedef short Int16; type UInt16 (line 58) | typedef unsigned short UInt16; type Int32 (line 61) | typedef long Int32; type UInt32 (line 62) | typedef unsigned long UInt32; type Int32 (line 64) | typedef int Int32; type UInt32 (line 65) | typedef unsigned int UInt32; type Int64 (line 73) | typedef long Int64; type UInt64 (line 74) | typedef unsigned long UInt64; type __int64 (line 79) | typedef __int64 Int64; type UInt64 (line 80) | typedef unsigned __int64 UInt64; type Int64 (line 83) | typedef long long int Int64; type UInt64 (line 84) | typedef unsigned long long int UInt64; type UInt32 (line 91) | typedef UInt32 SizeT; type SizeT (line 93) | typedef size_t SizeT; type Bool (line 96) | typedef int Bool; type IByteIn (line 129) | typedef struct type IByteOut (line 134) | typedef struct type ISeqInStream (line 139) | typedef struct type ISeqOutStream (line 151) | typedef struct type ESzSeek (line 158) | typedef enum type ISeekInStream (line 165) | typedef struct type ILookInStream (line 171) | typedef struct type CLookToRead (line 194) | typedef struct type CSecToLook (line 206) | typedef struct type CSecToRead (line 214) | typedef struct type ICompressProgress (line 222) | typedef struct type ISzAlloc (line 229) | typedef struct FILE: client/common/LzmaDec.c function LzmaDec_DecodeReal (line 138) | static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, con... function LzmaDec_WriteRem (line 513) | static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit) function LzmaDec_DecodeReal2 (line 541) | static int MY_FAST_CALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, co... type ELzmaDummy (line 568) | typedef enum function ELzmaDummy (line 576) | static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, S... function IF_BIT_0_CHECK (line 689) | IF_BIT_0_CHECK(probLen) function IF_BIT_0_CHECK (line 700) | IF_BIT_0_CHECK(probLen) function LzmaDec_InitDicAndState (line 767) | void LzmaDec_InitDicAndState(CLzmaDec *p, Bool initDic, Bool initState) function LzmaDec_Init (line 783) | void LzmaDec_Init(CLzmaDec *p) function LzmaDec_InitStateReal (line 789) | static void LzmaDec_InitStateReal(CLzmaDec *p) function SRes (line 801) | SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, const Byte *src, S... function SRes (line 936) | SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, const ... function LzmaDec_FreeProbs (line 976) | void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc) function LzmaDec_FreeDict (line 982) | static void LzmaDec_FreeDict(CLzmaDec *p, ISzAlloc *alloc) function LzmaDec_Free (line 988) | void LzmaDec_Free(CLzmaDec *p, ISzAlloc *alloc) function SRes (line 994) | SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size) function SRes (line 1020) | static SRes LzmaDec_AllocateProbs2(CLzmaDec *p, const CLzmaProps *propNe... function SRes (line 1034) | SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned prop... function SRes (line 1043) | SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize... function SRes (line 1075) | SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, FILE: client/common/LzmaDec.h type CLzmaProps (line 26) | typedef struct _CLzmaProps type CLzmaDec (line 48) | typedef struct type ELzmaFinishMode (line 77) | typedef enum type ELzmaStatus (line 98) | typedef enum FILE: client/common/Python-dynload.c type dependency_t (line 6) | typedef struct dependency { type py_imports (line 13) | struct py_imports function HMODULE (line 50) | static HMODULE xz_dynload(const char *libname, const char *xzbuf, size_t... function PyObject (line 82) | PyObject* load_stdlib() { function last_chr_offt (line 106) | static function BOOL (line 126) | BOOL initialize_python(int argc, char *argv[], BOOL is_shared_object) { function PyObject (line 336) | static function PyObject (line 634) | static PyObject* py_module_from_stdlib(PyObject *py_stdlib, const char *... function py_clear_sys_list (line 756) | void py_clear_sys_list(const char *name) function py_clear_sys_dict (line 785) | void py_clear_sys_dict(const char *name) function run_pupy (line 807) | void run_pupy() { function deinitialize_python (line 1088) | void deinitialize_python() { function Py_RefCnt (line 1094) | int Py_RefCnt(const PyObject *object) { FILE: client/common/Python-dynload.h type PyTryBlock (line 17) | typedef struct { type PyObject (line 23) | typedef PyObject *(*PyCFunction)(PyObject *, PyObject *); type PyGILState_STATE (line 25) | typedef type PyMethodDef (line 28) | typedef struct { type py_imports (line 35) | struct py_imports { type BOOL (line 51) | typedef int BOOL; type py_imports (line 100) | struct py_imports type PyCodeObject (line 113) | typedef struct { type PyInterpreterState (line 136) | typedef struct _is { type _frame (line 154) | struct _frame type PyThreadState (line 156) | typedef struct _ts { type PyFrameObject (line 191) | typedef struct _frame { FILE: client/common/Python-stacktrace.c type PyGILState_STATE (line 8) | typedef PyGILState_STATE (*PyGILState_Ensure_t)(void); type PyThreadState (line 10) | typedef PyThreadState* (*PyGILState_GetThisThreadState_t)(void); function Py_GetCurrentThreadStackTrace (line 13) | static FILE: client/common/debug.c function dprint (line 5) | int dprint(const char *fmt, ...) { function dwprint (line 21) | int dwprint(const wchar_t *fmt, ...) { function set_debug_log (line 37) | void set_debug_log(const char *dest) { FILE: client/common/jni.h type jboolean (line 57) | typedef unsigned char jboolean; type jchar (line 58) | typedef unsigned short jchar; type jshort (line 59) | typedef short jshort; type jfloat (line 60) | typedef float jfloat; type jdouble (line 61) | typedef double jdouble; type jint (line 63) | typedef jint jsize; function class (line 67) | class _jobject {} function class (line 68) | class _jclass : public _jobject {} function class (line 69) | class _jthrowable : public _jobject {} function class (line 70) | class _jstring : public _jobject {} function class (line 71) | class _jarray : public _jobject {} function class (line 72) | class _jbooleanArray : public _jarray {} function class (line 73) | class _jbyteArray : public _jarray {} function class (line 74) | class _jcharArray : public _jarray {} function class (line 75) | class _jshortArray : public _jarray {} function class (line 76) | class _jintArray : public _jarray {} function class (line 77) | class _jlongArray : public _jarray {} function class (line 78) | class _jfloatArray : public _jarray {} function class (line 79) | class _jdoubleArray : public _jarray {} function class (line 80) | class _jobjectArray : public _jarray {} type _jobject (line 82) | typedef _jobject *jobject; type _jclass (line 83) | typedef _jclass *jclass; type _jthrowable (line 84) | typedef _jthrowable *jthrowable; type _jstring (line 85) | typedef _jstring *jstring; type _jarray (line 86) | typedef _jarray *jarray; type _jbooleanArray (line 87) | typedef _jbooleanArray *jbooleanArray; type _jbyteArray (line 88) | typedef _jbyteArray *jbyteArray; type _jcharArray (line 89) | typedef _jcharArray *jcharArray; type _jshortArray (line 90) | typedef _jshortArray *jshortArray; type _jintArray (line 91) | typedef _jintArray *jintArray; type _jlongArray (line 92) | typedef _jlongArray *jlongArray; type _jfloatArray (line 93) | typedef _jfloatArray *jfloatArray; type _jdoubleArray (line 94) | typedef _jdoubleArray *jdoubleArray; type _jobjectArray (line 95) | typedef _jobjectArray *jobjectArray; type _jobject (line 99) | struct _jobject type _jobject (line 101) | struct _jobject type jobject (line 102) | typedef jobject jclass; type jobject (line 103) | typedef jobject jthrowable; type jobject (line 104) | typedef jobject jstring; type jobject (line 105) | typedef jobject jarray; type jarray (line 106) | typedef jarray jbooleanArray; type jarray (line 107) | typedef jarray jbyteArray; type jarray (line 108) | typedef jarray jcharArray; type jarray (line 109) | typedef jarray jshortArray; type jarray (line 110) | typedef jarray jintArray; type jarray (line 111) | typedef jarray jlongArray; type jarray (line 112) | typedef jarray jfloatArray; type jarray (line 113) | typedef jarray jdoubleArray; type jarray (line 114) | typedef jarray jobjectArray; type jobject (line 118) | typedef jobject jweak; type jvalue (line 120) | typedef union jvalue { type _jfieldID (line 132) | struct _jfieldID type _jfieldID (line 133) | struct _jfieldID type _jmethodID (line 135) | struct _jmethodID type _jmethodID (line 136) | struct _jmethodID type jobjectRefType (line 139) | typedef enum _jobjectType { type JNINativeMethod (line 180) | typedef struct { type JNINativeInterface_ (line 190) | struct JNINativeInterface_ type JNIEnv_ (line 192) | struct JNIEnv_ type JNIEnv_ (line 195) | typedef JNIEnv_ JNIEnv; type JNINativeInterface_ (line 197) | struct JNINativeInterface_ type JNIInvokeInterface_ (line 204) | struct JNIInvokeInterface_ type JavaVM_ (line 206) | struct JavaVM_ type JavaVM_ (line 209) | typedef JavaVM_ JavaVM; type JNIInvokeInterface_ (line 211) | struct JNIInvokeInterface_ type JNINativeInterface_ (line 214) | struct JNINativeInterface_ { type JNIEnv_ (line 782) | struct JNIEnv_ { type JavaVMOption (line 1863) | typedef struct JavaVMOption { type JavaVMInitArgs (line 1868) | typedef struct JavaVMInitArgs { type JavaVMAttachArgs (line 1876) | typedef struct JavaVMAttachArgs { type JNIInvokeInterface_ (line 1890) | struct JNIInvokeInterface_ { type JavaVM_ (line 1906) | struct JavaVM_ { FILE: client/common/jni_md.h type jint (line 41) | typedef int jint; type jlong (line 43) | typedef long jlong; type jlong (line 45) | typedef long long jlong; type jbyte (line 48) | typedef signed char jbyte; FILE: client/common/jni_on_load.c type __thread_name_and_classloader_to_dict_ctx (line 18) | struct __thread_name_and_classloader_to_dict_ctx { function JNIEnv (line 33) | static JNIEnv* function jint (line 65) | static jint Py_new__thread_name_and_classloader_to_dict_ctx( function PyObject (line 141) | static type jint (line 151) | typedef jint (*thread_enum_cb)(JNIEnv *env, jobject Thread, void *data); function jint (line 153) | static jint jvm_for_each_thread(JNIEnv *env, thread_enum_cb callback, vo... function jint (line 246) | static jint __thread_class_loader_name_and_class( function jint (line 306) | static jint __find_preferred_classloader_finder(JNIEnv *env, jobject thr... function jobject (line 374) | static jobject __find_preferred_classloader(JNIEnv *env) { function PyObject (line 410) | static function jclass (line 436) | static jclass get_thread_class(JNIEnv *env) { function jint (line 452) | static jint call_method( function jint (line 498) | static jint call_class_method( function jint (line 517) | static jint call_instance_method( function PyObject (line 546) | static PyObject* Py_JString_to_PyString(JNIEnv *env, jobject jstr) { function jint (line 566) | static jint __thread_name_and_classloader_to_dict(JNIEnv *env, jobject t... function PyObject (line 612) | static function PyObject (line 643) | static function PyObject (line 675) | static function PyObject (line 707) | static function PyObject (line 715) | static function PyObject (line 723) | static function jclass (line 783) | static jclass JNICALL __multi_FindClass(JNIEnv *env, const char *name) { function PyObject (line 847) | static function setup_jvm_class (line 899) | void setup_jvm_class(void) { function __jni_deinit (line 913) | static function JNICALL (line 923) | JNICALL FILE: client/common/lzmaunpack.c function _lzfree (line 20) | static void _lzfree(void *p, void *address) { p = p; free(address); } function charToUInt (line 29) | static unsigned int charToUInt(const char *data) { function PyObject (line 88) | static PyObject *PyObject_lzmaunpack(const char *data, size_t size) { function PyObject (line 108) | static PyObject *PyDict_lzmaunpack(const char *data, size_t size) { FILE: client/common/uthash.h type UT_hash_bucket (line 1162) | typedef struct UT_hash_bucket { type UT_hash_table (line 1186) | typedef struct UT_hash_table { type UT_hash_handle (line 1219) | typedef struct UT_hash_handle { FILE: client/gen_library_compressed_string.py function get_encoded_library_string (line 12) | def get_encoded_library_string(filepath, out): FILE: client/pyoxidizer-build/lib/http_parser/_socketio.py function _recv_into_sock_py26 (line 14) | def _recv_into_sock_py26(sock, buf): class SocketIO (line 27) | class SocketIO(io.RawIOBase): method __init__ (line 44) | def __init__(self, sock, mode): method readinto (line 56) | def readinto(self, b): method write (line 82) | def write(self, b): method readable (line 98) | def readable(self): method writable (line 103) | def writable(self): method fileno (line 108) | def fileno(self): method name (line 115) | def name(self): method mode (line 122) | def mode(self): method close (line 125) | def close(self): method _checkClosed (line 134) | def _checkClosed(self, msg=None): FILE: client/pyoxidizer-build/lib/http_parser/http.py class NoMoreData (line 20) | class NoMoreData(Exception): class ParserError (line 25) | class ParserError(Exception): class BadStatusLine (line 28) | class BadStatusLine(Exception): class HttpStream (line 31) | class HttpStream(object): method __init__ (line 38) | def __init__(self, stream, kind=HTTP_BOTH, decompress=False, method _check_headers_complete (line 50) | def _check_headers_complete(self): method _wait_status_line (line 66) | def _wait_status_line(self, cond): method _wait_on_url (line 84) | def _wait_on_url(self): method _wait_on_status (line 87) | def _wait_on_status(self): method _wait_on_method (line 90) | def _wait_on_method(self): method url (line 93) | def url(self): method path (line 98) | def path(self): method query_string (line 104) | def query_string(self): method fragment (line 109) | def fragment(self): method version (line 114) | def version(self): method status_code (line 118) | def status_code(self): method status (line 123) | def status(self): method method (line 130) | def method(self): method headers (line 135) | def headers(self): method should_keep_alive (line 143) | def should_keep_alive(self): method is_chunked (line 149) | def is_chunked(self): method wsgi_environ (line 154) | def wsgi_environ(self, initial=None): method body_file (line 162) | def body_file(self, buffering=None, binary=True, encoding=None, method body_string (line 182) | def body_string(self, binary=True, encoding=None, errors=None, method __iter__ (line 188) | def __iter__(self): method __next__ (line 191) | def __next__(self): FILE: client/pyoxidizer-build/lib/http_parser/pyparser.py class InvalidRequestLine (line 31) | class InvalidRequestLine(Exception): class InvalidHeader (line 34) | class InvalidHeader(Exception): class InvalidChunkSize (line 37) | class InvalidChunkSize(Exception): class HttpParser (line 40) | class HttpParser(object): method __init__ (line 42) | def __init__(self, kind=2, decompress=False): method get_version (line 79) | def get_version(self): method get_method (line 82) | def get_method(self): method get_status_code (line 85) | def get_status_code(self): method get_url (line 88) | def get_url(self): method get_path (line 91) | def get_path(self): method get_query_string (line 94) | def get_query_string(self): method get_fragment (line 97) | def get_fragment(self): method get_headers (line 100) | def get_headers(self): method get_wsgi_environ (line 103) | def get_wsgi_environ(self): method recv_body (line 133) | def recv_body(self): method recv_body_into (line 140) | def recv_body_into(self, barray): method is_upgrade (line 155) | def is_upgrade(self): method is_headers_complete (line 162) | def is_headers_complete(self): method is_partial_body (line 166) | def is_partial_body(self): method is_message_begin (line 170) | def is_message_begin(self): method is_message_complete (line 174) | def is_message_complete(self): method is_chunked (line 178) | def is_chunked(self): method should_keep_alive (line 182) | def should_keep_alive(self): method execute (line 192) | def execute(self, data, length): method _parse_firstline (line 257) | def _parse_firstline(self, line): method _parse_response_line (line 274) | def _parse_response_line(self, line): method _parse_request_line (line 294) | def _parse_request_line(self, line): method _parse_headers (line 326) | def _parse_headers(self, data): method _parse_body (line 404) | def _parse_body(self): method _parse_chunk_size (line 465) | def _parse_chunk_size(self, data): method _parse_trailers (line 481) | def _parse_trailers(self, data): FILE: client/pyoxidizer-build/lib/http_parser/reader.py class HttpBodyReader (line 13) | class HttpBodyReader(RawIOBase): method __init__ (line 16) | def __init__(self, http_stream): method readinto (line 20) | def readinto(self, b): method readable (line 55) | def readable(self): method close (line 58) | def close(self): class IterReader (line 64) | class IterReader(RawIOBase): method __init__ (line 66) | def __init__(self, iterable): method readinto (line 70) | def readinto(self, b): method readable (line 86) | def readable(self): method close (line 89) | def close(self): class StringReader (line 95) | class StringReader(IterReader): method __init__ (line 99) | def __init__(self, string): class SocketReader (line 108) | class SocketReader(SocketIO): method __init__ (line 109) | def __init__(self, sock): FILE: client/pyoxidizer-build/lib/http_parser/util.py function b (line 17) | def b(s): function bytes_to_str (line 20) | def bytes_to_str(b): function b (line 32) | def b(s): function bytes_to_str (line 35) | def bytes_to_str(s): class X (line 48) | class X(object): method __len__ (line 49) | def __len__(self): class IOrderedDict (line 61) | class IOrderedDict(dict, MutableMapping): method __init__ (line 73) | def __init__(self, *args, **kwds): method __setitem__ (line 92) | def __setitem__(self, key, value, PREV=0, NEXT=1, dict_setitem=dict.__... method __delitem__ (line 104) | def __delitem__(self, key, PREV=0, NEXT=1, dict_delitem=dict.__delitem... method __getitem__ (line 118) | def __getitem__(self, key, dict_getitem=dict.__getitem__): method __contains__ (line 123) | def __contains__(self, key): method __iter__ (line 126) | def __iter__(self, NEXT=1, KEY=2): method __reversed__ (line 135) | def __reversed__(self, PREV=0, KEY=2): method __reduce__ (line 144) | def __reduce__(self): method clear (line 155) | def clear(self): method get (line 166) | def get(self, key, default=None): method popitem (line 179) | def popitem(self, last=True): method __repr__ (line 190) | def __repr__(self): method copy (line 196) | def copy(self): method fromkeys (line 201) | def fromkeys(cls, iterable, value=None): method __eq__ (line 211) | def __eq__(self, other): method __del__ (line 221) | def __del__(self): FILE: client/sources-linux-py3/Python-dynload-os.h type PyPreConfig (line 27) | typedef struct PyPreConfig { type PyStatus (line 41) | typedef struct { type PyWideStringList (line 52) | typedef struct { type PyConfig (line 59) | typedef struct PyConfig { FILE: client/sources-linux-py3/build_c_ext.py function main (line 8) | def main(): FILE: client/sources-linux-py3/compat/bits/sched.h type sched_param (line 73) | struct sched_param type __sched_param (line 104) | struct __sched_param type __CPU_MASK_TYPE (line 122) | typedef __CPU_MASK_TYPE __cpu_mask; type cpu_set_t (line 129) | typedef struct function __BEGIN_DECLS (line 205) | __BEGIN_DECLS function __sched_cpucount (line 212) | static inline function __sched_cpufree (line 251) | static inline FILE: client/sources-linux-py3/compat/bits/stat.h type timespec (line 25) | struct timespec type stat (line 46) | struct stat type stat64 (line 88) | struct stat64 FILE: client/sources-linux-py3/compat/ifaddrs.h type ifaddrs (line 12) | struct ifaddrs type ifaddrs (line 43) | struct ifaddrs type ifaddrs (line 44) | struct ifaddrs function getifaddrs (line 46) | static int getifaddrs (struct ifaddrs **__ifap) { function freeifaddrs (line 56) | static void freeifaddrs (struct ifaddrs *__ifa) { FILE: client/sources-linux-py3/compat/sched.h type __pid_t (line 37) | typedef __pid_t pid_t; type sched_param (line 51) | struct sched_param type sched_param (line 55) | struct sched_param type sched_param (line 59) | struct sched_param type timespec (line 74) | struct timespec function sched_setaffinity (line 124) | static inline function sched_getaffinity (line 130) | static inline FILE: client/sources-linux-py3/daemonize.c function pid_t (line 64) | pid_t daemonize(int *main_argc, char ***main_argv, char *env[], bool exi... FILE: client/sources-linux-py3/decompress.c function decompress (line 8) | int decompress(int fd, const char *buf, size_t size) { FILE: client/sources-linux-py3/ld_hooks.c type stat (line 23) | struct stat type stat (line 24) | struct stat type stat64 (line 25) | struct stat64 type stat64 (line 26) | struct stat64 function set_pathmap_callback (line 41) | void set_pathmap_callback(cb_hooks_t cb) function export (line 52) | export int __lxstat(int ver, const char * path, struct stat* stat_buf) function export (line 67) | export int __lxstat64(int ver, const char * path, struct stat64* stat_buf) function export (line 81) | export int __xstat(int ver, const char * path, struct stat* stat_buf) function export (line 94) | export int __xstat64(int ver, const char * path, struct stat64* stat_buf) function export (line 107) | export int open(const char *pathname, int flags, ...) function export (line 131) | export int open64(const char *pathname, int flags, ...) function export (line 155) | export int openat(int dirfd, const char *pathname, int flags, ...) function export (line 179) | export int openat64(int dirfd, const char *pathname, int flags, ...) function export (line 203) | export FILE *fopen(const char *pathname, const char *mode) function export (line 217) | export FILE *fopen64(const char *pathname, const char *mode) function _ld_hooks_main (line 234) | void _ld_hooks_main(int argc, char *argv[], char *envp[]) FILE: client/sources-linux-py3/main_exe.c function main (line 11) | int main(int argc, char *argv[], char *env[]) { function setup_jvm_class (line 22) | void setup_jvm_class(void) {} FILE: client/sources-linux-py3/main_so.c type link_map (line 43) | struct link_map function unloader (line 61) | static void function __handle_exit (line 68) | static void function __atexit (line 82) | static void function __on_exit (line 88) | static void function _pupy_main (line 94) | static void FILE: client/sources-linux-py3/memfd.h function pupy_memfd_supported (line 41) | inline static bool pupy_memfd_supported() function pupy_memfd_create (line 54) | inline static int pupy_memfd_create(char *path, unsigned int path_size) function is_memfd_path (line 85) | inline static bool is_memfd_path(const char *path) FILE: client/sources-linux-py3/pupy.c function PyObject (line 102) | static PyObject *Py_get_arch(PyObject *self, PyObject *args) function PyObject (line 115) | static PyObject *Py_ld_preload_inject_dll(PyObject *self, PyObject *args) function PyObject (line 189) | static PyObject *Py_reflective_inject_dll(PyObject *self, PyObject *args) function PyObject (line 249) | static PyObject *Py_memfd_is_supported(PyObject *self, PyObject *args) function PyObject (line 255) | static PyObject *Py_memfd_create(PyObject *self, PyObject *args, PyObjec... function PyObject (line 299) | static PyObject *Py_load_dll(PyObject *self, PyObject *args) function PyObject (line 327) | static PyObject * function PyObject (line 412) | static PyObject *Py_mexec(PyObject *self, PyObject *args) function PyObject (line 472) | static PyObject *Py_is_shared_object(PyObject *self, PyObject *args) type PyModuleDef (line 501) | struct PyModuleDef function FUNC_EXPORT (line 522) | FUNC_EXPORT PyInit__pupy(void) { FILE: client/sources-linux-py3/pupy_load.c function mainThread (line 38) | uint32_t mainThread(int argc, char *argv[], bool so) FILE: client/sources-linux-py3/tmplibrary.c function drop_library (line 119) | int drop_library(char *path, size_t path_size, const char *buffer, size_... function set_cloexec_flag (line 185) | static inline int function pid_t (line 194) | pid_t memexec(const char *buffer, size_t size, const char* const* argv, ... function remap (line 355) | int remap(const char *path) { function remap (line 487) | int remap(const char *path) { type libname_list (line 511) | struct libname_list type libname_list (line 513) | struct libname_list { type link_map_private (line 519) | struct link_map_private type link_map_private (line 522) | struct link_map_private { type link_map_private (line 589) | struct link_map_private function _pmparser_split_line (line 679) | void _pmparser_split_line( FILE: client/sources-windows-py3/GetProcAddressR.c function FARPROC (line 32) | FARPROC WINAPI GetProcAddressR( HANDLE hModule, LPCSTR lpProcName ) FILE: client/sources-windows-py3/LoadLibraryR.c function DWORD (line 33) | DWORD Rva2Offset( DWORD dwRva, UINT_PTR uiBaseAddress, BOOL is64 ) function DWORD (line 72) | DWORD GetReflectiveLoaderOffset( const VOID * lpReflectiveDllBuffer ) function HMODULE (line 165) | HMODULE WINAPI LoadLibraryR( LPVOID lpBuffer, DWORD dwLength, LPVOID lpP... function HANDLE (line 221) | HANDLE WINAPI LoadRemoteLibraryR( HANDLE hProcess, LPVOID lpBuffer, DWOR... FILE: client/sources-windows-py3/MemoryModule.c function NTSTATUS (line 61) | static NTSTATUS WINAPI RtlGetVersion(OSVERSIONINFOEXW *infow) { type FUNCHASH (line 75) | typedef struct { type FUNCIDX (line 81) | typedef struct { type ImportHooks (line 87) | typedef struct { type DllHooks (line 92) | typedef struct { type MEMORYMODULE (line 97) | typedef struct { type SECTIONFINALIZEDATA (line 126) | typedef struct { function OutputLastError (line 138) | static void function BOOL (line 153) | static BOOL function DWORD (line 217) | static DWORD function BOOL (line 230) | static BOOL function BOOL (line 283) | static BOOL function BOOL (line 339) | static BOOL function BOOL (line 367) | static BOOL function FARPROC (line 426) | static FARPROC function BOOL (line 449) | static BOOL function BOOL (line 466) | static function BOOL (line 473) | static function ImportHooks (line 504) | static function BOOL (line 519) | static BOOL function BOOL (line 699) | BOOL WINAPI RegisterExceptionTable(PMEMORYMODULE pModule) function DWORD (line 737) | static function BOOL (line 748) | static function VOID (line 814) | VOID BuildExportTable(PMEMORYMODULE module) function DWORD (line 884) | DWORD SizeOfPEHeader(IMAGE_NT_HEADERS *headers) function VOID (line 891) | VOID CleanupHeaders(PMEMORYMODULE module) { function BOOL (line 906) | BOOL _CreateModuleMapping(HMODULE hModule, HANDLE *phMapping, PVOID *ppv... function FARPROC (line 1208) | static function FARPROC (line 1244) | FARPROC MemoryGetProcAddress(HMEMORYMODULE hmodule, LPCSTR name) function DWORD (line 1278) | DWORD MemoryModuleFileNameA(HMODULE hModule, LPSTR name, DWORD dwDest) function DWORD (line 1294) | DWORD MemoryModuleFileNameW(HMODULE hModule, LPWSTR name, DWORD dwDest) function MemoryFreeLibrary (line 1310) | void MemoryFreeLibrary(HMEMORYMODULE mod) function HMEMORYRSRC (line 1359) | HMEMORYRSRC _MemoryFindResourceW(HMEMORYMODULE module, LPCWSTR name, LPC... function PIMAGE_RESOURCE_DIRECTORY_ENTRY (line 1364) | static PIMAGE_RESOURCE_DIRECTORY_ENTRY _MemorySearchResourceEntry( function HMEMORYRSRC (line 1441) | HMEMORYRSRC _MemoryFindResourceExW(HMEMORYMODULE hModule, LPCWSTR name, ... function DWORD (line 1495) | DWORD _MemorySizeofResource(HMEMORYMODULE module, HMEMORYRSRC resource) function LPVOID (line 1507) | LPVOID _MemoryLoadResource(HMEMORYMODULE module, HMEMORYRSRC resource) function HMEMORYRSRC (line 1518) | HMEMORYRSRC MemoryFindResourceA(HMEMORYMODULE module, LPCSTR name, LPCST... function HMEMORYRSRC (line 1524) | HMEMORYRSRC MemoryFindResourceW(HMEMORYMODULE module, LPCWSTR name, LPCW... function HMEMORYRSRC (line 1529) | HMEMORYRSRC MemoryFindResourceExA(HMEMORYMODULE hModule, LPCSTR name, LP... function HMEMORYRSRC (line 1549) | HMEMORYRSRC MemoryFindResourceExW(HMEMORYMODULE hModule, LPCWSTR name, L... function DWORD (line 1575) | DWORD MemorySizeofResource(HMEMORYMODULE hModule, HMEMORYRSRC resource) function LPVOID (line 1601) | LPVOID MemoryLoadResource(HMEMORYMODULE hModule, HMEMORYRSRC resource) function BOOL (line 1627) | BOOL GetMemoryModuleInfo( FILE: client/sources-windows-py3/MemoryModule.h type HANDLE (line 46) | typedef HMODULE (CALLBACK *CustomLoadLibraryExA)(LPCSTR, HANDLE, DWORD); type HANDLE (line 47) | typedef HMODULE (CALLBACK *CustomLoadLibraryExW)(LPCWSTR, HANDLE, DWORD); type LPSTR (line 52) | typedef DWORD (CALLBACK *CustomGetModuleFileNameA)(HMODULE, LPSTR, DWORD); type LPWSTR (line 53) | typedef DWORD (CALLBACK *CustomGetModuleFileNameW)(HMODULE, LPWSTR, DWORD); type DL_CALLBACKS (line 114) | typedef struct { type MEMORY_LOAD_FLAGS (line 152) | typedef enum { FILE: client/sources-windows-py3/MyLoadLibrary.c type ORIGINAL_THREAD_ARGS (line 10) | typedef struct _ORIGINAL_THREAD_ARGS { type HCUSTOMLIBRARY (line 16) | typedef struct { type HLIBRARIES (line 31) | typedef struct { function VOID (line 42) | VOID MySetLibraries(PVOID pLibraries) { function PVOID (line 51) | PVOID MyGetLibraries() { function PHCUSTOMLIBRARY (line 55) | static PHCUSTOMLIBRARY _FindMemoryModuleByAddress( function PHCUSTOMLIBRARY (line 86) | static PHCUSTOMLIBRARY _FindMemoryModule(LPCSTR name, HMODULE module) function PHCUSTOMLIBRARY (line 167) | static PHCUSTOMLIBRARY _FindMemoryModuleW(LPCWSTR name) function NTSTATUS (line 199) | static function ULONG (line 222) | static function ULONG (line 233) | static function NTSTATUS (line 247) | static function PHCUSTOMLIBRARY (line 284) | static PHCUSTOMLIBRARY _AddMemoryModule( function DWORD (line 372) | DWORD CALLBACK MyGetModuleFileNameW(HMODULE hModule, LPWSTR lpwStr, DWOR... function DWORD (line 404) | DWORD CALLBACK MyGetModuleFileNameA(HMODULE hModule, LPSTR lpStr, DWORD ... function HMODULE (line 441) | HMODULE CALLBACK MyGetModuleHandleA(LPCSTR name) function BOOL (line 452) | static function BOOL (line 497) | BOOL CALLBACK MyGetModuleHandleExA(DWORD dwFlags, LPVOID lpArg, HMODULE ... function BOOL (line 501) | BOOL CALLBACK MyGetModuleHandleExW(DWORD dwFlags, LPVOID lpArg, HMODULE ... function HMODULE (line 505) | HMODULE MyLoadLibrary(LPCSTR name, void *bytes, void *dllmainArg) function HMODULE (line 512) | HMODULE function HMODULE (line 562) | HMODULE CALLBACK MyGetModuleHandleW(LPCWSTR name) { function HMODULE (line 570) | HMODULE CALLBACK MyLoadLibraryExA(LPCSTR name, HANDLE hFile, DWORD dwFla... function HMODULE (line 580) | HMODULE CALLBACK MyLoadLibraryExW(LPCWSTR name, HANDLE hFile, DWORD dwFl... function HMODULE (line 590) | HMODULE CALLBACK MyLoadLibraryA(LPCSTR name) { function HMODULE (line 600) | HMODULE CALLBACK MyLoadLibraryW(LPCWSTR name) { function BOOL (line 610) | BOOL CALLBACK MyFreeLibrary(HMODULE module) function FARPROC (line 637) | FARPROC CALLBACK MyGetProcAddress(HMODULE module, LPCSTR procname) function FARPROC (line 658) | FARPROC MyFindProcAddress(LPCSTR modulename, LPCSTR procname) function HRSRC (line 671) | HRSRC CALLBACK MyFindResourceA(HMODULE module, LPCSTR name, LPCSTR type) function HRSRC (line 686) | HRSRC CALLBACK MyFindResourceW(HMODULE module, LPCWSTR name, LPCWSTR type) function HRSRC (line 701) | HRSRC CALLBACK MyFindResourceExA(HMODULE hModule, LPCSTR name, LPCSTR ty... function HRSRC (line 716) | HRSRC CALLBACK MyFindResourceExW(HMODULE hModule, LPCWSTR name, LPCWSTR ... function DWORD (line 731) | DWORD CALLBACK MySizeofResource(HMODULE hModule, HRSRC resource) function LPVOID (line 746) | LPVOID CALLBACK MyLoadResource(HMODULE hModule, HRSRC resource) function BOOL (line 761) | BOOL MySetUnhandledExceptionFilter(LPCSTR pszModuleName, LPTOP_LEVEL_EXC... function LPTOP_LEVEL_EXCEPTION_FILTER (line 789) | LPTOP_LEVEL_EXCEPTION_FILTER MyGetUnhandledExceptionFilter(VOID) { function LONG (line 793) | LONG WINAPI ThreadUnhandledExceptionFilter( function DWORD (line 841) | static DWORD WINAPI WrappedThreadRoutine(LPVOID lpThreadParameter) function HANDLE (line 881) | HANDLE CALLBACK MyCreateThread( function VOID (line 916) | VOID MyEnumerateLibraries(LibraryInfoCb_t callback, PVOID pvCallbackData) function BOOL (line 952) | BOOL MyFindMemoryModuleNameByAddr( FILE: client/sources-windows-py3/MyLoadLibrary.h type BOOL (line 54) | typedef BOOL (*LibraryInfoCb_t) ( FILE: client/sources-windows-py3/Python-dynload-os.h function HMODULE (line 24) | static HMODULE OSLoadLibrary(const char *dllname) { function HMODULE (line 35) | static HMODULE MemLoadLibrary(const char *dllname, char *bytes, size_t s... type PyPreConfig (line 43) | typedef struct PyPreConfig { type PyStatus (line 57) | typedef struct { type PyWideStringList (line 68) | typedef struct { type PyConfig (line 75) | typedef struct PyConfig { FILE: client/sources-windows-py3/ReflectiveDllInjection.h type DWORD (line 45) | typedef BOOL (WINAPI * DLLMAIN)( HINSTANCE, DWORD, LPVOID ); FILE: client/sources-windows-py3/ReflectiveLoader.c function ULONG_PTR (line 38) | __declspec(noinline) ULONG_PTR caller(VOID) { return (ULONG_PTR)_ReturnA... type ImportFunc (line 43) | typedef struct { type ImportFrom (line 48) | typedef struct { function WINAPI (line 56) | WINAPI REFLECTIVE_LOADER_SYM(LPVOID lpParameter) FILE: client/sources-windows-py3/ReflectiveLoader.h type SIZE_T (line 39) | typedef LPVOID (WINAPI * VIRTUALALLOC)( LPVOID, SIZE_T, DWORD, DWORD ); type SIZE_T (line 40) | typedef LPVOID (WINAPI * VIRTUALPROTECT)( LPVOID, SIZE_T, DWORD, PDWORD ); type SIZE_T (line 41) | typedef LPVOID (WINAPI * VIRTUALFREE)( LPVOID, SIZE_T, DWORD ); type PVOID (line 42) | typedef DWORD (NTAPI * NTFLUSHINSTRUCTIONCACHE)( HANDLE, PVOID, ULONG ); type DWORD (line 55) | typedef BOOLEAN (NTAPI * RTLADDFUNCTIONTABLE)( PVOID, DWORD, DWORD64 ); function DWORD (line 86) | __forceinline static function DWORD (line 109) | __forceinline static type UNICODE_STR (line 130) | typedef struct _UNICODE_STR type LDR_DATA_TABLE_ENTRY (line 139) | typedef struct _LDR_DATA_TABLE_ENTRY type PEB_LDR_DATA (line 157) | typedef struct _PEB_LDR_DATA //, 7 elements, 0x28 bytes type PEB_FREE_BLOCK (line 169) | typedef struct _PEB_FREE_BLOCK // 2 elements, 0x8 bytes type _PEB (line 177) | typedef struct __PEB // 65 elements, 0x210 bytes type IMAGE_RELOC (line 246) | typedef struct FILE: client/sources-windows-py3/actctx.c function ULONG_PTR (line 10) | ULONG_PTR _My_ActivateActCtx() function _My_DeactivateActCtx (line 20) | void _My_DeactivateActCtx(ULONG_PTR cookie) FILE: client/sources-windows-py3/actctx.h type ULONG_PTR (line 22) | typedef BOOL (WINAPI * PFN_ACTIVATEACTCTX)(HANDLE, ULONG_PTR *); FILE: client/sources-windows-py3/base_inject.c function DWORD (line 140) | DWORD inject_via_apcthread( HANDLE hProcess, DWORD dwProcessID, DWORD dw... function DWORD (line 363) | DWORD inject_via_remotethread_wow64( HANDLE hProcess, LPVOID lpStartAddr... function DWORD (line 444) | DWORD inject_via_remotethread(HANDLE hProcess, DWORD dwDestinationArch, ... function DWORD (line 516) | DWORD inject_dll( DWORD dwPid, const LPVOID lpDllBuffer, DWORD dwDllLeng... FILE: client/sources-windows-py3/base_inject.h type APCCONTEXT (line 67) | typedef struct _APCCONTEXT type WOW64CONTEXT (line 86) | typedef struct _WOW64CONTEXT FILE: client/sources-windows-py3/in-mem-exe.c type ULONG (line 19) | typedef ULONG NTSTATUS; type PROCESSINFOCLASS (line 22) | typedef enum _PROCESSINFOCLASS type MINI_PEB (line 27) | typedef struct _MINI_PEB type PROCESS_BASIC_INFORMATION (line 34) | typedef struct _PROCESS_BASIC_INFORMATION type PROCESSINFOCLASS (line 67) | typedef LONG (WINAPI *NtQueryInformationProcess)(HANDLE, PROCESSINFOCLAS... function DWORD_PTR (line 69) | DWORD_PTR Align(DWORD_PTR Value, DWORD_PTR Alignment) function BOOL (line 81) | BOOL MapNewExecutableRegionInProcess( function BOOL (line 234) | BOOL MapNewExecutableRegionInProcess( FILE: client/sources-windows-py3/main_exe.c function main (line 24) | int main() function setup_jvm_class (line 41) | void setup_jvm_class(void) {} FILE: client/sources-windows-py3/main_reflective.c function DWORD (line 22) | DWORD WINAPI delayedMainThread(LPVOID lpArg) function VOID (line 28) | __declspec(dllexport) function BOOL (line 34) | BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserv... FILE: client/sources-windows-py3/postmortem.c type EXCMSG (line 19) | typedef struct _EXCMSG { function LPCSTR (line 24) | static function CreateMiniDump (line 126) | static function BOOL (line 200) | static function SavePythonStackTrace (line 228) | static function PVOID (line 260) | static function DWORD64 (line 270) | DWORD64 WINAPI PupyGetModuleBase(HANDLE hProcess, DWORD64 pvAddr) function VOID (line 287) | static function USHORT (line 497) | static function VOID (line 539) | static function VOID (line 616) | static function VOID (line 623) | static function SaveExceptionInfo (line 670) | static function LONG (line 816) | LONG WINAPI Postmortem(PEXCEPTION_POINTERS pExceptionPointers) function EnableCrashingOnCrashes (line 878) | void EnableCrashingOnCrashes() FILE: client/sources-windows-py3/postmortem.h type ADDRESS_MODE (line 12) | typedef enum { type IMAGEHLP_SYMBOL64 (line 19) | typedef struct _IMAGEHLP_SYMBOL64 { type IMAGEHLP_SYMBOL (line 28) | typedef struct _IMAGEHLP_SYMBOL { type IMAGEHLP_SYMBOL_STORAGE64 (line 37) | typedef struct _IMAGEHLP_SYMBOL_STORAGE64 { type IMAGEHLP_SYMBOL_STORAGE (line 42) | typedef struct _IMAGEHLP_SYMBOL_STORAGE { type ADDRESS (line 47) | typedef struct _tagADDRESS { type ADDRESS64 (line 53) | typedef struct _tagADDRESS64 { type KDHELP64 (line 59) | typedef struct _KDHELP64 { type STACKFRAME64 (line 79) | typedef struct _tagSTACKFRAME64 { type KDHELP (line 93) | typedef struct _KDHELP { type STACKFRAME (line 108) | typedef struct _tagSTACKFRAME { type MINIDUMP_EXCEPTION_INFORMATION (line 122) | typedef struct _MINIDUMP_EXCEPTION_INFORMATION { type MINIDUMP_TYPE (line 129) | typedef enum _MINIDUMP_TYPE { type BOOL (line 158) | typedef BOOL (*MiniDumpWriteDump_t)( FILE: client/sources-windows-py3/pupy.c type DWORD (line 28) | typedef DWORD UINTPTR; type ULONGLONG (line 30) | typedef ULONGLONG UINTPTR; function on_exit_session (line 42) | void on_exit_session(void) { function PyObject (line 58) | static PyObject *Py_set_exit_session_callback(PyObject *self, PyObject *... function PyObject (line 71) | static PyObject *Py_get_arch(PyObject *self, PyObject *args) function PyObject (line 80) | static PyObject *Py_mexec(PyObject *self, PyObject *args) { function PyObject (line 270) | static PyObject *Py_reflective_inject_dll(PyObject *self, PyObject *args) function PyObject (line 297) | static PyObject *Py_load_dll(PyObject *self, PyObject *args) function PyObject (line 310) | static PyObject *Py_find_function_address(PyObject *self, PyObject *args) function PyObject (line 323) | static PyObject *Py_is_shared_object(PyObject *self, PyObject *args) function PyObject (line 328) | static PyObject *Py_set_is_shared_object(PyObject *self, PyObject *arg0) function PyObject (line 336) | static PyObject * type PyModuleDef (line 446) | struct PyModuleDef function FUNC_EXPORT (line 461) | FUNC_EXPORT PyInit__pupy(void) { function BOOL (line 486) | BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserv... FILE: client/sources-windows-py3/pupy_load.c type LPWSTR (line 35) | typedef LPWSTR* (*CommandLineToArgvW_t)( type VOID (line 40) | typedef VOID (*__p_set_abort_behavior_t)(DWORD, DWORD); type VOID (line 41) | typedef VOID (__cdecl *signal_t) ( function redirect_stdout (line 49) | static function LPSTR (line 75) | static function LONG (line 193) | static function OnAbortHandler (line 219) | void OnAbortHandler(int signum) function initialize (line 225) | void initialize(BOOL isDll) { function deinitialize (line 427) | void deinitialize() { function LRESULT (line 431) | LRESULT CALLBACK WinProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa... function LONG (line 480) | static LONG PostmortemFilter(int code, PEXCEPTION_POINTERS pExceptionInf... function DWORD (line 495) | DWORD WINAPI _run_pupy_thread(LPVOID lpArg) function DWORD (line 513) | DWORD WINAPI execute(LPVOID lpArg) FILE: client/sources-windows-py3/pupy_load.h type VOID (line 6) | typedef VOID (*on_exit_session_t)(VOID); type _pupy_pyd_args_t (line 10) | typedef struct _pupy_pyd_args { FILE: client/sources-windows-py3/remote_thread.c type CLIENTID (line 7) | typedef struct _MIMI_CLIENT_ID { type PSECURITY_DESCRIPTOR (line 13) | typedef NTSTATUS (WINAPI * PRtlCreateUserThread)( function HANDLE (line 48) | HANDLE create_remote_thread(HANDLE hProcess, SIZE_T sStackSize, LPVOID p... FILE: client/sources-windows-py3/thread.c type timespec (line 8) | struct timespec function LOCK (line 26) | LOCK * lock_create( VOID ) function VOID (line 45) | VOID lock_destroy( LOCK * lock ) function VOID (line 64) | VOID lock_acquire( LOCK * lock ) function VOID (line 78) | VOID lock_release( LOCK * lock ) function EVENT (line 94) | EVENT * event_create( VOID ) function BOOL (line 119) | BOOL event_destroy( EVENT * event ) function BOOL (line 136) | BOOL event_signal( EVENT * event ) function BOOL (line 159) | BOOL event_poll( EVENT * event, DWORD timeout ) function THREAD (line 215) | THREAD * thread_open( VOID ) type thread_conditional (line 282) | struct thread_conditional { function __thread_cancelled (line 290) | void __thread_cancelled(int signo) type thread_conditional (line 308) | struct thread_conditional type thread_conditional (line 308) | struct thread_conditional function THREAD (line 339) | THREAD * thread_create( THREADFUNK funk, LPVOID param1, LPVOID param2, L... function BOOL (line 419) | BOOL thread_run( THREAD * thread ) function BOOL (line 445) | BOOL thread_sigterm( THREAD * thread ) function BOOL (line 472) | BOOL thread_kill( THREAD * thread ) function BOOL (line 503) | BOOL thread_join( THREAD * thread ) function BOOL (line 525) | BOOL thread_destroy( THREAD * thread ) FILE: client/sources-windows-py3/thread.h type _UNICODE_STRING (line 9) | typedef struct __UNICODE_STRING type _OBJECT_ATTRIBUTES (line 16) | typedef struct __OBJECT_ATTRIBUTES type _CLIENT_ID (line 26) | typedef struct __CLIENT_ID type BOOL (line 32) | typedef HANDLE (WINAPI * OPENTHREAD)( DWORD, BOOL, DWORD ); type ACCESS_MASK (line 34) | typedef DWORD (WINAPI * NTOPENTHREAD)( PHANDLE, ACCESS_MASK, _POBJECT_AT... type LOCK (line 42) | typedef struct _LOCK type EVENT (line 51) | typedef struct _EVENT type THREAD (line 56) | typedef struct _THREAD FILE: pupy/agent/__init__.py function _stub (line 79) | def _stub(*args, **kwargs): function is_supported (line 83) | def is_supported(function): function is_native (line 144) | def is_native(): function is_shared (line 148) | def is_shared(): function is_native (line 151) | def is_native(): function update_module_dict (line 208) | def update_module_dict(mod): function get_pending_log (line 211) | def get_pending_log(): function set_pupy_config (line 217) | def set_pupy_config(new_config): function set_broadcast_event (line 222) | def set_broadcast_event(callback): function broadcast_event (line 230) | def broadcast_event(eventid, *args, **kwargs): function get_logger (line 237) | def get_logger(name): function set_stdio (line 245) | def set_stdio(null=False): function set_debug (line 258) | def set_debug(is_enabled): function get_debug (line 272) | def get_debug(): function dprint (line 276) | def dprint(msg, *args, **kwargs): function remote_error (line 308) | def remote_error(message, *args, **kwargs): function loadpy (line 332) | def loadpy(src, dst, masked=False): function import_module (line 361) | def import_module(data, initname, fullname, path): function load_dll (line 369) | def load_dll(name, buf=None): function _get_module_files (line 398) | def _get_module_files(fullname, path=None): function get_module_files (line 434) | def get_module_files(fullname, paths=[None]): function make_module (line 449) | def make_module(fullname, path=None, is_pkg=False, mod=None): class Blackhole (line 479) | class Blackhole(object): method _do_nothing (line 480) | def _do_nothing(self, *args, **kwargs): class DummyPackageLoader (line 486) | class DummyPackageLoader(object): method __init__ (line 489) | def __init__(self, fullname): method load_module (line 492) | def load_module(self, fullname): class PupyPackageLoader (line 496) | class PupyPackageLoader(object): method __init__ (line 502) | def __init__(self, fullname, contents, extension, is_pkg, path): method __repr__ (line 510) | def __repr__(self): method _rename_aliased (line 513) | def _rename_aliased(self, fullname): method _make_module (line 531) | def _make_module(self, fullname, mod=None): method load_module (line 534) | def load_module(self, fullname): class PupyPackageFinderImportError (line 608) | class PupyPackageFinderImportError(ImportError): class PupyPackageFinder (line 612) | class PupyPackageFinder(_bootstrap_external._LoaderBasics): method __init__ (line 618) | def __init__(self, path): method init_search_lock (line 630) | def init_search_lock(): method _rename_aliased (line 634) | def _rename_aliased(self, fullname): method _is_already_loaded (line 648) | def _is_already_loaded(self, fullname): method _remote_load_packages (line 658) | def _remote_load_packages(self, fullname, second_pass): method iter_modules (line 703) | def iter_modules(self, fullname, path=None): method find_module (line 718) | def find_module(self, fullname, path=None, second_pass=False): method __repr__ (line 825) | def __repr__(self): function initialize_basic_windows_modules (line 830) | def initialize_basic_windows_modules(): function load_pupyimporter (line 852) | def load_pupyimporter(stdlib=None): function init_pupy (line 905) | def init_pupy(argv, stdlib, debug=False): function load_memimporter_fallback (line 956) | def load_memimporter_fallback(): function setup_credentials (line 972) | def setup_credentials(config): function setup_manager (line 981) | def setup_manager(): function setup_network (line 1002) | def setup_network(): function setup_obtain (line 1007) | def setup_obtain(): function setup_hooks (line 1013) | def setup_hooks(): function setup_modules (line 1020) | def setup_modules(): function prepare (line 1027) | def prepare(argv=sys.argv, debug=False, config={}, stdlib=None): function main (line 1066) | def main(argv=sys.argv, debug=False, config={}, stdlib=None): FILE: pupy/agent/_linux_memfd.py function _get_nr_memfd_create_syscall (line 28) | def _get_nr_memfd_create_syscall(): function _memfd_create (line 45) | def _memfd_create(name): function memfd_is_supported (line 49) | def memfd_is_supported(): function memfd_create (line 90) | def memfd_create(name='heap'): FILE: pupy/agent/config.py function update_config_from_argv (line 17) | def update_config_from_argv(): FILE: pupy/agent/dl_hacks.py function _find_library (line 29) | def _find_library(name): function _pupy_make_library_path (line 40) | def _pupy_make_library_path(name): function _pupy_find_library (line 54) | def _pupy_find_library(name): function _pupy_dlopen (line 64) | def _pupy_dlopen(name, *args, **kwargs): function apply_dl_hacks (line 87) | def apply_dl_hacks(): FILE: pupy/agent/handlers.py function _defered_close_exit (line 18) | def _defered_close_exit(connection): function _handle_sigchld (line 32) | def _handle_sigchld(*args, **kwargs): function _handle_sighup (line 36) | def _handle_sighup(*args): function _handle_sigterm (line 40) | def _handle_sigterm(*args): function set_sighandlers (line 68) | def set_sighandlers(): FILE: pupy/agent/logger.py function create_root_logger (line 20) | def create_root_logger(loglevel=logging.WARNING): function enable_debug_logger (line 28) | def enable_debug_logger(root_logger): FILE: pupy/agent/manager.py class Task (line 19) | class Task(Thread): method __init__ (line 29) | def __init__(self, manager, *args, **kwargs): method name (line 47) | def name(self): method results (line 51) | def results(self): method dirty (line 62) | def dirty(self): method append (line 65) | def append(self, result): method broadcast_event (line 92) | def broadcast_event(self, eventid, *args, **kwargs): method stop (line 95) | def stop(self): method run (line 101) | def run(self): method active (line 115) | def active(self): method event (line 126) | def event(self, event): class Manager (line 130) | class Manager(object): method __init__ (line 137) | def __init__(self, pstore): method get (line 141) | def get(self, klass): method create (line 145) | def create(self, klass, *args, **kwargs): method stop (line 157) | def stop(self, klass, force=False): method active (line 168) | def active(self, klass): method dirty (line 181) | def dirty(self): method status (line 185) | def status(self): method event (line 193) | def event(self, event): FILE: pupy/agent/memimporter/__init__.py function import_module (line 25) | def import_module(data, initname, fullname, path, spec): function load_dll (line 36) | def load_dll(name, data): FILE: pupy/agent/memimporter/linux.py class LibName (line 60) | class LibName(ctypes.Structure): class DlMapPrivate (line 68) | class DlMapPrivate(ctypes.Structure): function _change_dlname (line 81) | def _change_dlname(lib, new_name): function load_content (line 102) | def load_content(content, name, dlopen=False, initfuncname=None): function load_content (line 119) | def load_content(content, name, dlopen=False, initfuncname=None): FILE: pupy/agent/memimporter/posix.py function _does_dest_allows_executable_mappings (line 27) | def _does_dest_allows_executable_mappings(folder): function load_content (line 63) | def load_content(content, name, dlopen=False, initfuncname=None): FILE: pupy/agent/memimporter/utils.py class package_context (line 36) | class package_context(object): method __init__ (line 40) | def __init__(self, name): method __enter__ (line 44) | def __enter__(self): method __exit__ (line 51) | def __exit__(self, exc_type, exc_value, exc_traceback): function find_writable_folder (line 56) | def find_writable_folder(folders, validate=None): function load_library_common (line 83) | def load_library_common( FILE: pupy/agent/memimporter/win32.py function _does_dest_allows_executable_mappings (line 21) | def _does_dest_allows_executable_mappings(folder): function load_content (line 44) | def load_content(content, name, dlopen=False, initfuncname=None): FILE: pupy/agent/pstore.py class PStore (line 31) | class PStore(object): method __init__ (line 37) | def __init__(self, pstore_dir='~'): method __getitem__ (line 82) | def __getitem__(self, key): method __setitem__ (line 87) | def __setitem__(self, key, value): method load (line 92) | def load(self): method store (line 119) | def store(self): FILE: pupy/agent/psutil_hacks.py function apply_psutil_hacks (line 12) | def apply_psutil_hacks(): function apply_psutil_hacks (line 21) | def apply_psutil_hacks(): FILE: pupy/agent/service.py class Namespace (line 81) | class Namespace(dict): class Cleanups (line 85) | class Cleanups(list): function _import (line 93) | def _import(name): class UpdatableModuleNamespace (line 100) | class UpdatableModuleNamespace(ModuleNamespace): method __invalidate__ (line 103) | def __invalidate__(self, name): method __getitem__ (line 108) | def __getitem__(self, name): method __getattr__ (line 113) | def __getattr__(self, name): class ReverseSlaveService (line 148) | class ReverseSlaveService(Service): method __init__ (line 155) | def __init__(self, conn): method on_connect (line 161) | def on_connect(self): method on_disconnect (line 193) | def on_disconnect(self): method exposed_exit (line 221) | def exposed_exit(self): method exposed_register_cleanup (line 240) | def exposed_register_cleanup(self, method): method exposed_unregister_cleanup (line 243) | def exposed_unregister_cleanup(self, method): method exposed_execute (line 246) | def exposed_execute(self, text): method exposed_get_infos (line 258) | def exposed_get_infos(self, s=None): method exposed_eval (line 279) | def exposed_eval(self, text): method exposed_getmodule (line 283) | def exposed_getmodule(self, name): method exposed_obtain_call (line 287) | def exposed_obtain_call(self, function, packed_args): method exposed_msgpack_dumps (line 301) | def exposed_msgpack_dumps(self, obj, compressed=False): method exposed_json_dumps (line 307) | def exposed_json_dumps(self, obj, compressed=False): method exposed_getconn (line 333) | def exposed_getconn(self): class BindSlaveService (line 338) | class BindSlaveService(ReverseSlaveService): method on_connect (line 340) | def on_connect(self): class PupyClient (line 367) | class PupyClient(object): method __init__ (line 376) | def __init__(self, cid, launcher, launcher_args, delays): method set_broadcast_event (line 406) | def set_broadcast_event(self, callback): method broadcast_event (line 409) | def broadcast_event(self, eventid, *args, **kwargs): method set_connection_info (line 436) | def set_connection_info(self, connection): method reset_connection_info (line 447) | def reset_connection_info(self): method terminate (line 451) | def terminate(self): method __getitem__ (line 459) | def __getitem__(self, key): method connected (line 470) | def connected(self): method launcher (line 477) | def launcher(self): method set_info (line 480) | def set_info(self, key, value): method unset_info (line 489) | def unset_info(self, key): method iteritems (line 501) | def iteritems(self): method _get_next_wait (line 511) | def _get_next_wait(self): method _iterate_launcher (line 518) | def _iterate_launcher(self): method run (line 587) | def run(self): function run (line 609) | def run(config): FILE: pupy/agent/ssl_hacks.py function set_default_timeout (line 13) | def set_default_timeout(timeout=60): function change_default_verify_paths (line 17) | def change_default_verify_paths(): function apply_ssl_hacks (line 58) | def apply_ssl_hacks(): FILE: pupy/agent/utils.py function pupy_add_package (line 32) | def pupy_add_package(pkdic, compressed=False, name=None): function has_module (line 55) | def has_module(name): function has_dll (line 92) | def has_dll(name): function new_modules (line 96) | def new_modules(names): function new_dlls (line 113) | def new_dlls(names): function invalidate_module (line 119) | def invalidate_module(name): function register_package_request_hook (line 139) | def register_package_request_hook(hook): function register_package_error_hook (line 143) | def register_package_error_hook(hook): function unregister_package_error_hook (line 150) | def unregister_package_error_hook(): function unregister_package_request_hook (line 155) | def unregister_package_request_hook(): function safe_obtain (line 160) | def safe_obtain(proxy): function register_pupyimporter (line 184) | def register_pupyimporter(): FILE: pupy/agent/winerror_hacks.py function FormatMessage (line 36) | def FormatMessage(code): function apply_winerror_hacks (line 60) | def apply_winerror_hacks(): FILE: pupy/cli/pupygen.py function bord (line 69) | def bord(x): class NoOutput (line 75) | class NoOutput(Exception): function get_pyver (line 79) | def get_pyver(pyver, config): function get_edit_binary (line 97) | def get_edit_binary(target, display, path, conf): function get_raw_conf (line 187) | def get_raw_conf(display, conf, verbose=False): function updateZip (line 286) | def updateZip(zipname, filename, data): function updateTar (line 309) | def updateTar(arcpath, arcname, file_path): function get_edit_apk (line 341) | def get_edit_apk(target, display, path, conf): function generate_ps1 (line 403) | def generate_ps1( function generate_binary_from_template (line 492) | def generate_binary_from_template( function pack_scriptlets (line 600) | def pack_scriptlets( class InvalidOptions (line 655) | class InvalidOptions(Exception): function get_parser (line 670) | def get_parser(base_parser, config): function pupygen (line 799) | def pupygen(args, config, pupsrv, display): function main (line 1236) | def main(): FILE: pupy/cli/pupysh.py function parse_args (line 47) | def parse_args(): function main (line 81) | def main(): FILE: pupy/commands/__init__.py class InvalidCommand (line 18) | class InvalidCommand(Exception): class CommandsNamespace (line 22) | class CommandsNamespace(object): method __init__ (line 26) | def __init__(self, module, args): class Commands (line 31) | class Commands(object): method __init__ (line 37) | def __init__(self): method _refresh (line 42) | def _refresh(self): method _get_command (line 71) | def _get_command(self, cmdline, aliases, modules, refresh=True): method has (line 108) | def has(self, command): method get (line 114) | def get(self, command): method execute (line 120) | def execute(self, server, handler, config, cmdline, clients_filter=None): method list (line 145) | def list(self, refresh=True): method completer (line 154) | def completer(self, context, cmdline): FILE: pupy/commands/config.py function do (line 45) | def do(server, handler, config, args): FILE: pupy/commands/connect.py function do (line 17) | def do(server, handler, config, args): FILE: pupy/commands/creds.py function do (line 22) | def do(server, handler, config, modargs): FILE: pupy/commands/dnscnc.py function do (line 112) | def do(server, handler, config, args): FILE: pupy/commands/exit.py function do (line 11) | def do(server, handler, config, args): FILE: pupy/commands/exposed.py function do (line 13) | def do(server, handler, config, modargs): FILE: pupy/commands/gen.py function parser (line 18) | def parser(server, handler, config): function do (line 21) | def do(server, handler, config, args): FILE: pupy/commands/help.py function do (line 17) | def do(server, handler, config, args): FILE: pupy/commands/jobs.py function do (line 19) | def do(server, handler, config, modargs): FILE: pupy/commands/listen.py function do (line 28) | def do(server, handler, config, args): FILE: pupy/commands/logging.py function levelToString (line 28) | def levelToString(level): function levelToColor (line 37) | def levelToColor(level): function do (line 46) | def do(server, handler, config, args): FILE: pupy/commands/python.py function do (line 23) | def do(server, handler, config, args): FILE: pupy/commands/restart.py function do (line 18) | def do(server, handler, config, args): FILE: pupy/commands/run.py function do (line 49) | def do(server, handler, config, modargs): FILE: pupy/commands/sessions.py function do (line 23) | def do(server, handler, config, modargs): FILE: pupy/commands/tag.py function do (line 19) | def do(server, handler, config, modargs): FILE: pupy/external/creddump7/cachedump.py function showUsage (line 28) | def showUsage(): FILE: pupy/external/creddump7/framework/addrspace.py class FileAddressSpace (line 38) | class FileAddressSpace(object): method __init__ (line 39) | def __init__(self, fname, mode='rb', fast=False): method fread (line 48) | def fread(self,len): method read (line 51) | def read(self, addr, len): method read_long (line 55) | def read_long(self, addr): method get_address_range (line 60) | def get_address_range(self): method get_available_addresses (line 63) | def get_available_addresses(self): method is_valid_address (line 66) | def is_valid_address(self, addr): method close (line 69) | def close(self): class HiveFileAddressSpace (line 77) | class HiveFileAddressSpace: method __init__ (line 78) | def __init__(self, fname): method vtop (line 82) | def vtop(self, vaddr): method read (line 85) | def read(self, vaddr, length, zero=False): method read_long_phys (line 137) | def read_long_phys(self, addr): method is_valid_address (line 142) | def is_valid_address(self, vaddr): FILE: pupy/external/creddump7/framework/newobj.py function get_ptr_type (line 27) | def get_ptr_type(structure, member): class Obj (line 46) | class Obj(object): method __new__ (line 53) | def __new__(typ, name, address, space): method __init__ (line 64) | def __init__(self, name, address, space): method __getattribute__ (line 74) | def __getattribute__(self, attr): method __div__ (line 107) | def __div__(self, other): method members (line 115) | def members(self): method values (line 123) | def values(self): method bytes (line 131) | def bytes(self, length=-1): method size (line 143) | def size(self): method __repr__ (line 151) | def __repr__(self): method __eq__ (line 154) | def __eq__(self, other): method __ne__ (line 159) | def __ne__(self, other): method __hash__ (line 162) | def __hash__(self): method is_valid (line 165) | def is_valid(self): method get_offset (line 168) | def get_offset(self, member): class Primitive (line 171) | class Primitive(Obj): method __new__ (line 178) | def __new__(typ, *args, **kwargs): method __init__ (line 182) | def __init__(self, name, address, space): method __repr__ (line 189) | def __repr__(self): method members (line 192) | def members(self): class Pointer (line 195) | class Pointer(Obj): method __new__ (line 204) | def __new__(typ, *args, **kwargs): method __init__ (line 208) | def __init__(self, name, address, space, ptr_type): method __getattribute__ (line 216) | def __getattribute__(self, attr): method __repr__ (line 226) | def __repr__(self): method members (line 229) | def members(self): class _UNICODE_STRING (line 232) | class _UNICODE_STRING(Obj): method __new__ (line 241) | def __new__(typ, *args, **kwargs): method __str__ (line 245) | def __str__(self): method getBuffer (line 249) | def getBuffer(self): class _CM_KEY_NODE (line 253) | class _CM_KEY_NODE(Obj): method __new__ (line 254) | def __new__(typ, *args, **kwargs): method getName (line 258) | def getName(self): class _CM_KEY_VALUE (line 263) | class _CM_KEY_VALUE(Obj): method __new__ (line 264) | def __new__(typ, *args, **kwargs): method getName (line 268) | def getName(self): class _CHILD_LIST (line 273) | class _CHILD_LIST(Obj): method __new__ (line 274) | def __new__(typ, *args, **kwargs): method getList (line 278) | def getList(self): class _CM_KEY_INDEX (line 288) | class _CM_KEY_INDEX(Obj): method __new__ (line 289) | def __new__(typ, *args, **kwargs): method getList (line 293) | def getList(self): FILE: pupy/external/creddump7/framework/object.py function obj_size (line 44) | def obj_size(types, objname): function builtin_size (line 50) | def builtin_size(builtin): function read_value (line 56) | def read_value(addr_space, value_type, vaddr): function read_unicode_string (line 74) | def read_unicode_string(addr_space, types, member_list, vaddr): function read_string (line 101) | def read_string(addr_space, types, member_list, vaddr, max_length=256): function read_null_string (line 111) | def read_null_string(addr_space, types, member_list, vaddr, max_length=2... function get_obj_offset (line 123) | def get_obj_offset(types, member_list): function read_obj (line 160) | def read_obj(addr_space, types, member_list, vaddr): FILE: pupy/external/creddump7/framework/win32/domcachedump.py function get_nlkm (line 37) | def get_nlkm(secaddr, lsakey, vista): function decrypt_hash (line 41) | def decrypt_hash(edata, nlkm, ch): function decrypt_hash_vista (line 50) | def decrypt_hash_vista(edata, nlkm, ch): function parse_cache_entry (line 66) | def parse_cache_entry(cache_data): function parse_decrypted_cache (line 74) | def parse_decrypted_cache(dec_data, uname_len, function dump_hashes (line 93) | def dump_hashes(sysaddr, secaddr, vista): function dump_file_hashes (line 142) | def dump_file_hashes(syshive_fname, sechive_fname, vista): FILE: pupy/external/creddump7/framework/win32/hashdump.py function str_to_key (line 65) | def str_to_key(s): function sid_to_key (line 80) | def sid_to_key(sid): function find_control_set (line 94) | def find_control_set(sysaddr): function get_bootkey (line 106) | def get_bootkey(sysaddr): function get_hbootkey (line 130) | def get_hbootkey(samaddr, bootkey): function get_user_keys (line 164) | def get_user_keys(samaddr): function decrypt_single_hash (line 175) | def decrypt_single_hash(rid, hbootkey, enc_hash, lmntstr): function decrypt_single_salted_hash (line 190) | def decrypt_single_salted_hash(rid, hbootkey, enc_hash, lmntstr, salt): function get_user_hashes (line 202) | def get_user_hashes(user_key, hbootkey): function get_user_name (line 241) | def get_user_name(user_key): function dump_hashes (line 255) | def dump_hashes(sysaddr, samaddr): function dump_file_hashes (line 266) | def dump_file_hashes(syshive_fname, samhive_fname): FILE: pupy/external/creddump7/framework/win32/lsasecrets.py function get_lsa_key (line 29) | def get_lsa_key(secaddr, bootkey, vista): function decrypt_secret (line 67) | def decrypt_secret(secret, key): function decrypt_aes (line 90) | def decrypt_aes(secret, key): function get_secret_by_name (line 109) | def get_secret_by_name(secaddr, name, lsakey, vista): function get_secrets (line 135) | def get_secrets(sysaddr, secaddr, vista): function get_file_secrets (line 172) | def get_file_secrets(sysfile, secfile, vista): FILE: pupy/external/creddump7/framework/win32/rawreg.py function get_root (line 32) | def get_root(address_space): function open_key (line 36) | def open_key(root, key): function subkeys (line 48) | def subkeys(key,stable=True): function values (line 75) | def values(key): function walk (line 80) | def walk(root): FILE: pupy/external/creddump7/lsadump.py function showUsage (line 33) | def showUsage(): function dump (line 41) | def dump(src, length=8): FILE: pupy/library_patches_py2/Crypto/Util/_raw_api.py class _VoidPointer (line 69) | class _VoidPointer(object): method get (line 71) | def get(self): method address_of (line 76) | def address_of(self): function load_lib (line 81) | def load_lib(name, cdecl): function get_c_string (line 92) | def get_c_string(c_string): function get_raw_buffer (line 95) | def get_raw_buffer(buf): class _Py_buffer (line 116) | class _Py_buffer(ctypes.Structure): function c_uint8_ptr (line 135) | def c_uint8_ptr(data): class VoidPointer_ctypes (line 153) | class VoidPointer_ctypes(_VoidPointer): method __init__ (line 156) | def __init__(self): method get (line 159) | def get(self): method address_of (line 162) | def address_of(self): function VoidPointer (line 165) | def VoidPointer(): class SmartPointer (line 172) | class SmartPointer(object): method __init__ (line 175) | def __init__(self, raw_pointer, destructor): method get (line 179) | def get(self): method release (line 182) | def release(self): method __del__ (line 186) | def __del__(self): function load_pycryptodome_raw_lib (line 195) | def load_pycryptodome_raw_lib(name, cdecl): function is_buffer (line 219) | def is_buffer(x): function is_writeable_buffer (line 223) | def is_writeable_buffer(x): function is_buffer (line 229) | def is_buffer(x): function is_writeable_buffer (line 232) | def is_writeable_buffer(x): FILE: pupy/library_patches_py2/linecache.py function getline (line 5) | def getline(filename, lineno, module_globals=None): function clearcache (line 9) | def clearcache(): function getlines (line 13) | def getlines(filename, module_globals=None): function checkcache (line 17) | def checkcache(filename=None): function updatecache (line 21) | def updatecache(filename, module_globals=None): FILE: pupy/library_patches_py2/site.py function addpackage (line 14) | def addpackage(sitedir, name, known_paths): function addsitedir (line 17) | def addsitedir(sitedir, known_paths=None): function check_enableusersite (line 20) | def check_enableusersite(): function getuserbase (line 23) | def getuserbase(): function getusersitepackages (line 26) | def getusersitepackages(): function addusersitepackages (line 29) | def addusersitepackages(known_paths): function getsitepackages (line 32) | def getsitepackages(): function addsitepackages (line 35) | def addsitepackages(known_paths): function main (line 38) | def main(): FILE: pupy/library_patches_py2/uuid.py class UUID (line 66) | class UUID(object): method __init__ (line 114) | def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None, method __cmp__ (line 193) | def __cmp__(self, other): method __hash__ (line 198) | def __hash__(self): method __int__ (line 201) | def __int__(self): method __repr__ (line 204) | def __repr__(self): method __setattr__ (line 207) | def __setattr__(self, name, value): method __str__ (line 210) | def __str__(self): method get_bytes (line 215) | def get_bytes(self): method get_bytes_le (line 223) | def get_bytes_le(self): method get_fields (line 230) | def get_fields(self): method get_time_low (line 236) | def get_time_low(self): method get_time_mid (line 241) | def get_time_mid(self): method get_time_hi_version (line 246) | def get_time_hi_version(self): method get_clock_seq_hi_variant (line 251) | def get_clock_seq_hi_variant(self): method get_clock_seq_low (line 256) | def get_clock_seq_low(self): method get_time (line 261) | def get_time(self): method get_clock_seq (line 267) | def get_clock_seq(self): method get_node (line 273) | def get_node(self): method get_hex (line 278) | def get_hex(self): method get_urn (line 283) | def get_urn(self): method get_variant (line 288) | def get_variant(self): method get_version (line 300) | def get_version(self): function _popen (line 307) | def _popen(command, args): function _find_mac (line 325) | def _find_mac(command, args, hw_identifiers, get_index): function _sysfs_getnode (line 350) | def _sysfs_getnode(): function _ifconfig_getnode (line 404) | def _ifconfig_getnode(): function _arp_getnode (line 412) | def _arp_getnode(): function _lanscan_getnode (line 423) | def _lanscan_getnode(): function _netstat_getnode (line 428) | def _netstat_getnode(): function _ipconfig_getnode (line 454) | def _ipconfig_getnode(): function _netbios_getnode (line 528) | def _netbios_getnode(): function _unixdll_getnode (line 612) | def _unixdll_getnode(): function _windll_getnode (line 618) | def _windll_getnode(): function _netiface_getnode (line 624) | def _netiface_getnode(): function _random_getnode (line 755) | def _random_getnode(): function getnode (line 762) | def getnode(): function uuid1 (line 795) | def uuid1(node=None, clock_seq=None): function uuid3 (line 830) | def uuid3(namespace, name): function uuid4 (line 836) | def uuid4(): function uuid5 (line 854) | def uuid5(namespace, name): FILE: pupy/library_patches_py3/Crypto/Util/_raw_api.py class _VoidPointer (line 69) | class _VoidPointer(object): method get (line 71) | def get(self): method address_of (line 76) | def address_of(self): function load_lib (line 81) | def load_lib(name, cdecl): function get_c_string (line 92) | def get_c_string(c_string): function get_raw_buffer (line 95) | def get_raw_buffer(buf): class _Py_buffer (line 116) | class _Py_buffer(ctypes.Structure): function c_uint8_ptr (line 135) | def c_uint8_ptr(data): class VoidPointer_ctypes (line 153) | class VoidPointer_ctypes(_VoidPointer): method __init__ (line 156) | def __init__(self): method get (line 159) | def get(self): method address_of (line 162) | def address_of(self): function VoidPointer (line 165) | def VoidPointer(): class SmartPointer (line 172) | class SmartPointer(object): method __init__ (line 175) | def __init__(self, raw_pointer, destructor): method get (line 179) | def get(self): method release (line 182) | def release(self): method __del__ (line 186) | def __del__(self): function load_pycryptodome_raw_lib (line 195) | def load_pycryptodome_raw_lib(name, cdecl): function is_buffer (line 219) | def is_buffer(x): function is_writeable_buffer (line 223) | def is_writeable_buffer(x): function is_buffer (line 229) | def is_buffer(x): function is_writeable_buffer (line 232) | def is_writeable_buffer(x): FILE: pupy/library_patches_py3/bz2.py class BZ2File (line 27) | class BZ2File(_compression.BaseStream): method __init__ (line 38) | def __init__(self, filename, mode="r", *, compresslevel=9): method close (line 101) | def close(self): method closed (line 126) | def closed(self): method fileno (line 130) | def fileno(self): method seekable (line 135) | def seekable(self): method readable (line 139) | def readable(self): method writable (line 144) | def writable(self): method peek (line 149) | def peek(self, n=0): method read (line 161) | def read(self, size=-1): method read1 (line 170) | def read1(self, size=-1): method readinto (line 182) | def readinto(self, b): method readline (line 190) | def readline(self, size=-1): method readlines (line 204) | def readlines(self, size=-1): method write (line 218) | def write(self, data): method writelines (line 239) | def writelines(self, seq): method seek (line 249) | def seek(self, offset, whence=io.SEEK_SET): method tell (line 267) | def tell(self): function open (line 275) | def open(filename, mode="rb", compresslevel=9, function compress (line 317) | def compress(data, compresslevel=9): function decompress (line 328) | def decompress(data): FILE: pupy/library_patches_py3/linecache.py function getline (line 3) | def getline(filename, lineno, module_globals=None): function clearcache (line 7) | def clearcache(): function getlines (line 11) | def getlines(filename, module_globals=None): function getline (line 14) | def getline(filename, lineno, module_globals=None): function checkcache (line 18) | def checkcache(filename=None): function updatecache (line 22) | def updatecache(filename, module_globals=None): function lazycache (line 25) | def lazycache(filename, module_globals): FILE: pupy/library_patches_py3/poster/encode.py function gen_boundary (line 14) | def gen_boundary(): function gen_boundary (line 19) | def gen_boundary(): function encode_and_quote (line 36) | def encode_and_quote(data): function _strify (line 46) | def _strify(s): class MultipartParam (line 55) | class MultipartParam(object): method __init__ (line 87) | def __init__(self, name, value=None, filename=None, filetype=None, method __cmp__ (line 122) | def __cmp__(self, other): method reset (line 128) | def reset(self): method from_file (line 135) | def from_file(cls, paramname, filename): method from_params (line 152) | def from_params(cls, params): method encode_hdr (line 187) | def encode_hdr(self, boundary): method encode (line 213) | def encode(self, boundary): method iter_encode (line 225) | def iter_encode(self, boundary, blocksize=4096): method get_size (line 264) | def get_size(self, boundary): function encode_string (line 274) | def encode_string(boundary, name, value): function encode_file_header (line 281) | def encode_file_header(boundary, paramname, filesize, filename=None, function get_body_size (line 304) | def get_body_size(params, boundary): function get_headers (line 310) | def get_headers(params, boundary): class multipart_yielder (line 319) | class multipart_yielder: method __init__ (line 320) | def __init__(self, params, boundary, cb): method __iter__ (line 331) | def __iter__(self): method next (line 334) | def next(self): method reset (line 365) | def reset(self): function multipart_encode (line 371) | def multipart_encode(params, boundary=None, cb=None): FILE: pupy/library_patches_py3/poster/streaminghttp.py class _StreamingHTTPMixin (line 56) | class _StreamingHTTPMixin: method send (line 59) | def send(self, value): class StreamingHTTPConnection (line 107) | class StreamingHTTPConnection(_StreamingHTTPMixin, HTTPConnection): class StreamingHTTPRedirectHandler (line 112) | class StreamingHTTPRedirectHandler(HTTPRedirectHandler): method redirect_request (line 124) | def redirect_request(self, req, fp, code, msg, headers, newurl): class StreamingHTTPHandler (line 164) | class StreamingHTTPHandler(HTTPHandler): method http_open (line 170) | def http_open(self, req): method http_request (line 174) | def http_request(self, req): class StreamingHTTPSConnection (line 189) | class StreamingHTTPSConnection(_StreamingHTTPMixin, HTTPSConnection): class StreamingHTTPSHandler (line 194) | class StreamingHTTPSHandler(HTTPSHandler): method https_open (line 200) | def https_open(self, req): method https_request (line 203) | def https_request(self, req): function get_handlers (line 217) | def get_handlers(): function register_openers (line 222) | def register_openers(): FILE: pupy/library_patches_py3/site.py function _trace (line 10) | def _trace(message): function makepath (line 12) | def makepath(*paths): function abs_paths (line 14) | def abs_paths(): function removeduppaths (line 16) | def removeduppaths(): function _init_pathinfo (line 18) | def _init_pathinfo(): function addpackage (line 20) | def addpackage(sitedir, name, known_paths): function addsitedir (line 22) | def addsitedir(sitedir, known_paths=None): function check_enableusersite (line 24) | def check_enableusersite(): function _getuserbase (line 26) | def _getuserbase(): function _get_path (line 28) | def _get_path(userbase): function getuserbase (line 30) | def getuserbase(): function getusersitepackages (line 32) | def getusersitepackages(): function addusersitepackages (line 34) | def addusersitepackages(known_paths): function getsitepackages (line 36) | def getsitepackages(prefixes=None): function addsitepackages (line 38) | def addsitepackages(known_paths, prefixes=None): function setquit (line 40) | def setquit(): function setcopyright (line 42) | def setcopyright(): function sethelper (line 44) | def sethelper(): function enablerlcompleter (line 46) | def enablerlcompleter(): function venv (line 48) | def venv(known_paths): function execsitecustomize (line 50) | def execsitecustomize(): function execusercustomize (line 52) | def execusercustomize(): function main (line 54) | def main(): function _script (line 56) | def _script(): FILE: pupy/library_patches_py3/umsgpack.py class Ext (line 69) | class Ext(object): method __init__ (line 75) | def __init__(self, type, data): method __eq__ (line 113) | def __eq__(self, other): method __ne__ (line 120) | def __ne__(self, other): method __str__ (line 126) | def __str__(self): method __hash__ (line 138) | def __hash__(self): class InvalidString (line 145) | class InvalidString(bytes): function ext_serializable (line 157) | def ext_serializable(ext_type): class PackException (line 200) | class PackException(Exception): class UnpackException (line 204) | class UnpackException(Exception): class UnsupportedTypeException (line 209) | class UnsupportedTypeException(PackException): class InsufficientDataException (line 214) | class InsufficientDataException(UnpackException): class InvalidStringException (line 218) | class InvalidStringException(UnpackException): class UnsupportedTimestampException (line 222) | class UnsupportedTimestampException(UnpackException): class ReservedCodeException (line 226) | class ReservedCodeException(UnpackException): class UnhashableKeyException (line 230) | class UnhashableKeyException(UnpackException): class DuplicateKeyException (line 237) | class DuplicateKeyException(UnpackException): function _pack_integer (line 288) | def _pack_integer(obj, fp, options): function _pack_nil (line 317) | def _pack_nil(obj, fp, options): function _pack_boolean (line 321) | def _pack_boolean(obj, fp, options): function _pack_float (line 325) | def _pack_float(obj, fp, options): function _pack_string (line 336) | def _pack_string(obj, fp, options): function _pack_binary (line 351) | def _pack_binary(obj, fp, options): function _pack_oldspec_raw (line 363) | def _pack_oldspec_raw(obj, fp, options): function _pack_ext (line 375) | def _pack_ext(obj, fp, options): function _pack_ext_timestamp (line 397) | def _pack_ext_timestamp(obj, fp, options): function _pack_array (line 423) | def _pack_array(obj, fp, options): function _pack_map (line 438) | def _pack_map(obj, fp, options): function _pack2 (line 457) | def _pack2(obj, fp, **options): function _pack3 (line 544) | def _pack3(obj, fp, **options): function _packb2 (line 631) | def _packb2(obj, **options): function _packb3 (line 664) | def _packb3(obj, **options): function _read_except (line 701) | def _read_except(fp, n): function _unpack_integer (line 719) | def _unpack_integer(code, fp, options): function _unpack_reserved (line 743) | def _unpack_reserved(code, fp, options): function _unpack_nil (line 751) | def _unpack_nil(code, fp, options): function _unpack_boolean (line 757) | def _unpack_boolean(code, fp, options): function _unpack_float (line 765) | def _unpack_float(code, fp, options): function _unpack_string (line 773) | def _unpack_string(code, fp, options): function _unpack_binary (line 799) | def _unpack_binary(code, fp, options): function _unpack_ext (line 812) | def _unpack_ext(code, fp, options): function _unpack_ext_timestamp (line 854) | def _unpack_ext_timestamp(ext_data, options): function _unpack_array (line 877) | def _unpack_array(code, fp, options): function _deep_list_to_tuple (line 893) | def _deep_list_to_tuple(obj): function _unpack_map (line 899) | def _unpack_map(code, fp, options): function _unpack (line 935) | def _unpack(fp, options): function _unpack2 (line 942) | def _unpack2(fp, **options): function _unpack3 (line 988) | def _unpack3(fp, **options): function _unpackb2 (line 1035) | def _unpackb2(s, **options): function _unpackb3 (line 1085) | def _unpackb3(s, **options): function __init (line 1138) | def __init(): FILE: pupy/modules/ad.py function _sid (line 237) | def _sid(sid): function json_default (line 245) | def json_default(o): function nsToDays (line 251) | def nsToDays(length): function nsToMinutes (line 255) | def nsToMinutes(length): function toDateTime (line 259) | def toDateTime(filetime): function parseFlags (line 271) | def parseFlags(attr, flags_def, bits=True): function LDAPAclMaskToSet (line 286) | def LDAPAclMaskToSet(mask): function LDAPAclToDict (line 303) | def LDAPAclToDict(acl): function LDAPAclOwnerToDict (line 319) | def LDAPAclOwnerToDict(owner): function LDAPSdToDict (line 327) | def LDAPSdToDict(descriptor): function formatAttribute (line 339) | def formatAttribute(key, att, formatCnAsGroup=False): function from_tuple_deep (line 408) | def from_tuple_deep(obj, format=True): function _get_field (line 441) | def _get_field(result, field): class AD (line 454) | class AD(PupyModule): method init_argparse (line 466) | def init_argparse(cls): method _show_exception (line 553) | def _show_exception(self, e): method run (line 578) | def run(self, args): method _output_search_results (line 587) | def _output_search_results(self, results, fields, table=False, realm=N... method search (line 653) | def search(self, args): method unbind (line 721) | def unbind(self, args): method childs (line 725) | def childs(self, args): method bounded (line 737) | def bounded(self, args): method getinfo (line 746) | def getinfo(self, args): method dump (line 849) | def dump(self, args): method bind (line 931) | def bind(self, args): method interrupt (line 960) | def interrupt(self): FILE: pupy/modules/alive.py class alive (line 12) | class alive(PupyModule): method init_argparse (line 17) | def init_argparse(cls): method run (line 22) | def run(self, args): FILE: pupy/modules/apps.py class apps (line 14) | class apps(PupyModule): method init_argparse (line 18) | def init_argparse(cls): method run (line 24) | def run(self, args): FILE: pupy/modules/become.py class Become (line 12) | class Become(PupyModule): method init_argparse (line 18) | def init_argparse(cls): method run (line 24) | def run(self, args): FILE: pupy/modules/beroot.py class Beroot (line 13) | class Beroot(PupyModule): method init_argparse (line 26) | def init_argparse(cls): method run (line 43) | def run(self, args): method windows_output (line 57) | def windows_output(self, output): FILE: pupy/modules/bypassuac.py class BypassUAC (line 29) | class BypassUAC(PupyModule): method init_argparse (line 40) | def init_argparse(cls): method parse_result (line 63) | def parse_result(self, result, print_result=True, get_method_id=True): method launch_scan (line 94) | def launch_scan(self, print_result=True): method run (line 109) | def run(self, args): FILE: pupy/modules/call.py class call (line 21) | class call(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method run (line 34) | def run(self, args): function getLocalAndroidPath (line 58) | def getLocalAndroidPath(client, args): FILE: pupy/modules/cat.py class cat (line 23) | class cat(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method print_content (line 51) | def print_content(self, args, content): method run (line 75) | def run(self, args): FILE: pupy/modules/cd.py class cd (line 20) | class cd(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 35) | def run(self, args): FILE: pupy/modules/check_vm.py class CheckVM (line 14) | class CheckVM(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 25) | def run(self, args): FILE: pupy/modules/clear_logs.py class ClearLogs (line 14) | class ClearLogs(PupyModule): method init_argparse (line 22) | def init_argparse(cls): method run (line 25) | def run(self, args): FILE: pupy/modules/cloudinfo.py class CloudInfo (line 23) | class CloudInfo(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method run (line 32) | def run(self, args): FILE: pupy/modules/contacts.py class contacts (line 22) | class contacts(PupyModule): method init_argparse (line 26) | def init_argparse(cls): method run (line 31) | def run(self, args): method __saveContacts__ (line 41) | def __saveContacts__(self, contacts, completePath): FILE: pupy/modules/cp.py class cp (line 20) | class cp(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 38) | def run(self, args): FILE: pupy/modules/credcap.py class Credcap (line 21) | class Credcap(PupyModule): method init_argparse (line 30) | def init_argparse(cls): method run (line 36) | def run(self, args): FILE: pupy/modules/creddump.py class CredDump (line 45) | class CredDump(PupyModule): method init_argparse (line 49) | def init_argparse(cls): method run (line 52) | def run(self, args): method darwin (line 69) | def darwin(self): method linux (line 87) | def linux(self): method windows (line 165) | def windows(self): method dump (line 267) | def dump(self, src, length=8): FILE: pupy/modules/date.py class date (line 17) | class date(PupyModule): method init_argparse (line 24) | def init_argparse(cls): method run (line 27) | def run(self, args): FILE: pupy/modules/display.py class Display (line 14) | class Display(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 27) | def run(self, args): FILE: pupy/modules/dns.py class DNS (line 18) | class DNS(PupyModule): method init_argparse (line 24) | def init_argparse(cls): method run (line 28) | def run(self, args): FILE: pupy/modules/download.py function size_human_readable (line 20) | def size_human_readable(num, suffix='B'): class DownloaderScript (line 33) | class DownloaderScript(PupyModule): method init_argparse (line 42) | def init_argparse(cls): method run (line 62) | def run(self, args): method interrupt (line 95) | def interrupt(self): FILE: pupy/modules/drives.py class Drives (line 17) | class Drives(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method run (line 35) | def run(self, args): FILE: pupy/modules/duplicate.py class MemoryDuplicate (line 21) | class MemoryDuplicate(PupyModule): method init_argparse (line 32) | def init_argparse(cls): method run (line 50) | def run(self, args): FILE: pupy/modules/echo.py class Echo (line 15) | class Echo(PupyModule): method init_argparse (line 25) | def init_argparse(cls): method interrupt (line 33) | def interrupt(self): method run (line 37) | def run(self, args): FILE: pupy/modules/edit.py class Edit (line 24) | class Edit(PupyModule): method init_argparse (line 30) | def init_argparse(cls): method run (line 38) | def run(self, args): FILE: pupy/modules/env.py class Env (line 16) | class Env(PupyModule): method init_argparse (line 22) | def init_argparse(cls): method run (line 46) | def run(self, args): method setenv (line 50) | def setenv(self, args, environ): method getenv (line 53) | def getenv(self, args, environ): method unsetenv (line 60) | def unsetenv(self, args, environ): method listenv (line 63) | def listenv(self, args, environ): FILE: pupy/modules/exit.py class ExitModule (line 12) | class ExitModule(PupyModule): method init_argparse (line 17) | def init_argparse(cls): method run (line 21) | def run(self, args): FILE: pupy/modules/exploit_suggester.py class Exploit_Suggester (line 45) | class Exploit_Suggester(PupyModule): method init_argparse (line 54) | def init_argparse(cls): method run (line 66) | def run(self, args): method interrupt (line 230) | def interrupt(self): FILE: pupy/modules/forward.py class Forward (line 22) | class Forward(PupyModule): method init_argparse (line 31) | def init_argparse(cls): method run (line 90) | def run(self, args): method _list (line 103) | def _list(self, state, args): method _parse_args (line 114) | def _parse_args(self, args): method _portmap (line 228) | def _portmap(self, state, args): FILE: pupy/modules/get_hwuuid.py class GetHwUuid (line 12) | class GetHwUuid(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 26) | def run(self, args): FILE: pupy/modules/get_info.py class GetInfo (line 20) | class GetInfo(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 34) | def run(self, args): FILE: pupy/modules/getdomain.py class GetDomain (line 12) | class GetDomain(PupyModule): method init_argparse (line 18) | def init_argparse(cls): method run (line 21) | def run(self, args): FILE: pupy/modules/getpid.py class PsModule (line 12) | class PsModule(PupyModule): method init_argparse (line 17) | def init_argparse(cls): method run (line 20) | def run(self, args): FILE: pupy/modules/getppid.py class PsModule (line 12) | class PsModule(PupyModule): method init_argparse (line 21) | def init_argparse(cls): method run (line 24) | def run(self, args): FILE: pupy/modules/getprivs.py class GetPrivsModule (line 16) | class GetPrivsModule(PupyModule): method init_argparse (line 22) | def init_argparse(cls): method run (line 29) | def run(self, args): FILE: pupy/modules/getsystem.py class GetSystem (line 18) | class GetSystem(PupyModule): method init_argparse (line 35) | def init_argparse(cls): method run (line 68) | def run(self, args): FILE: pupy/modules/getuid.py class getuid (line 12) | class getuid(PupyModule): method init_argparse (line 18) | def init_argparse(cls): method run (line 21) | def run(self, args): FILE: pupy/modules/gpstracker.py function generateKML (line 71) | def generateKML(deviceName, traces, outputFile): class gpstracker (line 97) | class gpstracker(PupyModule): method init_argparse (line 101) | def init_argparse(cls): method run (line 115) | def run(self, args): FILE: pupy/modules/hashmon.py class KeyloggerModule (line 12) | class KeyloggerModule(PupyModule): method init_argparse (line 22) | def init_argparse(cls): method run (line 36) | def run(self, args): FILE: pupy/modules/hide_process.py class HideProcessModule (line 13) | class HideProcessModule(PupyModule): method init_argparse (line 19) | def init_argparse(cls): method run (line 26) | def run(self, args): FILE: pupy/modules/http.py class http (line 16) | class http(PupyModule): method init_argparse (line 23) | def init_argparse(cls): method run (line 41) | def run(self, args): FILE: pupy/modules/igd.py class IGDCMDClient (line 18) | class IGDCMDClient(object): method __init__ (line 19) | def __init__(self): method init (line 22) | def init(self, IGDClient, args, log): method show (line 34) | def show(self, values): method addPM (line 81) | def addPM(self, args): method delPM (line 88) | def delPM(self, args): method getExtIP (line 93) | def getExtIP(self, args): method getGPM (line 97) | def getGPM(self, args): method getSPM (line 101) | def getSPM(self, args): method getNRSS (line 107) | def getNRSS(self, args): method getWDD (line 112) | def getWDD(self, args): method getIDT (line 117) | def getIDT(self, args): method getADT (line 122) | def getADT(self, args): method getSI (line 127) | def getSI(self, args): method setWDD (line 131) | def setWDD(self, args): method setIDT (line 135) | def setIDT(self, args): method setADT (line 139) | def setADT(self, args): method forceTerm (line 143) | def forceTerm(self, args): method requestTerm (line 147) | def requestTerm(self, args): method requestConn (line 151) | def requestConn(self, args): method getCT (line 155) | def getCT(self, args): method setCT (line 160) | def setCT(self, args): method custom (line 164) | def custom(self, args): method getFWStatus (line 175) | def getFWStatus(self, args): method addPH (line 179) | def addPH(self, args): method getOPHT (line 189) | def getOPHT(self, args): method updatePH (line 194) | def updatePH(self, args): method delPH (line 197) | def delPH(self, args): method getPHPkts (line 200) | def getPHPkts(self, args): method chkPH (line 204) | def chkPH(self, args): class IGDClient (line 210) | class IGDClient(PupyModule): method init_argparse (line 214) | def init_argparse(cls): method run (line 427) | def run(self, args): FILE: pupy/modules/impersonate.py class ImpersonateModule (line 14) | class ImpersonateModule(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 27) | def run(self, args): FILE: pupy/modules/interactive_shell.py class InteractiveShell (line 19) | class InteractiveShell(PupyModule): method init_argparse (line 34) | def init_argparse(cls): method init (line 44) | def init(self, args): method run (line 52) | def run(self, args): FILE: pupy/modules/inveigh.py class Inveigh (line 18) | class Inveigh(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method run (line 47) | def run(self, args): FILE: pupy/modules/ip.py class IPModule (line 19) | class IPModule(PupyModule): method init_argparse (line 26) | def init_argparse(cls): method run (line 35) | def run(self, args): FILE: pupy/modules/isearch.py function escape (line 23) | def escape(x): class IndexSearchModule (line 31) | class IndexSearchModule(PupyModule): method init_argparse (line 40) | def init_argparse(cls): method run (line 56) | def run(self, args): FILE: pupy/modules/keylogger.py class KeyloggerModule (line 22) | class KeyloggerModule(PupyModule): method init_argparse (line 35) | def init_argparse(cls): method stop_daemon (line 39) | def stop_daemon(self): method run (line 42) | def run(self, args): FILE: pupy/modules/last.py class LastModule (line 16) | class LastModule(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 37) | def run(self, args): FILE: pupy/modules/lazagne.py class LaZagne (line 24) | class LaZagne(PupyModule): method init_argparse (line 63) | def init_argparse(cls): method run (line 81) | def run(self, args): method _run (line 104) | def _run(self, args): method hashdump_to_dict (line 151) | def hashdump_to_dict(self, creds): method cachedump_to_dict (line 169) | def cachedump_to_dict(self, creds): method credfiles_to_dict (line 190) | def credfiles_to_dict(self, creds): method creds_to_dict (line 216) | def creds_to_dict(self, creds, module): method prepare_fields (line 253) | def prepare_fields(self, items, remove=[]): method filter_same (line 271) | def filter_same(self, creds): method print_lsa (line 278) | def print_lsa(self, creds): method print_results (line 290) | def print_results(self, success, module, creds, db): FILE: pupy/modules/lib/__init__.py function size_human_readable (line 13) | def size_human_readable(num, suffix=''): function file_timestamp (line 25) | def file_timestamp(timestamp, time=False): FILE: pupy/modules/lib/linux/exec_elf.py function mexec (line 16) | def mexec(module, path, argv, argv0=None, interactive=False, raw=False, ... FILE: pupy/modules/lib/linux/migrate.py function has_proc_migrated (line 20) | def has_proc_migrated(client, pid): function get_payload (line 36) | def get_payload(module, compressed=True, debug=False, from_payload=None): function wait_connect (line 61) | def wait_connect(module, pid, timeout=10): function ld_preload (line 81) | def ld_preload(module, command, wait_thread=False, keep=False, debug=Fal... function migrate (line 100) | def migrate(module, pid, keep=False, timeout=10, debug=False, from_paylo... FILE: pupy/modules/lib/utils/cmdrepl.py class CmdRepl (line 10) | class CmdRepl(Cmd): method __init__ (line 11) | def __init__(self, stdout, write_cb, completion, CRLF=False, interpret... method thread (line 23) | def thread(*args, **kwargs): method _con_write (line 33) | def _con_write(self, data): method do_EOF (line 50) | def do_EOF(self, line): method do_help (line 53) | def do_help(self, line): method completenames (line 56) | def completenames(self): method precmd (line 59) | def precmd(self, line): method postcmd (line 65) | def postcmd(self, stop, line): method emptyline (line 69) | def emptyline(self): method default (line 72) | def default(self, line): method postloop (line 80) | def postloop(self): method set_prompt (line 83) | def set_prompt(self, prompt='# '): FILE: pupy/modules/lib/utils/download.py class DownloadFronted (line 67) | class DownloadFronted(object): method __init__ (line 68) | def __init__(self, client, exclude=None, include=None, follow_symlinks... method du (line 107) | def du(self, remote_file, obj): method _setup_context (line 120) | def _setup_context(self, remote_file, local_file, archive): method dest_file (line 167) | def dest_file(self): method download (line 171) | def download(self, remote_file, method create_download_callback (line 192) | def create_download_callback(self, local_file=None, archive=False): method stop (line 203) | def stop(self): method process (line 208) | def process(self): method _process_queue (line 214) | def _process_queue(self): method _submit_message (line 219) | def _submit_message(self, data, exception): method _callback (line 223) | def _callback(self, data, exception): method _callback_unsafe (line 234) | def _callback_unsafe(self, data, exception): method _split_path (line 255) | def _split_path(self, path): method _check_path (line 269) | def _check_path(self, path): method _check_name (line 272) | def _check_name(self, name): method _get_path (line 277) | def _get_path(self, msg): method _meta (line 294) | def _meta(self, meta): method _handle_msg (line 299) | def _handle_msg(self, msg): method interrupt (line 557) | def interrupt(self): method __del__ (line 572) | def __del__(self): FILE: pupy/modules/lib/utils/shell_exec.py function shell_exec (line 11) | def shell_exec(client, cmdline, shell=None, env=None, encoding=None): FILE: pupy/modules/lib/windows/memory_exec.py function exec_pe (line 19) | def exec_pe( FILE: pupy/modules/lib/windows/migrate.py function has_proc_migrated (line 19) | def has_proc_migrated(client, pid): function migrate (line 31) | def migrate( FILE: pupy/modules/lib/windows/powerloader.py function serve (line 22) | def serve( FILE: pupy/modules/lib/windows/powershell.py function remove_comments (line 9) | def remove_comments(string): function obfs_ps_script (line 27) | def obfs_ps_script(script): function obfuscatePowershellScript (line 38) | def obfuscatePowershellScript(code): FILE: pupy/modules/lib/windows/winpcap.py function init_winpcap (line 23) | def init_winpcap(client): FILE: pupy/modules/linux_stealth.py class SetStealth (line 16) | class SetStealth(PupyModule): method init_argparse (line 25) | def init_argparse(cls): method run (line 29) | def run(self, args): FILE: pupy/modules/load_package.py class LoadPackageModule (line 14) | class LoadPackageModule(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 29) | def run(self, args): FILE: pupy/modules/lock_screen.py class PupyMod (line 15) | class PupyMod(PupyModule): method init_argparse (line 19) | def init_argparse(cls): method run (line 22) | def run(self, args): FILE: pupy/modules/logs.py class Logs (line 14) | class Logs(PupyModule): method init_argparse (line 24) | def init_argparse(cls): method run (line 41) | def run(self, args): FILE: pupy/modules/loot_memory.py class LootMemory (line 11) | class LootMemory(PupyModule): method init_argparse (line 19) | def init_argparse(cls): method run (line 24) | def run(self, args): FILE: pupy/modules/ls.py function to_str (line 43) | def to_str(value): function output_format (line 47) | def output_format( class ls (line 116) | class ls(PupyModule): method init_argparse (line 123) | def init_argparse(cls): method run (line 164) | def run(self, args): FILE: pupy/modules/mapped.py class Mapped (line 17) | class Mapped(PupyModule): method init_argparse (line 23) | def init_argparse(cls): method run (line 37) | def run(self, args): FILE: pupy/modules/memory_exec.py class MemoryExec (line 36) | class MemoryExec(PupyModule): method __init__ (line 48) | def __init__(self, *args, **kwargs): method init_argparse (line 54) | def init_argparse(cls): method interrupt (line 64) | def interrupt(self): method run (line 69) | def run(self, args): FILE: pupy/modules/memstrings.py class MemStrings (line 17) | class MemStrings(PupyModule): method init_argparse (line 26) | def init_argparse(cls): method run (line 57) | def run(self, args): method interrupt (line 117) | def interrupt(self): FILE: pupy/modules/migrate.py class MigrateModule (line 18) | class MigrateModule(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 71) | def run(self, args): FILE: pupy/modules/mimikatz.py class Mimikatz (line 34) | class Mimikatz(MemoryExec): method init_argparse (line 47) | def init_argparse(cls): method run (line 68) | def run(self, args): method parse_mimikatz (line 153) | def parse_mimikatz(self, data): method validate_ntlm (line 326) | def validate_ntlm(self, data): FILE: pupy/modules/mimipy.py class MimipyMod (line 13) | class MimipyMod(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 24) | def run(self, args): FILE: pupy/modules/mimishell.py class Mimishell (line 22) | class Mimishell(MemoryExec): method init_argparse (line 34) | def init_argparse(cls): method run (line 39) | def run(self, args): FILE: pupy/modules/mkdir.py class mkdir (line 20) | class mkdir(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 32) | def run(self, args): FILE: pupy/modules/mouselogger.py class MouseLoggerModule (line 21) | class MouseLoggerModule(PupyModule): method init_argparse (line 31) | def init_argparse(cls): method run (line 40) | def run(self, args): FILE: pupy/modules/msgbox.py class MsgBoxPopup (line 12) | class MsgBoxPopup(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 25) | def run(self, args): FILE: pupy/modules/mv.py class mv (line 20) | class mv(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 32) | def run(self, args): FILE: pupy/modules/nbnsspoof.py class NbnsSpoofModule (line 21) | class NbnsSpoofModule(PupyModule): method init_argparse (line 30) | def init_argparse(cls): method run (line 39) | def run(self, args): FILE: pupy/modules/netcreds.py class NetCreds (line 12) | class NetCreds(PupyModule): method init_argparse (line 16) | def init_argparse(cls): method run (line 68) | def run(self, args): method _draw_creds (line 71) | def _draw_creds(self, creds): method help (line 84) | def help(self, args): method find (line 87) | def find(self, args): method add (line 98) | def add(self, args): method remove (line 110) | def remove(self, args): method clear (line 119) | def clear(self, args): FILE: pupy/modules/netmon.py class NetMon (line 19) | class NetMon(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method stop_daemon (line 37) | def stop_daemon(self): method render_diff (line 40) | def render_diff(self, diff): method run (line 122) | def run(self, args): FILE: pupy/modules/netstat.py class NetStatModule (line 22) | class NetStatModule(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method run (line 50) | def run(self, args): FILE: pupy/modules/odbc.py class Counter (line 33) | class Counter(object): method __init__ (line 36) | def __init__(self): method inc (line 39) | def inc(self, value): method __int__ (line 42) | def __int__(self): method __str__ (line 45) | def __str__(self): function _asunicode (line 50) | def _asunicode(x): function _asunicode (line 56) | def _asunicode(x): class ODBC (line 69) | class ODBC(PupyModule): method init_argparse (line 77) | def init_argparse(cls): method run (line 185) | def run(self, args): method bind (line 206) | def bind(self, args): method drivers (line 213) | def drivers(self, args): method register (line 217) | def register(self, args): method unbind (line 226) | def unbind(self, args): method bounded (line 232) | def bounded(self, args): method describe (line 247) | def describe(self, args): method tables (line 259) | def tables(self, args): method count (line 289) | def count(self, args): method query (line 304) | def query(self, args): method interrupt (line 413) | def interrupt(self): FILE: pupy/modules/outlook.py class Outlook (line 20) | class Outlook(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 44) | def run(self, args): FILE: pupy/modules/persistence.py class Persistence (line 35) | class Persistence(PupyModule): method init_argparse (line 44) | def init_argparse(cls): method run (line 65) | def run(self, args): method linux (line 71) | def linux(self, args): method parse_result (line 97) | def parse_result(self, result, print_result=True, get_method_id=True): method launch_scan (line 118) | def launch_scan(self, print_result=True): method windows (line 126) | def windows(self, args): FILE: pupy/modules/pexec.py class PExec (line 23) | class PExec(PupyModule): method init_argparse (line 35) | def init_argparse(cls): method run (line 71) | def run(self, args): method interrupt (line 156) | def interrupt(self): FILE: pupy/modules/pipecatcher.py class PipeCatcher (line 19) | class PipeCatcher(PupyModule): method init_argparse (line 29) | def init_argparse(cls): method run (line 37) | def run(self, args): method stop_daemon (line 66) | def stop_daemon(self): FILE: pupy/modules/port_scan.py class PortScan (line 18) | class PortScan(PupyModule): method init_argparse (line 24) | def init_argparse(cls): method run (line 33) | def run(self, args): method interrupt (line 82) | def interrupt(self): FILE: pupy/modules/portfwd.py class SocketPiper (line 37) | class SocketPiper(threading.Thread): method __init__ (line 38) | def __init__(self, read_sock, write_sock): method run (line 44) | def run(self): class LocalPortFwdRequestHandler (line 75) | class LocalPortFwdRequestHandler(BaseRequestHandler): method handle (line 76) | def handle(self): class LocalPortFwdServer (line 101) | class LocalPortFwdServer(TCPServer): method __init__ (line 104) | def __init__(self, server_address, RequestHandlerClass, bind_and_activ... class ThreadedLocalPortFwdServer (line 110) | class ThreadedLocalPortFwdServer(ThreadingMixIn, LocalPortFwdServer): method __str__ (line 111) | def __str__(self): function get_remote_port_fwd_cb (line 115) | def get_remote_port_fwd_cb(remote_addr, local_addr): class PortFwdModule (line 141) | class PortFwdModule(PupyModule): method __init__ (line 148) | def __init__(self, *args, **kwargs): method init_argparse (line 154) | def init_argparse(cls): method stop_daemon (line 161) | def stop_daemon(self): method run (line 165) | def run(self, args): FILE: pupy/modules/powerview.py class Powerview (line 18) | class Powerview(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 191) | def run(self, args): FILE: pupy/modules/privesc_checker.py class PrivEsc_Checker (line 19) | class PrivEsc_Checker(PupyModule): method init_argparse (line 23) | def init_argparse(cls): method run (line 30) | def run(self, args): method writeInFile (line 56) | def writeInFile(self,filename, data): FILE: pupy/modules/process_kill.py class KillModule (line 12) | class KillModule(PupyModule): method init_argparse (line 16) | def init_argparse(cls): method run (line 21) | def run(self, args): FILE: pupy/modules/ps.py class Key (line 25) | class Key(str): method __lt__ (line 28) | def __lt__(self, other): function gen_colinfo (line 46) | def gen_colinfo(data): function to_string (line 86) | def to_string(value): function gen_columns (line 99) | def gen_columns(record, colinfo=None): function gen_output_line (line 139) | def gen_output_line(columns, info, record, wide=False): function print_psinfo (line 177) | def print_psinfo(fout, families, socktypes, data, colinfo, sections=[], ... function is_filtered (line 258) | def is_filtered(pid, columns, hide, show): function check_tree_show (line 292) | def check_tree_show(pid, data, show, tree): function print_pstree (line 316) | def print_pstree(fout, parent, tree, data, function print_ps (line 369) | def print_ps(fout, data, colinfo={}, class PsModule (line 391) | class PsModule(PupyModule): method init_argparse (line 398) | def init_argparse(cls): method run (line 414) | def run(self, args): FILE: pupy/modules/psexec.py class PSExec (line 20) | class PSExec(PupyModule): method init_argparse (line 32) | def init_argparse(cls): method run (line 59) | def run(self, args): FILE: pupy/modules/psh.py class PowershellManager (line 20) | class PowershellManager(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 71) | def run(self, args): FILE: pupy/modules/pwd.py class pwd (line 21) | class pwd(PupyModule): method init_argparse (line 26) | def init_argparse(cls): method run (line 29) | def run(self, args): FILE: pupy/modules/pyexec.py class PythonExec (line 25) | class PythonExec(PupyModule): method init_argparse (line 31) | def init_argparse(cls): method run (line 37) | def run(self, args): FILE: pupy/modules/pyshell.py function enqueue_output (line 29) | def enqueue_output(out, queue): class InteractivePythonShell (line 35) | class InteractivePythonShell(PupyModule): method init_argparse (line 42) | def init_argparse(cls): method run (line 47) | def run(self, args): FILE: pupy/modules/pywerview.py class Pywerview (line 15) | class Pywerview(PupyModule): method init_argparse (line 22) | def init_argparse(cls): method run (line 329) | def run(self, args): FILE: pupy/modules/rdesktop.py class RdesktopWebSocketHandler (line 23) | class RdesktopWebSocketHandler(WebSocketHandler): method initialize (line 24) | def initialize(self, client, refresh_interval, module, **kwargs): method on_open (line 36) | def on_open(self): method events_handler (line 40) | def events_handler(self, mouse_refresh_rate=0.01): method on_message (line 58) | def on_message(self, data): method update_video_callback (line 87) | def update_video_callback(self, jpg_data, width, height): method start_stream (line 98) | def start_stream(self): method on_close (line 120) | def on_close(self): class IndexHandler (line 127) | class IndexHandler(RequestHandler): method initialize (line 128) | def initialize(self, **kwargs): method get (line 132) | async def get(self): class RemoteDesktopModule (line 136) | class RemoteDesktopModule(PupyModule): method init_argparse (line 142) | def init_argparse(cls): method run (line 153) | def run(self, args): FILE: pupy/modules/rdp.py class Rdp (line 13) | class Rdp(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 53) | def run(self, args): method interrupt (line 101) | def interrupt(self): FILE: pupy/modules/record_mic.py function save_wav (line 23) | def save_wav(path, sample_width, channels, rate, raw_frames): class RecordMicrophoneModule (line 33) | class RecordMicrophoneModule(PupyModule): method init_argparse (line 39) | def init_argparse(cls): method run (line 45) | def run(self, args): FILE: pupy/modules/reg.py function fix_key (line 49) | def fix_key(x): class reg (line 65) | class reg(PupyModule): method init_argparse (line 76) | def init_argparse(cls): method __init__ (line 165) | def __init__(self, *args, **kwargs): method _method (line 169) | def _method(self, name, args, serialize=True): method run (line 187) | def run(self, args): method _format_multi (line 214) | def _format_multi(self, results, wide=False, remove=None): method ls (line 271) | def ls(self, args): method get (line 285) | def get(self, args): method set (line 294) | def set(self, args): method rm (line 312) | def rm(self, args): method interrupt (line 320) | def interrupt(self): method _format_by_one (line 327) | def _format_by_one(self, record): method search (line 357) | def search(self, args): FILE: pupy/modules/rfs.py class PupyFUSE (line 25) | class PupyFUSE(fuse.FUSE): method __init__ (line 28) | def __init__(self, operations, mountpoint, raw_fi=False, encoding='utf... method loop (line 70) | def loop(self): class RFSManager (line 81) | class RFSManager(object): method __init__ (line 82) | def __init__(self): method assigned (line 89) | def assigned(self): method assign (line 94) | def assign(self, client): method mount (line 116) | def mount(self, rpath, lpath): method umount (line 138) | def umount(self, lpath): method mounts (line 162) | def mounts(self): method umountall (line 167) | def umountall(self): class RemoteOperations (line 171) | class RemoteOperations(object): class PupyRFS (line 203) | class PupyRFS(Operations): method __init__ (line 204) | def __init__(self, root, rops): method _full_path (line 211) | def _full_path(self, partial): method access (line 219) | def access(self, path, mode): method chmod (line 224) | def chmod(self, path, mode): method chown (line 228) | def chown(self, path, uid, gid): method getattr (line 232) | def getattr(self, path, fh=None): method readdir (line 241) | def readdir(self, path, fh): method readlink (line 252) | def readlink(self, path): method mknod (line 260) | def mknod(self, path, mode, dev): method rmdir (line 263) | def rmdir(self, path): method mkdir (line 267) | def mkdir(self, path, mode): method statfs (line 270) | def statfs(self, path): method unlink (line 279) | def unlink(self, path): method symlink (line 282) | def symlink(self, name, target): method rename (line 285) | def rename(self, old, new): method link (line 288) | def link(self, target, name): method utimens (line 291) | def utimens(self, path, times=None): method open (line 297) | def open(self, path, flags): method create (line 301) | def create(self, path, mode, fi=None): method read (line 305) | def read(self, path, length, offset, fh): method write (line 309) | def write(self, path, buf, offset, fh): method truncate (line 313) | def truncate(self, path, length, fh=None): method flush (line 320) | def flush(self, path, fh): method release (line 323) | def release(self, path, fh): method fsync (line 326) | def fsync(self, path, fdatasync, fh): class RemoteFS (line 332) | class RemoteFS(PupyModule): method init_argparse (line 338) | def init_argparse(cls): method run (line 356) | def run(self, args): method mount (line 363) | def mount(self, args, manager): method umount (line 366) | def umount(self, args, manager): method list (line 369) | def list(self, args, manager): FILE: pupy/modules/rm.py class rm (line 20) | class rm(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 34) | def run(self, args): FILE: pupy/modules/rwmic.py function _stringify (line 22) | def _stringify(x): class RWMIC (line 34) | class RWMIC(PupyModule): method init_argparse (line 44) | def init_argparse(cls): method run (line 63) | def run(self, args): FILE: pupy/modules/scapy_shell.py function enqueue_output (line 25) | def enqueue_output(out, queue): class InteractiveScapyShell (line 30) | class InteractiveScapyShell(PupyModule): method init_argparse (line 38) | def init_argparse(cls): method run (line 41) | def run(self, args): FILE: pupy/modules/screenshot.py class Screenshoter (line 45) | class Screenshoter(PupyModule): method init_argparse (line 53) | def init_argparse(cls): method run (line 59) | def run(self, args): FILE: pupy/modules/search.py class SearchModule (line 22) | class SearchModule(PupyModule): method init_argparse (line 36) | def init_argparse(cls): method run (line 132) | def run(self, args): method interrupt (line 262) | def interrupt(self): FILE: pupy/modules/services.py class Services (line 19) | class Services(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 35) | def run(self, args): FILE: pupy/modules/shares.py class Shares (line 14) | class Shares(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 49) | def run(self, args): FILE: pupy/modules/shell_exec.py class ShellExec (line 22) | class ShellExec(PupyModule): method init_argparse (line 34) | def init_argparse(cls): method run (line 46) | def run(self, args): method interrupt (line 91) | def interrupt(self): FILE: pupy/modules/shellcode_exec.py class ShellcodeExec (line 18) | class ShellcodeExec(PupyModule): method init_argparse (line 24) | def init_argparse(cls): method run (line 28) | def run(self, args): FILE: pupy/modules/smb.py class SMBError (line 27) | class SMBError(Exception): class SMB (line 32) | class SMB(PupyModule): method init_argparse (line 42) | def init_argparse(cls): method run (line 107) | def run(self, args): method help (line 114) | def help(self, args): method cache (line 117) | def cache(self, args): method get_ft (line 146) | def get_ft(self, args, host): method shares (line 165) | def shares(self, args): method parse_netloc (line 182) | def parse_netloc(self, line, partial=False, codepage=None): method ls (line 220) | def ls(self, args): method rm (line 256) | def rm(self, args): method mkdir (line 274) | def mkdir(self, args): method rmdir (line 292) | def rmdir(self, args): method cp (line 310) | def cp(self, args): method cat (line 362) | def cat(self, args): FILE: pupy/modules/smbspider.py class SMBSpider (line 15) | class SMBSpider(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 51) | def run(self, args): FILE: pupy/modules/socks5proxy.py class SocketPiper (line 63) | class SocketPiper(threading.Thread): method __init__ (line 64) | def __init__(self, read_sock, write_sock): method run (line 70) | def run(self): class Socks5RequestHandler (line 110) | class Socks5RequestHandler(BaseRequestHandler): method _socks_response (line 111) | def _socks_response(self, code, terminate=False): method handle (line 126) | def handle(self): class Socks5Server (line 201) | class Socks5Server(TCPServer): method __init__ (line 204) | def __init__(self, server_address, RequestHandlerClass, bind_and_activ... class ThreadedSocks5Server (line 209) | class ThreadedSocks5Server(ThreadingMixIn, Socks5Server): class Socks5Proxy (line 213) | class Socks5Proxy(PupyModule): method init_argparse (line 223) | def init_argparse(cls): method stop_daemon (line 228) | def stop_daemon(self): method run (line 237) | def run(self, args): FILE: pupy/modules/ssh.py class SSH (line 24) | class SSH(PupyModule): method init_argparse (line 42) | def init_argparse(cls): method run (line 98) | def run(self, args): method hosts (line 127) | def hosts(self, args): method _handle_on_data (line 151) | def _handle_on_data(self, args, data_cb, connect_cb=None, complete_cb=... method key_scan (line 212) | def key_scan(self, args): method rexec (line 235) | def rexec(self, args): method download (line 255) | def download(self, args): method upload (line 312) | def upload(self, args): method interrupt (line 340) | def interrupt(self): method _find_private_keys (line 348) | def _find_private_keys(self, fpath): FILE: pupy/modules/sshell.py class SSHell (line 30) | class SSHell(PupyModule): method init_argparse (line 44) | def init_argparse(cls): method init (line 64) | def init(self, args): method run (line 72) | def run(self, args): method _find_private_keys (line 150) | def _find_private_keys(self, fpath): FILE: pupy/modules/stat.py class FStat (line 30) | class FStat(PupyModule): method init_argparse (line 42) | def init_argparse(cls): method run (line 54) | def run(self, args): FILE: pupy/modules/sudo_alias.py class SudoAlias (line 13) | class SudoAlias(PupyModule): method init_argparse (line 19) | def init_argparse(cls): method run (line 23) | def run(self, args): FILE: pupy/modules/tasks.py class Tasks (line 14) | class Tasks(PupyModule): method init_argparse (line 20) | def init_argparse(cls): method run (line 23) | def run(self, args): FILE: pupy/modules/tcpdump.py class TcpdumpModule (line 27) | class TcpdumpModule(PupyModule): method init_argparse (line 39) | def init_argparse(cls): method printer (line 54) | def printer(self, pcap_writer=None, print_summary=True): method on_error (line 70) | def on_error(self, error=None): method run (line 76) | def run(self, args): method interrupt (line 119) | def interrupt(self): FILE: pupy/modules/text_to_speach.py class AndroidTTS (line 12) | class AndroidTTS(PupyModule): method init_argparse (line 18) | def init_argparse(cls): method run (line 23) | def run(self, args): FILE: pupy/modules/ttyrec.py function _to_unicode (line 65) | def _to_unicode(x): function _to_int (line 75) | def _to_int(x): class TTYRec (line 87) | class TTYRec(PupyModule): method init_argparse (line 107) | def init_argparse(cls): method start (line 122) | def start(self, args): method stop (line 132) | def stop(self, args): method dump (line 138) | def dump(self, args): method run (line 206) | def run(self, args): FILE: pupy/modules/upload.py class UploaderScript (line 24) | class UploaderScript(PupyModule): method init_argparse (line 28) | def init_argparse(cls): method run (line 34) | def run(self, args): FILE: pupy/modules/users.py class Users (line 16) | class Users(PupyModule): method init_argparse (line 25) | def init_argparse(cls): method run (line 34) | def run(self, args): FILE: pupy/modules/usniper.py class USniper (line 24) | class USniper(PupyModule): method init_argparse (line 35) | def init_argparse(cls): method start (line 57) | def start(self, args): method stop (line 74) | def stop(self, args): method dump (line 79) | def dump(self, args): method run (line 109) | def run(self, args): FILE: pupy/modules/vibrate.py class AndroidVibrate (line 12) | class AndroidVibrate(PupyModule): method init_argparse (line 18) | def init_argparse(cls): method run (line 21) | def run(self, args): FILE: pupy/modules/w.py class WModule (line 20) | class WModule(PupyModule): method init_argparse (line 31) | def init_argparse(cls): method run (line 36) | def run(self, args): FILE: pupy/modules/webcamsnap.py function pil_save (line 36) | def pil_save(filename, pixels, width, height): class WebcamSnapModule (line 47) | class WebcamSnapModule(PupyModule): method init_argparse (line 56) | def init_argparse(cls): method run (line 63) | def run(self, args): FILE: pupy/modules/wmic.py class WMIC (line 21) | class WMIC(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 35) | def run(self, args): FILE: pupy/modules/write.py class Write (line 21) | class Write(PupyModule): method init_argparse (line 27) | def init_argparse(cls): method run (line 54) | def run(self, args): FILE: pupy/modules/x509.py class x509 (line 13) | class x509(PupyModule): method init_argparse (line 19) | def init_argparse(cls): method run (line 29) | def run(self, args): FILE: pupy/modules/zip.py class Zip (line 13) | class Zip(PupyModule): method init_argparse (line 19) | def init_argparse(cls): method nice_size (line 27) | def nice_size(self, value): method run (line 37) | def run(self, args): FILE: pupy/network/conf.py function add_transport (line 26) | def add_transport(module_name): function load_network_modules (line 50) | def load_network_modules(): FILE: pupy/network/lib/__init__.py function getLogger (line 37) | def getLogger(name): FILE: pupy/network/lib/ack.py class Ack (line 27) | class Ack(object): method __init__ (line 32) | def __init__(self): method is_set (line 37) | def is_set(self): method set (line 41) | def set(self): method wait (line 48) | def wait(self, timeout=None, probe=0.5): FILE: pupy/network/lib/base.py class ReleaseChainedTransport (line 11) | class ReleaseChainedTransport(Exception): class TransportSetupFailed (line 15) | class TransportSetupFailed(Exception): class BasePupyTransport (line 19) | class BasePupyTransport(object): method __init__ (line 25) | def __init__(self, stream, **kwargs): method customize (line 42) | def customize(cls, **kwargs): method custom (line 55) | def custom(cls, **kwargs): method set (line 59) | def set(cls, **kwargs): method close (line 62) | def close(self): method on_connect (line 77) | def on_connect(self): method on_close (line 85) | def on_close(self): method downstream_recv (line 93) | def downstream_recv(self, data): method upstream_recv (line 102) | def upstream_recv(self, data): class BaseTransport (line 112) | class BaseTransport(BasePupyTransport): class TransportError (line 117) | class TransportError(Exception): class PluggableTransportError (line 121) | class PluggableTransportError(Exception): class TransportWrapper (line 132) | class TransportWrapper(BasePupyTransport): method __init__ (line 138) | def __init__(self, stream, **kwargs): method _setup_callbacks (line 152) | def _setup_callbacks(self): method _linearize (line 161) | def _linearize(cls): method _generate_write_callback (line 169) | def _generate_write_callback(self, buffer, idx, up=False): method on_connect (line 175) | def on_connect(self): method on_close (line 179) | def on_close(self): method close (line 183) | def close(self): method downstream_recv (line 192) | def downstream_recv(self, data, idx=0): method upstream_recv (line 209) | def upstream_recv(self, data, idx=None): function chain_transports (line 226) | def chain_transports(*args): FILE: pupy/network/lib/base_launcher.py class LauncherError (line 23) | class LauncherError(Exception): class LauncherArgumentParser (line 27) | class LauncherArgumentParser(argparse.ArgumentParser): method __init__ (line 30) | def __init__(self, *args, **kwargs): method exit (line 33) | def exit(self, status=0, message=None): method error (line 36) | def error(self, message): class BaseLauncherMetaclass (line 40) | class BaseLauncherMetaclass(type): method __init__ (line 41) | def __init__(self, *args, **kwargs): class BaseLauncher (line 46) | class BaseLauncher(with_metaclass(BaseLauncherMetaclass)): method __init__ (line 55) | def __init__(self): method init_argparse (line 61) | def init_argparse(cls): method iterate (line 65) | def iterate(self): method parse_args (line 69) | def parse_args(self, args): method set_default_transport (line 76) | def set_default_transport(self, transport): method transport (line 80) | def transport(self): method set_connection_info (line 83) | def set_connection_info(self, hostname, host, port, proxies, transport... method reset_connection_info (line 90) | def reset_connection_info(self): FILE: pupy/network/lib/buffer.py class Buffer (line 30) | class Buffer(object): method _check_suppored_data_type (line 45) | def _check_suppored_data_type(data): method __init__ (line 53) | def __init__(self, data='', on_write=None, transport_func=None, trunca... method __enter__ (line 85) | def __enter__(self): method __exit__ (line 88) | def __exit__(self, *exc): method copy (line 91) | def copy(self): method on_write (line 98) | def on_write(self): method wait (line 105) | def wait(self, timeout=0.1, at_least=0, force=False): method wake (line 118) | def wake(self): method _linearize (line 124) | def _linearize(self, upto=None): method _obtain (line 173) | def _obtain(self, n=-1, view=False, release=False): method read (line 215) | def read(self, n=-1, view=False): method insert (line 226) | def insert(self, data): method truncate (line 250) | def truncate(self, newlen): method __iadd__ (line 288) | def __iadd__(self, data): method append (line 295) | def append(self, data): method write (line 330) | def write(self, data, notify=True): method flush (line 343) | def flush(self): method write_to (line 352) | def write_to(self, stream, modificator=None, notify=True, view=False, ... method peek (line 435) | def peek(self, n=-1, view=False): method drain (line 446) | def drain(self, n=-1): method chunksinfo (line 489) | def chunksinfo(self): method __len__ (line 499) | def __len__(self): method __nonzero__ (line 503) | def __nonzero__(self): FILE: pupy/network/lib/clients.py class PupyClient (line 34) | class PupyClient(object): method connect (line 35) | def connect(self, host, port, timeout=4): class PupyAsyncClient (line 40) | class PupyAsyncClient(object): method connect (line 41) | def connect(self, host, port, timeout=10): class PupyTCPClient (line 48) | class PupyTCPClient(PupyClient): method __init__ (line 49) | def __init__( method connect (line 62) | def connect(self, host, port): class PupyProxifiedTCPClient (line 98) | class PupyProxifiedTCPClient(PupyTCPClient): method __init__ (line 99) | def __init__(self, *args, **kwargs): method connect (line 106) | def connect(self, host, port): class PupySSLClient (line 148) | class PupySSLClient(PupyTCPClient): method __init__ (line 149) | def __init__(self, *args, **kwargs): method connect (line 180) | def connect(self, host, port): method connect_any (line 186) | def connect_any(self, host, port): method connect_pupy (line 198) | def connect_pupy(self, host, port): class PupyProxifiedSSLClient (line 246) | class PupyProxifiedSSLClient(PupySSLClient, PupyProxifiedTCPClient): class PupyUDPClient (line 250) | class PupyUDPClient(PupyClient): method __init__ (line 251) | def __init__( method connect (line 260) | def connect(self, host, port): FILE: pupy/network/lib/compat.py function is_int (line 34) | def is_int(value): function is_str (line 37) | def is_str(value): function as_byte (line 40) | def as_byte(value): function is_int (line 51) | def is_int(value): function is_str (line 54) | def is_str(value): function as_byte (line 57) | def as_byte(value): function is_bin (line 61) | def is_bin(value): class Struct (line 71) | class Struct(object): method __init__ (line 75) | def __init__(self, format): method pack (line 79) | def pack(self, *args): method unpack (line 82) | def unpack(self, data): function next (line 95) | def next(iterator): function callable (line 106) | def callable(obj): function select (line 114) | def select(*args): function get_exc_errno (line 125) | def get_exc_errno(exc): class PollingPoll (line 140) | class PollingPoll(object): method __init__ (line 141) | def __init__(self): method register (line 144) | def register(self, fd, mode): method unregister (line 162) | def unregister(self, fd): method poll (line 165) | def poll(self, timeout = None): class SelectingPoll (line 191) | class SelectingPoll(object): method __init__ (line 193) | def __init__(self): method register (line 197) | def register(self, fd, mode): method unregister (line 205) | def unregister(self, fd): method poll (line 209) | def poll(self, timeout = None): function with_metaclass (line 223) | def with_metaclass(meta, *bases): FILE: pupy/network/lib/connection.py function stream_dump (line 65) | def stream_dump(obj, version=0): function _dump_bytes_to_buffer (line 73) | def _dump_bytes_to_buffer(obj, stream, version): function _dump_buffer_to_buffer (line 97) | def _dump_buffer_to_buffer(obj, stream, version): class SyncRequestDispatchQueue (line 109) | class SyncRequestDispatchQueue(object): method __init__ (line 114) | def __init__(self): method get_queue (line 130) | def get_queue(): method _dispatch_request_worker (line 136) | def _dispatch_request_worker(self): method __call__ (line 210) | def __call__(self, on_error, func, *args): method close (line 269) | def close(self): class PupyClientCababilities (line 293) | class PupyClientCababilities(object): method __init__ (line 296) | def __init__(self, version=0): method set (line 301) | def set(self, cap): method get (line 304) | def get(self, cap): method version (line 308) | def version(self): method version (line 312) | def version(self, version): method ack (line 318) | def ack(self): class PupyConnection (line 324) | class PupyConnection(Connection): method __repr__ (line 336) | def __repr__(self): method __init__ (line 339) | def __init__(self, pupy_srv, *args, **kwargs): method _on_sync_request_exception (line 393) | def _on_sync_request_exception(self, exc): method consume (line 410) | def consume(self): method wake (line 413) | def wake(self): method activate_3to2 (line 416) | def activate_3to2(self): method is_3to2 (line 419) | def is_3to2(self): method set_pings (line 422) | def set_pings(self, ping=None, timeout=None): method _handle_ping (line 443) | def _handle_ping(self, data): method get_pings (line 451) | def get_pings(self): method sync_request (line 457) | def sync_request(self, handler, *args): method _send_control (line 540) | def _send_control(self, code, data=None, timeout=None): method _py2to3_conv (line 551) | def _py2to3_conv(self, handler, args): method _netref_factory (line 588) | def _netref_factory(self, oid, clsname, modname): method _send_request (line 605) | def _send_request(self, handler, args, nowait=None): method _async_request (line 636) | def _async_request(self, handler, args=(), callback=(lambda a, b: None)): method _dispatch_reply (line 639) | def _dispatch_reply(self, seq, raw): method _dispatch_exception (line 671) | def _dispatch_exception(self, seq, raw): method _close_rpyc (line 703) | def _close_rpyc(self, _catchall=True): method _close_chan (line 728) | def _close_chan(self, _catchall=True): method close (line 780) | def close(self, _catchall=True): method inactive (line 804) | def inactive(self): method serve (line 807) | def serve(self, timeout=None): method _init_service_with_notify (line 810) | def _init_service_with_notify(self, timeout): method init (line 850) | def init(self, timeout=60): method loop (line 857) | def loop(self): method _serve (line 900) | def _serve(self, timeout=None): method is_extended (line 972) | def is_extended(self): method _dispatch_pupy_control (line 975) | def _dispatch_pupy_control(self, code, *args): method _dispatch (line 990) | def _dispatch(self, data): method defer (line 1069) | def defer(self, command, *args): method ping (line 1073) | def ping(self, timeout=30, now=None, block=False): class PupyConnectionThread (line 1087) | class PupyConnectionThread(Thread): method __init__ (line 1088) | def __init__(self, *args, **kwargs): method run (line 1105) | def run(self): FILE: pupy/network/lib/convcompat.py function reprb (line 33) | def reprb(value): function as_native_string (line 36) | def as_native_string( function as_unicode_string (line 64) | def as_unicode_string(value, encoding=DEFAULT_MB_ENCODING, fail=True): function as_unicode_string_deep (line 92) | def as_unicode_string_deep(value, encoding=DEFAULT_MB_ENCODING, fail=True): function as_escaped_string (line 124) | def as_escaped_string(value, fail=True): function filter_strings (line 143) | def filter_strings(values): function reprb (line 151) | def reprb(value): function as_native_string (line 154) | def as_native_string( function as_unicode_string (line 188) | def as_unicode_string(value, encoding=DEFAULT_MB_ENCODING, fail=True): function as_unicode_string_deep (line 216) | def as_unicode_string_deep( function as_escaped_string (line 249) | def as_escaped_string(value, fail=True): function filter_strings (line 268) | def filter_strings(values): class ExtendedJsonEncoder (line 274) | class ExtendedJsonEncoder(json.JSONEncoder): method default (line 275) | def default(self, obj): class ExtendedJsonDecoder (line 282) | class ExtendedJsonDecoder(json.JSONDecoder): method __init__ (line 283) | def __init__(self, *args, **kwargs): method _hook (line 288) | def _hook(self, obj): function fs_as_unicode_string (line 296) | def fs_as_unicode_string(value, fail=True): function fs_as_unicode_string_deep (line 304) | def fs_as_unicode_string_deep(value): function fs_as_native_string (line 311) | def fs_as_native_string(value): function try_as_native_string (line 318) | def try_as_native_string(value, fail=True): function try_as_unicode_string (line 333) | def try_as_unicode_string(value, fail=True): function fix_exception_encoding (line 348) | def fix_exception_encoding(exc): function is_binary (line 359) | def is_binary(text): FILE: pupy/network/lib/dnsinfo.py function _parse_resolv_conf (line 16) | def _parse_resolv_conf(path='/etc/resolv.conf'): function _determine_split_char (line 70) | def _determine_split_char(entry): function _config_win32_nameservers (line 81) | def _config_win32_nameservers(nameservers): function _config_win32_search (line 89) | def _config_win32_search(searches): function _config_win32_fromkey (line 97) | def _config_win32_fromkey(_winreg, key): function _win32_is_nic_enabled (line 147) | def _win32_is_nic_enabled(_winreg, lm, guid, interface_key): function _parse_registry (line 203) | def _parse_registry(): function dnsinfo (line 288) | def dnsinfo(): FILE: pupy/network/lib/doh.py class InvalidHostName (line 49) | class InvalidHostName(Exception): class SecureDNS (line 53) | class SecureDNS(object): method available (line 59) | def available(hostname, ipv6, *expected_ips): method __init__ (line 78) | def __init__(self, url=GOOGLE, validation=False): method resolve (line 84) | def resolve(self, hostname, query_type=A): method _prepare_hostname (line 117) | def _prepare_hostname(self, hostname): method __repr__ (line 133) | def __repr__(self): FILE: pupy/network/lib/echo.py class EchoScanHTTP (line 36) | class EchoScanHTTP(object): method __init__ (line 44) | def __init__(self, timeout=10): method _add_table (line 57) | def _add_table(self, key, sock): method _del_table (line 63) | def _del_table(self, key): method on_open_port (line 67) | def on_open_port(self, info): class EchoScanTcp (line 93) | class EchoScanTcp(object): method __init__ (line 98) | def __init__(self, timeout=10): method on_open_port (line 102) | def on_open_port(self, info): function udp (line 121) | def udp(host, timeout=10, amount=10, abort=None): function tcp (line 187) | def tcp(host, timeout=10, amount=10, abort=None): class Echo (line 229) | class Echo(Thread): method __init__ (line 237) | def __init__(self, host, amount=8, on_complete=None): method abort (line 250) | def abort(self): method run (line 253) | def run(self): function echo (line 272) | def echo(host, amount, on_complete): FILE: pupy/network/lib/igd.py function str2bool (line 37) | def str2bool(bstr): function getProtoId (line 41) | def getProtoId(proto_name): class UPNPError (line 53) | class UPNPError(Exception): method __init__ (line 54) | def __init__(self, hcode, ucode, udes): method __str__ (line 64) | def __str__(self): function get_location_url (line 69) | def get_location_url(sock): class IGDClient (line 85) | class IGDClient(object): method __init__ (line 120) | def __init__( method available (line 166) | def available(self): method enableDebug (line 169) | def enableDebug(self, d=True): method enablePPrint (line 175) | def enablePPrint(self, p=True): method _getOutgoingLocalAddress (line 181) | def _getOutgoingLocalAddress(self): method _get1stTagText (line 195) | def _get1stTagText(self, xmls, tagname_list): method _parseErrMsg (line 216) | def _parseErrMsg(self, err_resp): method discovery (line 226) | def discovery(self, st=b'urn:schemas-upnp-org:device:InternetGatewayDe... method AddPortMapping (line 312) | def AddPortMapping(self, extPort, proto, intPort, enabled=1, duration=... method DeletePortMapping (line 335) | def DeletePortMapping(self, extPort, proto, remoteHost=''): method GetExternalIP (line 349) | def GetExternalIP(self): method GetGenericPortMappingEntryAll (line 363) | def GetGenericPortMappingEntryAll(self): method GetGenericPortMappingEntry (line 376) | def GetGenericPortMappingEntry(self, index=None, hideErr=False): method GetSpecificPortMappingEntry (line 399) | def GetSpecificPortMappingEntry(self, extPort, proto, remote): method GetNATRSIPStatus (line 420) | def GetNATRSIPStatus(self): method GetWarnDisconnectDelay (line 436) | def GetWarnDisconnectDelay(self): method GetIdleDisconnectTime (line 450) | def GetIdleDisconnectTime(self): method GetAutoDisconnectTime (line 464) | def GetAutoDisconnectTime(self): method GetStatusInfo (line 478) | def GetStatusInfo(self): method SetWarnDisconnectDelay (line 494) | def SetWarnDisconnectDelay(self, delay): method SetIdleDisconnectTime (line 506) | def SetIdleDisconnectTime(self, disconnect_time): method SetAutoDisconnectTime (line 518) | def SetAutoDisconnectTime(self, disconnect_time): method ForceTermination (line 530) | def ForceTermination(self): method RequestTermination (line 539) | def RequestTermination(self): method RequestConnection (line 549) | def RequestConnection(self): method GetConnectionTypeInfo (line 559) | def GetConnectionTypeInfo(self): method SetConnectionType (line 573) | def SetConnectionType(self, ctype): method customAction (line 585) | def customAction(self, method_name, in_args={}, svc='WANIPConnection'): method sendSOAP (line 610) | def sendSOAP(self, hostName, serviceType, controlURL, actionName, method GetFWStatus (line 656) | def GetFWStatus(self): method AddPinhole (line 669) | def AddPinhole( method GetPinholeTimeout (line 700) | def GetPinholeTimeout( method UpdatePinhole (line 732) | def UpdatePinhole(self, uid, lease): method DelPinhole (line 746) | def DelPinhole(self, uid): method GetPinholePkts (line 759) | def GetPinholePkts(self, uid): method CheckPinhole (line 775) | def CheckPinhole(self, uid): FILE: pupy/network/lib/launchers/__init__.py function getLogger (line 11) | def getLogger(name): FILE: pupy/network/lib/launchers/auto_proxy.py class AutoProxyLauncher (line 39) | class AutoProxyLauncher(BaseLauncher): method __init__ (line 51) | def __init__(self, *args, **kwargs): method init_argparse (line 56) | def init_argparse(cls): method parse_args (line 86) | def parse_args(self, args): method connect_to_host (line 94) | def connect_to_host(self, host_info): method iterate (line 148) | def iterate(self): FILE: pupy/network/lib/launchers/bind.py class BindLauncher (line 20) | class BindLauncher(BaseLauncher): method init_argparse (line 29) | def init_argparse(cls): method parse_args (line 37) | def parse_args(self, args): method iterate (line 40) | def iterate(self): FILE: pupy/network/lib/launchers/connect.py class ConnectLauncher (line 33) | class ConnectLauncher(BaseLauncher): method __init__ (line 43) | def __init__(self, *args, **kwargs): method init_argparse (line 49) | def init_argparse(cls): method parse_args (line 68) | def parse_args(self, args): method iterate (line 76) | def iterate(self): method connect_to_host (line 91) | def connect_to_host(self, host_info): FILE: pupy/network/lib/launchers/dnscnc.py class DNSCommandClientLauncher (line 45) | class DNSCommandClientLauncher(DnsCommandsClient): method __init__ (line 46) | def __init__(self, domain, doh=False, ns=None, qtype=None, ns_timeout=3): method on_session_established (line 64) | def on_session_established(self): method on_session_lost (line 67) | def on_session_lost(self): method on_downloadexec_content (line 70) | def on_downloadexec_content(self, url, action, content): method on_pastelink_content (line 73) | def on_pastelink_content(self, url, action, content): method _checkconnect_worker (line 129) | def _checkconnect_worker(self, host, port_start, port_end): method on_checkconnect (line 137) | def on_checkconnect(self, host, port_start, port_end): method _checkonline_worker (line 143) | def _checkonline_worker(self): method on_checkonline (line 168) | def on_checkonline(self): method on_connect (line 173) | def on_connect(self, address, port, transport, proxy, hostname=None): method on_disconnect (line 186) | def on_disconnect(self): method on_exit (line 193) | def on_exit(self): class DNSCncLauncher (line 201) | class DNSCncLauncher(BaseLauncher): method __init__ (line 212) | def __init__(self, *args, **kwargs): method parse_args (line 228) | def parse_args(self, args): method activate (line 236) | def activate(self): method init_argparse (line 249) | def init_argparse(cls): method iterate (line 282) | def iterate(self): method process (line 310) | def process(self): method connect_to_host (line 336) | def connect_to_host(self, host_info, transport, proxies): method on_connect (line 377) | def on_connect(self, command): method get_transport (line 423) | def get_transport(self): FILE: pupy/network/lib/msgtypes.py function register_named_tuple (line 36) | def register_named_tuple(code, ntype): function register_string (line 45) | def register_string(ntype, code, name): function msgpack_exthook (line 62) | def msgpack_exthook(code, data): FILE: pupy/network/lib/netcreds.py function resolve_ip (line 36) | def resolve_ip(hostname, port=0): function are_different (line 49) | def are_different(first, second): class AuthInfo (line 69) | class AuthInfo(object): method __init__ (line 76) | def __init__( method _weight (line 114) | def _weight(self, available_fields): method __eq__ (line 126) | def __eq__(self, other): method __hash__ (line 135) | def __hash__(self): method user (line 158) | def user(self): method __getattr__ (line 164) | def __getattr__(self, key): method as_dict (line 168) | def as_dict(self): method as_tuple (line 179) | def as_tuple(self): class NetCreds (line 187) | class NetCreds(object): method __init__ (line 192) | def __init__(self): method get_default_creds_manager (line 196) | def get_default_creds_manager(): method add_cred (line 202) | def add_cred( method add_uri (line 226) | def add_uri(self, uri, password=None, username=None, realm=None): method find_creds_for_uri (line 237) | def find_creds_for_uri(self, authuri, username=None, realm=None, domai... method find_creds (line 245) | def find_creds( method find_user_password (line 336) | def find_user_password(self, realm, authuri): method add_password (line 340) | def add_password(self, realm, uri, user, passwd): function add_cred (line 344) | def add_cred( function add_cred_for_uri (line 355) | def add_cred_for_uri(username, password, authuri, realm=None): function find_creds (line 360) | def find_creds( function remove_creds (line 370) | def remove_creds( function clear_creds (line 385) | def clear_creds(): function find_first_cred (line 390) | def find_first_cred( function find_all_creds (line 399) | def find_all_creds( function find_creds_for_uri (line 417) | def find_creds_for_uri(authuri, username=None, realm=None, domain=None): function export (line 423) | def export(): FILE: pupy/network/lib/ntop.py function ensure_ntop (line 6) | def ensure_ntop(): FILE: pupy/network/lib/ntplib.py class NTPException (line 44) | class NTPException(Exception): class NTP (line 48) | class NTP(object): class NTPPacket (line 122) | class NTPPacket(object): method __init__ (line 138) | def __init__(self, version=2, mode=3, tx_timestamp=0): method to_data (line 173) | def to_data(self): method from_data (line 204) | def from_data(self, data): class NTPStats (line 235) | class NTPStats(NTPPacket): method __init__ (line 244) | def __init__(self): method offset (line 251) | def offset(self): method delay (line 258) | def delay(self): method tx_time (line 265) | def tx_time(self): method recv_time (line 270) | def recv_time(self): method orig_time (line 275) | def orig_time(self): method ref_time (line 280) | def ref_time(self): method dest_time (line 285) | def dest_time(self): class NTPClient (line 290) | class NTPClient(object): method __init__ (line 295) | def __init__(self): method request (line 299) | def request(self, host, version=2, port='ntp', timeout=5): function _to_int (line 348) | def _to_int(timestamp): function _to_frac (line 360) | def _to_frac(timestamp, n=32): function _to_time (line 373) | def _to_time(integ, frac, n=32): function ntp_to_system_time (line 387) | def ntp_to_system_time(timestamp): function system_to_ntp_time (line 399) | def system_to_ntp_time(timestamp): function leap_to_text (line 411) | def leap_to_text(leap): function mode_to_text (line 429) | def mode_to_text(mode): function stratum_to_text (line 447) | def stratum_to_text(stratum): function ref_id_to_text (line 469) | def ref_id_to_text(ref_id, stratum=2): FILE: pupy/network/lib/online.py function check_transparent_proxy (line 201) | def check_transparent_proxy(): function internal_ip (line 217) | def internal_ip(check='8.8.8.8'): function external_ip (line 230) | def external_ip(force_ipv4=False): function dns_external_ip (line 292) | def dns_external_ip(): function external_headers (line 314) | def external_headers(): function online (line 329) | def online(): function ntp_time_diff (line 345) | def ntp_time_diff(): function check (line 350) | def check(): function bits_to_dict (line 539) | def bits_to_dict(data): class PortQuiz (line 567) | class PortQuiz(threading.Thread): method __init__ (line 581) | def __init__(self, amount=5, http_timeout=15, connect_timeout=10, port... method _on_open_port (line 607) | def _on_open_port(self, info): method _run (line 645) | def _run(self): method run (line 670) | def run(self): FILE: pupy/network/lib/pac.py function dprint (line 39) | def dprint(x): function _init_process_omit (line 66) | def _init_process_omit(self): function get_autoconfig_url_nt (line 87) | def get_autoconfig_url_nt(): function detect_autoconfig_url_nt (line 103) | def detect_autoconfig_url_nt(): function propose_pac_domains (line 115) | def propose_pac_domains(): function propose_pac_location (line 128) | def propose_pac_location(): function get_pac_content (line 146) | def get_pac_content(): function _refresh_pac_player (line 175) | def _refresh_pac_player(): function refresh_pac_player (line 202) | def refresh_pac_player(): function _get_proxy_for_address (line 207) | def _get_proxy_for_address(address): function get_proxy_for_address (line 221) | def get_proxy_for_address(address): function _set_proxy_unavailable (line 226) | def _set_proxy_unavailable(proto, addr): function set_proxy_unavailable (line 236) | def set_proxy_unavailable(proto, addr): class PACPlayer (line 241) | class PACPlayer(object): method __init__ (line 247) | def __init__(self, script, source): method __getitem__ (line 274) | def __getitem__(self, address): method _export_functions (line 320) | def _export_functions(self): method getHost (line 333) | def getHost(self, uri): method dnsDomainIs (line 343) | def dnsDomainIs(self, host, value): method shExpMatch (line 346) | def shExpMatch(self, host, wildcard): method dnsResolve (line 355) | def dnsResolve(self, host): method isInNet (line 371) | def isInNet(self, host, network, mask): method myIpAddress (line 380) | def myIpAddress(self): method isResolvable (line 384) | def isResolvable(self, host): method dnsDomainLevels (line 392) | def dnsDomainLevels(self, host): method isPlainHostName (line 395) | def isPlainHostName(self, host): method localHostOrDomainIs (line 398) | def localHostOrDomainIs(self, host, value): method alert (line 401) | def alert(self, *args): FILE: pupy/network/lib/picocmd/ascii85.py function ascii85EncodeDG (line 9) | def ascii85EncodeDG(indata): function ascii85DecodeDG (line 44) | def ascii85DecodeDG(indata): FILE: pupy/network/lib/picocmd/baseconv.py class BaseConverter (line 56) | class BaseConverter(object): method __init__ (line 61) | def __init__(self, digits, sign='-'): method __repr__ (line 67) | def __repr__(self): method _convert (line 70) | def _convert(self, number, from_digits, to_digits): method encode (line 93) | def encode(self, number): method decode (line 99) | def decode(self, number): FILE: pupy/network/lib/picocmd/client.py class DnsCommandsClient (line 66) | class DnsCommandsClient(Thread): method __init__ (line 67) | def __init__( method next (line 165) | def next(self): method bad_response (line 178) | def bad_response(self): method event (line 183) | def event(self, command): method _broadcast_event (line 187) | def _broadcast_event(self, eventid): method _native_resolve (line 191) | def _native_resolve(self, hostname): method _doh_resolve (line 209) | def _doh_resolve(self, hostname): method _dnslib_resolve (line 216) | def _dnslib_resolve(self, hostname): method _aaaa_page_decoder (line 263) | def _aaaa_page_decoder(self, addresses, nonce, symmetric=None): method _a_page_decoder (line 279) | def _a_page_decoder(self, addresses, nonce, symmetric=None): method _q_page_encoder (line 301) | def _q_page_encoder(self, data): method _probe_record_type (line 360) | def _probe_record_type(self): method _request (line 380) | def _request(self, *commands): method _request_unsafe (line 394) | def _request_unsafe(self, commands): method on_pastelink (line 464) | def on_pastelink(self, url, action, encoder): method on_downloadexec (line 494) | def on_downloadexec(self, url, action, use_proxy): method on_pastelink_content (line 519) | def on_pastelink_content(self, url, action, content): method on_downloadexec_content (line 522) | def on_downloadexec_content(self, url, action, content): method on_connect (line 525) | def on_connect(self, address, port, transport, proxy, hostname=None): method on_checkconnect (line 528) | def on_checkconnect(self, host, port_start, port_end): method on_checkonline (line 531) | def on_checkonline(self): method on_exit (line 534) | def on_exit(self): method on_disconnect (line 537) | def on_disconnect(self): method on_error (line 540) | def on_error(self, error, message=None): method on_session_established (line 543) | def on_session_established(self): method on_session_lost (line 546) | def on_session_lost(self): method on_set_proxy (line 549) | def on_set_proxy(self, scheme, ip, port, user, password): method process (line 568) | def process(self): method run (line 686) | def run(self): FILE: pupy/network/lib/picocmd/dns_encoder.py class Node (line 74) | class Node(object): method __init__ (line 79) | def __init__(self, value, weight): method __lt__ (line 83) | def __lt__(self, other): method __repr__ (line 90) | def __repr__(self): class Root (line 94) | class Root(object): method __init__ (line 99) | def __init__(self, A=None, B=None): method __lt__ (line 109) | def __lt__(self, other): method __repr__ (line 112) | def __repr__(self): class Huffman (line 116) | class Huffman(object): method __init__ (line 121) | def __init__(self, decoding_tree=None, decoding_table=None): method set_decoding_table (line 132) | def set_decoding_table(self, decoding_table): method _generate_table (line 140) | def _generate_table(self): method encode (line 176) | def encode(self, phrase, last=False): method decode (line 225) | def decode(self, values): method train (line 290) | def train(self, frequences): class TmpResult (line 328) | class TmpResult(object): method __init__ (line 333) | def __init__(self, encoded_tables, encoded, rest, table_id): class DnsEncoder (line 340) | class DnsEncoder(object): method __init__ (line 355) | def __init__(self, tables=None): method encode (line 373) | def encode(self, data): method decode (line 456) | def decode(self, data): class CTDictBuilder (line 684) | class CTDictBuilder(object): method __init__ (line 689) | def __init__(self, ct_stats): method _inc_tld (line 747) | def _inc_tld(self, tld): method _inc_generic (line 756) | def _inc_generic(self, generic): method _inc_term (line 769) | def _inc_term(self, term): method _inc_cdn (line 795) | def _inc_cdn(self, cdn): method _inc_freedns (line 804) | def _inc_freedns(self, freedns): method make_trees (line 813) | def make_trees(self): FILE: pupy/network/lib/picocmd/picocmd.py function unpack_ip_address (line 75) | def unpack_ip_address(packed): class PackError (line 88) | class PackError(Exception): class PayloadTooBig (line 92) | class PayloadTooBig(Exception): method __init__ (line 95) | def __init__(self, message, required_len, max_len): class UnregisteredTargetId (line 102) | class UnregisteredTargetId(PackError): class AddressTable (line 106) | class AddressTable(object): method __init__ (line 109) | def __init__(self): method get_target_id (line 113) | def get_target_id(self, address): method get_address (line 119) | def get_address(self, target_id): method _find_free_target_id (line 131) | def _find_free_target_id(self): method register (line 153) | def register(self, address, target_id=None): function from_bytes (line 162) | def from_bytes(bytes): function to_bytes (line 166) | def to_bytes(value, size=0): class EncodingTableUnregisteredElement (line 177) | class EncodingTableUnregisteredElement(KeyError): class EncodingTable (line 181) | class EncodingTable(object): method __init__ (line 184) | def __init__(self, *alphabet, **kwargs): method is_registered (line 191) | def is_registered(self, value): method encode (line 194) | def encode(self, value): method decode (line 201) | def decode(self, value): class Command (line 209) | class Command(object): method pack (line 215) | def pack(self): method unpack (line 219) | def unpack(data): method get_dict (line 222) | def get_dict(self): method __repr__ (line 227) | def __repr__(self): class Poll (line 233) | class Poll(Command): method unpack (line 237) | def unpack(data): method __repr__ (line 240) | def __repr__(self): class SystemStatus (line 244) | class SystemStatus(Command): method unpack (line 248) | def unpack(data): method __init__ (line 251) | def __init__(self, cpu=None, users=None, mem=None, listen=None, remote... method get_dict (line 331) | def get_dict(self): method pack (line 341) | def pack(self): method __repr__ (line 348) | def __repr__(self): class Ack (line 355) | class Ack(Command): method __init__ (line 358) | def __init__(self, amount=0): method pack (line 361) | def pack(self): method unpack (line 365) | def unpack(data): method __repr__ (line 368) | def __repr__(self): class Idle (line 372) | class Idle(Command): method unpack (line 376) | def unpack(data): method __repr__ (line 379) | def __repr__(self): class Sleep (line 383) | class Sleep(Command): method unpack (line 387) | def unpack(data): method pack (line 392) | def pack(self): method __init__ (line 395) | def __init__(self, timeout=30): method __repr__ (line 398) | def __repr__(self): class CheckConnect (line 402) | class CheckConnect(Command): method unpack (line 406) | def unpack(data): method __init__ (line 414) | def __init__(self, host, port_start, port_end): method pack (line 423) | def pack(self): method __repr__ (line 429) | def __repr__(self): class Reexec (line 434) | class Reexec(Command): method unpack (line 438) | def unpack(data): method __repr__ (line 441) | def __repr__(self): class Exit (line 445) | class Exit(Command): method unpack (line 449) | def unpack(data): method __repr__ (line 452) | def __repr__(self): class Disconnect (line 456) | class Disconnect(Command): method unpack (line 460) | def unpack(data): method __repr__ (line 463) | def __repr__(self): class Policy (line 467) | class Policy(Command): method __init__ (line 470) | def __init__(self, poll, kex, timestamp=None): method pack (line 475) | def pack(self): method __repr__ (line 479) | def __repr__(self): method unpack (line 483) | def unpack(data): class Kex (line 490) | class Kex(Command): method __init__ (line 493) | def __init__(self, parcel): method pack (line 496) | def pack(self): method __repr__ (line 499) | def __repr__(self): method spi (line 503) | def spi(self): method unpack (line 507) | def unpack(data): class SystemInfo (line 512) | class SystemInfo(Command): method __init__ (line 544) | def __init__( method pack (line 577) | def pack(self): method get_dict (line 586) | def get_dict(self): method __repr__ (line 596) | def __repr__(self): method unpack (line 602) | def unpack(data): class SetProxy (line 639) | class SetProxy(Command): method __init__ (line 647) | def __init__(self, scheme, ip, port, user=None, password=None): method pack (line 666) | def pack(self): method unpack (line 677) | def unpack(data): method __repr__ (line 699) | def __repr__(self): class Connect (line 715) | class Connect(Command): method __init__ (line 725) | def __init__(self, ip, port, transport='ssl'): method pack (line 736) | def pack(self): method __repr__ (line 754) | def __repr__(self): method unpack (line 760) | def unpack(data): class DownloadExec (line 777) | class DownloadExec(Command): method __init__ (line 791) | def __init__(self, url, action='pyexec', proxy=False): method pack (line 796) | def pack(self): method __repr__ (line 834) | def __repr__(self): method unpack (line 840) | def unpack(data): class PasteLink (line 856) | class PasteLink(Command): method __init__ (line 918) | def __init__(self, url, action='pyexec'): method pack (line 922) | def pack(self): method __repr__ (line 956) | def __repr__(self): method unpack (line 962) | def unpack(data): class OnlineStatus (line 976) | class OnlineStatus(Command): method unpack (line 981) | def unpack(data): method __init__ (line 985) | def __init__(self, offset=None, mintime=None, register=None): method pack (line 993) | def pack(self): method get_dict (line 996) | def get_dict(self): method __str__ (line 1027) | def __str__(self): class PortQuizPort (line 1037) | class PortQuizPort(Command): method unpack (line 1042) | def unpack(data): method __init__ (line 1047) | def __init__(self, ports): method pack (line 1050) | def pack(self): method __str__ (line 1056) | def __str__(self): class OnlineStatusRequest (line 1060) | class OnlineStatusRequest(Command): method unpack (line 1065) | def unpack(data): method __repr__ (line 1068) | def __repr__(self): class PupyState (line 1072) | class PupyState(Command): method unpack (line 1087) | def unpack(data): method pack (line 1102) | def pack(self): method __init__ (line 1123) | def __init__( method __repr__ (line 1133) | def __repr__(self): class ConnectablePort (line 1140) | class ConnectablePort(Command): method unpack (line 1145) | def unpack(data): method __init__ (line 1151) | def __init__(self, ip, ports): method pack (line 1159) | def pack(self): method __str__ (line 1165) | def __str__(self): function isset (line 1169) | def isset(flags, flag): class SystemInfoEx (line 1173) | class SystemInfoEx(Command): method _arch_to_type (line 1199) | def _arch_to_type(arch): method _initialize_from_current_system (line 1213) | def _initialize_from_current_system(self): method __init__ (line 1231) | def __init__( method pack (line 1257) | def pack(self): method _unpack_v1 (line 1307) | def _unpack_v1(data): method unpack (line 1352) | def unpack(data): method __repr__ (line 1360) | def __repr__(self): class ConnectEx (line 1369) | class ConnectEx(Command): method __init__ (line 1395) | def __init__(self, address, port, transport, fronting=None): method __repr__ (line 1421) | def __repr__(self): method pack (line 1426) | def pack(self): method unpack (line 1463) | def unpack(data): class RegisterHostnameId (line 1492) | class RegisterHostnameId(Command): method __init__ (line 1497) | def __init__(self, hid, hostname): method pack (line 1501) | def pack(self): method unpack (line 1506) | def unpack(data): method __repr__ (line 1512) | def __repr__(self): class DataTransferControl (line 1517) | class DataTransferControl(Command): method __init__ (line 1525) | def __init__(self, action, transfer_id, total_size=None, crc=None): method _action_to_text (line 1547) | def _action_to_text(self): method __repr__ (line 1559) | def __repr__(self): method pack (line 1567) | def pack(self): method unpack (line 1575) | def unpack(data): class DataTransferPayload (line 1590) | class DataTransferPayload(Command): method __init__ (line 1593) | def __init__(self, transfer_id, payload): method __repr__ (line 1603) | def __repr__(self): method pack (line 1607) | def pack(self): method unpack (line 1612) | def unpack(data): class InBandExecute (line 1618) | class InBandExecute(object): method __init__ (line 1626) | def __init__(self, method, transfer_id, output=False): method pack (line 1638) | def pack(self): method unpack (line 1645) | def unpack(data): method _method_to_text (line 1652) | def _method_to_text(self): method __repr__ (line 1662) | def __repr__(self): class Error (line 1668) | class Error(Command): method __init__ (line 1677) | def __init__(self, error, message=''): method pack (line 1681) | def pack(self): method __repr__ (line 1687) | def __repr__(self): method unpack (line 1691) | def unpack(data): class CustomEvent (line 1698) | class CustomEvent(Command): method __init__ (line 1701) | def __init__(self, eventid): method pack (line 1704) | def pack(self): method unpack (line 1708) | def unpack(data): class ParcelInvalidCrc (line 1713) | class ParcelInvalidCrc(Exception): method error (line 1718) | def error(self): class ParcelInvalidPayload (line 1722) | class ParcelInvalidPayload(Exception): method error (line 1727) | def error(self): class ParcelInvalidCommand (line 1731) | class ParcelInvalidCommand(Exception): method __init__ (line 1735) | def __init__(self, command): method __repr__ (line 1738) | def __repr__(self): class Parcel (line 1742) | class Parcel(object): method __init__ (line 1759) | def __init__(self, commands): method __iter__ (line 1773) | def __iter__(self): method __len__ (line 1776) | def __len__(self): method _gen_crc32 (line 1780) | def _gen_crc32(data, nonce): method _check_crc32 (line 1785) | def _check_crc32(data, nonce, crc): method pack (line 1789) | def pack(self, nonce, gen_csum=None): method __repr__ (line 1798) | def __repr__(self): method unpack (line 1802) | def unpack(data, nonce, check_csum=None): FILE: pupy/network/lib/picocmd/server.py function convert_node (line 79) | def convert_node(node): class DeprecatedVersion (line 86) | class DeprecatedVersion(Exception): class UnknownVersion (line 90) | class UnknownVersion(Exception): class NodeBlocked (line 94) | class NodeBlocked(Exception): class SessionDependedCommand (line 98) | class SessionDependedCommand(object): method __init__ (line 101) | def __init__(self, default, *rules): method add_to_session (line 105) | def add_to_session(self, session): class ExpirableObject (line 150) | class ExpirableObject(object): method __init__ (line 157) | def __init__(self, timeout): method expired (line 168) | def expired(self): method idle (line 172) | def idle(self): method duration (line 176) | def duration(self): method bump (line 179) | def bump(self): class Node (line 184) | class Node(ExpirableObject): method __init__ (line 191) | def __init__( method warning (line 205) | def warning(self): method warning (line 216) | def warning(self, warning): method add_command (line 220) | def add_command(self, command): method __repr__ (line 226) | def __repr__(self): class Session (line 233) | class Session(ExpirableObject): method __init__ (line 246) | def __init__(self, node, cid, spi, encoder, commands, timeout): method encoder (line 274) | def encoder(self): method add_command (line 277) | def add_command(self, command): method __repr__ (line 283) | def __repr__(self): class DnsNoCommandServerException (line 289) | class DnsNoCommandServerException(Exception): class DnsPingRequest (line 293) | class DnsPingRequest(Exception): class DnsActivationRequest (line 297) | class DnsActivationRequest(Exception): class DnsCommandServerException (line 301) | class DnsCommandServerException(Exception): method __init__ (line 305) | def __init__(self, message, nonce, version, domain): method error (line 312) | def error(self): method __str__ (line 315) | def __str__(self): method __repr__ (line 319) | def __repr__(self): function activator (line 323) | def activator(activation, key): class DnsCommandServerHandler (line 334) | class DnsCommandServerHandler(BaseResolver): method __init__ (line 338) | def __init__( method max_payload_len (line 375) | def max_payload_len(self, query_len, record_len): method cleanup (line 415) | def cleanup(self): method locked (line 441) | def locked(f): method _nodes_by_nodeids (line 448) | def _nodes_by_nodeids(self, ids): method _sessions_by_nodeids (line 454) | def _sessions_by_nodeids(self, ids): method _nodeids_with_sessions (line 460) | def _nodeids_with_sessions(self, ids): method add_command (line 467) | def add_command(self, command, session=None, default=False): method reset_commands (line 527) | def reset_commands(self, session=None, default=False): method find_nodes (line 575) | def find_nodes(self, node): method find_sessions (line 587) | def find_sessions(self, spi=None, node=None): method set_policy (line 621) | def set_policy(self, kex=True, timeout=None, interval=None, node=None): method encode_pastelink_content (line 664) | def encode_pastelink_content(self, content, version=ENCODER_V2): method on_custom_event (line 675) | def on_custom_event(self, eventid, session, node): method on_connect (line 678) | def on_connect(self, info): method on_keep_alive (line 681) | def on_keep_alive(self, info): method on_exit (line 684) | def on_exit(self, info): method on_new_session (line 687) | def on_new_session(self, session): method on_session_cleaned_up (line 690) | def on_session_cleaned_up(self, session): method on_online_status (line 693) | def on_online_status(self, session): method on_egress_ports (line 696) | def on_egress_ports(self, session): method on_pstore (line 699) | def on_pstore(self, session): method on_user_become_active (line 702) | def on_user_become_active(self, session): method on_user_become_inactive (line 705) | def on_user_become_inactive(self, session): method on_users_increment (line 708) | def on_users_increment(self, session): method on_users_decrement (line 711) | def on_users_decrement(self, session): method on_hight_resource_usage (line 714) | def on_hight_resource_usage(self, session): method encoder_from_session (line 717) | def encoder_from_session(self, session, version): method csum_from_session (line 727) | def csum_from_session(self, session, version): method _a_page_encoder (line 734) | def _a_page_encoder(self, data, encoder, nonce, qname): method _aaaa_page_encoder (line 771) | def _aaaa_page_encoder(self, data, encoder, nonce, qname): method _q_page_decoder (line 805) | def _q_page_decoder(self, data): method _new_node_from_session (line 899) | def _new_node_from_session(self, session): method _new_node_from_systeminfo (line 919) | def _new_node_from_systeminfo(self, command, sid=None): method _cmd_processor (line 936) | def _cmd_processor(self, command, session, node, csum_gen, csum_check): method resolve (line 1145) | def resolve(self, request, handler): method process (line 1168) | def process(self, qtype, qname): method _kex_is_disabled (line 1375) | def _kex_is_disabled(self, node): method _resolve (line 1378) | def _resolve(self, request, handler): class DnsCommandServer (line 1421) | class DnsCommandServer(object): method __init__ (line 1422) | def __init__(self, handler, port=5454, address='0.0.0.0'): method start (line 1452) | def start(self): method stop (line 1457) | def stop(self): FILE: pupy/network/lib/proxies.py function parse_win_proxy (line 84) | def parse_win_proxy(val): function get_win_proxies (line 101) | def get_win_proxies(): function get_python_proxies (line 140) | def get_python_proxies(): function _normalize_env_proxies (line 161) | def _normalize_env_proxies(schema, user, passwd, proxy): function parse_env_proxies (line 177) | def parse_env_proxies(var): function get_env_proxies (line 187) | def get_env_proxies(): function _try_read (line 197) | def _try_read(path): function _get_profile_files_content (line 204) | def _get_profile_files_content(): function get_profile_proxies (line 243) | def get_profile_proxies(): function gio_init (line 250) | def gio_init(): function get_gio_proxies (line 298) | def get_gio_proxies(force=True): function get_processes_proxies (line 355) | def get_processes_proxies(): function parse_proxy (line 384) | def parse_proxy(proxy_str): function get_proxies (line 417) | def get_proxies(): function _check_proxy_info (line 442) | def _check_proxy_info(proxy_info): function find_default_proxy (line 461) | def find_default_proxy(): function has_wpad (line 488) | def has_wpad(): function find_auth (line 537) | def find_auth(proxy_info): function is_proxiable (line 565) | def is_proxiable(chain, transport_info): function find_proxies (line 575) | def find_proxies(url=None, auth=True): function make_args_for_transport_info (line 607) | def make_args_for_transport_info(transport_info, host_info, chain): function _parse_proxies (line 655) | def _parse_proxies(proxies): function find_proxies_for_transport (line 664) | def find_proxies_for_transport( function _is_native_for (line 734) | def _is_native_for(proxies, transport): function connect_client_with_proxy_info (line 743) | def connect_client_with_proxy_info(transport_info, proxy_info): FILE: pupy/network/lib/rpc/core/brine.py function _dump_named_tuple (line 90) | def _dump_named_tuple(obj, stream, version): function register_named_tuple (line 103) | def register_named_tuple(code, ntype): function register (line 111) | def register(coll, key, min_version=0): function _dump_none (line 135) | def _dump_none(obj, stream, version): function _dump_notimplemeted (line 140) | def _dump_notimplemeted(obj, stream, version): function _dump_ellipsis (line 145) | def _dump_ellipsis(obj, stream, version): function _dump_bool (line 150) | def _dump_bool(obj, stream, version): function _dump_slice (line 158) | def _dump_slice(obj, stream, version): function _dump_frozenset (line 164) | def _dump_frozenset(obj, stream, version): function _dump_int (line 170) | def _dump_int(obj, stream, version): function _dump_float (line 183) | def _dump_float(obj, stream, version): function _dump_complex (line 188) | def _dump_complex(obj, stream, version): function _dump_bytes (line 194) | def _dump_bytes(obj, stream, version): function _dump_str (line 214) | def _dump_str(obj, stream, version): function _dump_immutable_dict (line 219) | def _dump_immutable_dict(obj, stream, version): function _dump_immutable_dict_keys (line 228) | def _dump_immutable_dict_keys(obj, stream, version): function _dump_str (line 238) | def _dump_str(obj, stream, version): function _dump_unicode (line 258) | def _dump_unicode(obj, stream, version): function _dump_long (line 263) | def _dump_long(obj, stream, version): function _dump_immutable_dict (line 268) | def _dump_immutable_dict(obj, stream, version): function _dump_immutable_set (line 278) | def _dump_immutable_set(obj, stream, version): function _dump_immutable_list (line 288) | def _dump_immutable_list(obj, stream, version): function _dump_tuple (line 298) | def _dump_tuple(obj, stream, version): function _undumpable (line 319) | def _undumpable(obj, stream, version): function _dump (line 325) | def _dump(obj, stream, version=0): function _load_named_tuple (line 338) | def _load_named_tuple(stream, version): function _load_immutable_dict (line 349) | def _load_immutable_dict(stream, version): function _load_immutable_set (line 360) | def _load_immutable_set(stream, version): function _load_immutable_list (line 371) | def _load_immutable_list(stream, version): function _load_none (line 382) | def _load_none(stream, version): function _load_nonimp (line 387) | def _load_nonimp(stream, version): function _load_elipsis (line 392) | def _load_elipsis(stream, version): function _load_true (line 397) | def _load_true(stream, version): function _load_false (line 402) | def _load_false(stream, version): function _load_empty_tuple (line 407) | def _load_empty_tuple(stream, version): function _load_empty_str (line 412) | def _load_empty_str(stream, version): function _load_long (line 418) | def _load_long(stream, version): function _load_long (line 423) | def _load_long(stream, version): function _load_float (line 429) | def _load_float(stream, version): function _load_complex (line 434) | def _load_complex(stream, version): function _load_str1 (line 440) | def _load_str1(stream, version): function _load_str2 (line 445) | def _load_str2(stream, version): function _load_str3 (line 450) | def _load_str3(stream, version): function _load_str4 (line 455) | def _load_str4(stream, version): function _load_str_l1 (line 460) | def _load_str_l1(stream, version): function _load_str_l4 (line 466) | def _load_str_l4(stream, version): function _load_unicode (line 472) | def _load_unicode(stream, version): function _load_tup1 (line 478) | def _load_tup1(stream, version): function _load_tup2 (line 483) | def _load_tup2(stream, version): function _load_tup3 (line 488) | def _load_tup3(stream, version): function _load_tup4 (line 496) | def _load_tup4(stream, version): function _load_tup_l1 (line 504) | def _load_tup_l1(stream, version): function _load_tup_l4 (line 510) | def _load_tup_l4(stream, version): function _load_slice (line 516) | def _load_slice(stream, version): function _load_frozenset (line 522) | def _load_frozenset(stream, version): function _load_int_l1 (line 527) | def _load_int_l1(stream, version): function _load_int_l4 (line 533) | def _load_int_l4(stream, version): function _load (line 538) | def _load(stream, version=0): function dump (line 557) | def dump(obj, version=0): function load (line 569) | def load(data, version=0): function dumpable (line 592) | def dumpable(obj, version=0, log_deep=False, copy_mutable=True): FILE: pupy/network/lib/rpc/core/channel.py class Channel (line 20) | class Channel(object): method __init__ (line 34) | def __init__(self, stream, compress = True): method close (line 40) | def close(self): method closed (line 45) | def closed(self): method fileno (line 49) | def fileno(self): method poll (line 53) | def poll(self, timeout): method recv (line 57) | def recv(self): method send (line 74) | def send(self, data): FILE: pupy/network/lib/rpc/core/netref.py class byref (line 75) | class byref(object): method __init__ (line 78) | def __init__(self, obj): function syncreq (line 82) | def syncreq(proxy, handler, *args): function asyncreq (line 101) | def asyncreq(proxy, handler, *args): class NetrefMetaclass (line 120) | class NetrefMetaclass(type): method __repr__ (line 127) | def __repr__(self): class BaseNetref (line 134) | class BaseNetref(object): method __init__ (line 156) | def __init__(self, conn, oid): method __del__ (line 162) | def __del__(self): method __getattribute__ (line 172) | def __getattribute__(self, name): method __getattr__ (line 208) | def __getattr__(self, name): method __delattr__ (line 215) | def __delattr__(self, name): method __setattr__ (line 227) | def __setattr__(self, name, value): method __dir__ (line 239) | def __dir__(self): method __hash__ (line 248) | def __hash__(self): method __iter__ (line 252) | def __iter__(self): method __cmp__ (line 258) | def __cmp__(self, other): method __repr__ (line 262) | def __repr__(self): method __str__ (line 267) | def __str__(self): method __reduce_ex__ (line 273) | def __reduce_ex__(self, proto): function _make_method (line 285) | def _make_method(name, doc): function inspect_methods (line 368) | def inspect_methods(obj): function class_factory (line 392) | def class_factory(clsname, modname, methods): FILE: pupy/network/lib/rpc/core/nowait.py class AsyncResultTimeout (line 8) | class AsyncResultTimeout(Exception): class AsyncResult (line 13) | class AsyncResult(object): method __init__ (line 20) | def __init__(self, conn): method __repr__ (line 28) | def __repr__(self): method __call__ (line 39) | def __call__(self, is_exc, obj): method wait (line 49) | def wait(self): method add_callback (line 67) | def add_callback(self, func): method set_expiry (line 80) | def set_expiry(self, timeout): method ready (line 92) | def ready(self): method error (line 101) | def error(self): method expired (line 108) | def expired(self): method value (line 116) | def value(self): FILE: pupy/network/lib/rpc/core/protocol.py class PingError (line 25) | class PingError(Exception): class Connection (line 149) | class Connection(object): method __init__ (line 171) | def __init__(self, service, channel, config={}, _lazy=False): method _init_service (line 200) | def _init_service(self): method __del__ (line 203) | def __del__(self): method __enter__ (line 206) | def __enter__(self): method __exit__ (line 209) | def __exit__(self, t, v, tb): method __repr__ (line 212) | def __repr__(self): method _cleanup (line 219) | def _cleanup(self, _anyway=True): method close (line 234) | def close(self, _catchall=True): method closed (line 250) | def closed(self): method fileno (line 254) | def fileno(self): method ping (line 258) | def ping(self, data=None, timeout=3): method _get_seq_id (line 276) | def _get_seq_id(self): method _send (line 279) | def _send(self, msg, seq, args, version): method _send_request (line 310) | def _send_request(self, seq, handler, args, version=0): method _send_reply (line 317) | def _send_reply(self, seq, obj, version=0): method _send_exception (line 323) | def _send_exception(self, seq, exctype, excval, exctb, version): method _box (line 336) | def _box(self, obj, version=0, copy_mutable=True): method _unbox (line 396) | def _unbox(self, package, version=0): method _netref_factory (line 447) | def _netref_factory(self, oid, clsname, modname): method _dispatch_request (line 462) | def _dispatch_request(self, seq, raw_args, version): method _dispatch_reply (line 484) | def _dispatch_reply(self, seq, raw, version): method _dispatch_exception (line 491) | def _dispatch_exception(self, seq, raw, version): method _recv (line 507) | def _recv(self, timeout, wait_for_lock): method _dispatch (line 522) | def _dispatch(self, data, version=0): method sync_recv_and_dispatch (line 533) | def sync_recv_and_dispatch(self, timeout, wait_for_lock): method poll (line 549) | def poll(self, timeout=0): method serve (line 557) | def serve(self, timeout=1): method serve_all (line 568) | def serve_all(self): method serve_threaded (line 582) | def serve_threaded(self, thread_count=10): method poll_all (line 609) | def poll_all(self, timeout=0): method sync_request (line 633) | def sync_request(self, handler, *args): method _async_request (line 652) | def _async_request(self, handler, args=(), callback=(lambda a, b: None)): method async_request (line 662) | def async_request(self, handler, *args, **kwargs): method root (line 679) | def root(self): method _check_attr (line 688) | def _check_attr(self, obj, name): method _access_attr (line 712) | def _access_attr(self, oid, name, args, overrider, param, default): method _handle_ping (line 734) | def _handle_ping(self, data): method _handle_close (line 737) | def _handle_close(self): method _handle_getroot (line 740) | def _handle_getroot(self): method _handle_del (line 743) | def _handle_del(self, oid, count=1): method _handle_repr (line 746) | def _handle_repr(self, oid): method _handle_str (line 749) | def _handle_str(self, oid): method _handle_cmp (line 752) | def _handle_cmp(self, oid, other): method _handle_hash (line 761) | def _handle_hash(self, oid): method _handle_call (line 764) | def _handle_call(self, oid, args, kwargs=()): method _handle_dir (line 770) | def _handle_dir(self, oid): method _handle_inspect (line 773) | def _handle_inspect(self, oid): method _handle_getattr (line 784) | def _handle_getattr(self, oid, name): method _handle_delattr (line 791) | def _handle_delattr(self, oid, name): method _handle_setattr (line 797) | def _handle_setattr(self, oid, name, value): method _handle_callattr (line 803) | def _handle_callattr(self, oid, name, args, kwargs): method _handle_pickle (line 816) | def _handle_pickle(self, oid, proto): method _handle_buffiter (line 822) | def _handle_buffiter(self, oid, count): method _handle_oldslicing (line 834) | def _handle_oldslicing(self, oid, attempt, fallback, start, stop, args): FILE: pupy/network/lib/rpc/core/service.py class Service (line 20) | class Service(object): method __init__ (line 62) | def __init__(self, conn): method on_connect (line 65) | def on_connect(self): method on_disconnect (line 69) | def on_disconnect(self): method _rpyc_delattr (line 77) | def _rpyc_delattr(self, name): method _rpyc_setattr (line 80) | def _rpyc_setattr(self, name, value): method get_service_aliases (line 84) | def get_service_aliases(cls): method get_service_name (line 94) | def get_service_name(cls): class ModuleNamespace (line 103) | class ModuleNamespace(object): method __init__ (line 111) | def __init__(self, getmodule): method __contains__ (line 115) | def __contains__(self, name): method __getitem__ (line 123) | def __getitem__(self, name): method __getattr__ (line 132) | def __getattr__(self, name): FILE: pupy/network/lib/rpc/core/stream.py class Stream (line 21) | class Stream(object): method close (line 26) | def close(self): method closed (line 31) | def closed(self): method fileno (line 35) | def fileno(self): method poll (line 39) | def poll(self, timeout): method read (line 65) | def read(self, count): method write (line 74) | def write(self, data): class ClosedFile (line 82) | class ClosedFile(object): method __getattr__ (line 87) | def __getattr__(self, name): method close (line 92) | def close(self): method closed (line 96) | def closed(self): method fileno (line 99) | def fileno(self): class SocketStream (line 105) | class SocketStream(Stream): method __init__ (line 112) | def __init__(self, sock): method _connect (line 116) | def _connect(cls, host, port, family = socket.AF_INET, socktype = sock... method closed (line 143) | def closed(self): method close (line 146) | def close(self): method fileno (line 156) | def fileno(self): method read (line 167) | def read(self, count): method write (line 188) | def write(self, data): FILE: pupy/network/lib/rpc/core/vinegar.py function dump (line 40) | def dump(typ, val, tb, include_local_traceback, version): function load (line 97) | def load( class GenericException (line 209) | class GenericException(Exception): function _get_exception_class (line 217) | def _get_exception_class(cls): FILE: pupy/network/lib/rpc/lib/__init__.py class MissingModule (line 14) | class MissingModule(object): method __init__ (line 17) | def __init__(self, name): method __getattr__ (line 20) | def __getattr__(self, name): method __bool__ (line 25) | def __bool__(self): function safe_import (line 31) | def safe_import(name): function setup_logger (line 46) | def setup_logger(quiet = False, logfile = None): function get_methods (line 57) | def get_methods(obj_attrs, obj): FILE: pupy/network/lib/rpc/lib/colls.py class WeakValueDict (line 9) | class WeakValueDict(object): method __init__ (line 14) | def __init__(self): method __repr__ (line 17) | def __repr__(self): method __iter__ (line 20) | def __iter__(self): method __len__ (line 23) | def __len__(self): method __contains__ (line 26) | def __contains__(self, key): method get (line 34) | def get(self, key, default = None): method __getitem__ (line 40) | def __getitem__(self, key): method __setitem__ (line 46) | def __setitem__(self, key, value): method __delitem__ (line 51) | def __delitem__(self, key): method iterkeys (line 54) | def iterkeys(self): method keys (line 57) | def keys(self): method itervalues (line 60) | def itervalues(self): method values (line 64) | def values(self): method iteritems (line 67) | def iteritems(self): method items (line 71) | def items(self): method clear (line 74) | def clear(self): class RefCountingColl (line 78) | class RefCountingColl(object): method __init__ (line 82) | def __init__(self): method __repr__ (line 86) | def __repr__(self): method add (line 89) | def add(self, obj): method clear (line 99) | def clear(self): method decref (line 103) | def decref(self, key, count=1): method __getitem__ (line 112) | def __getitem__(self, key): FILE: pupy/network/lib/rpc/utils/classic.py function upload (line 22) | def upload(conn, localpath, remotepath, filter = None, ignore_invalid = ... function upload_file (line 40) | def upload_file(conn, localpath, remotepath, chunk_size = 16000): function upload_dir (line 52) | def upload_dir(conn, localpath, remotepath, filter = None, chunk_size = ... function download (line 62) | def download(conn, remotepath, localpath, filter = None, ignore_invalid ... function download_file (line 81) | def download_file(conn, remotepath, localpath, chunk_size = 16000): function download_dir (line 93) | def download_dir(conn, remotepath, localpath, filter = None, chunk_size ... function upload_package (line 103) | def upload_package(conn, module, remotepath = None, chunk_size = 16000): function obtain (line 132) | def obtain(proxy): function deliver (line 146) | def deliver(conn, localobj): function redirected_stdio (line 163) | def redirected_stdio(conn): function pm (line 188) | def pm(conn): function interact (line 198) | def interact(conn, namespace = None): class MockClassicConnection (line 214) | class MockClassicConnection(object): method __init__ (line 218) | def __init__(self): method execute (line 230) | def execute(self, text): method eval (line 233) | def eval(self, text): method getmodule (line 236) | def getmodule(self, name): method getconn (line 239) | def getconn(self): function teleport_function (line 242) | def teleport_function(conn, func): FILE: pupy/network/lib/rpc/utils/helpers.py function buffiter (line 18) | def buffiter(obj, chunk = 10, max_chunk = 1000, factor = 2): function restricted (line 54) | def restricted(obj, attrs, wattrs=None): class _Async (line 99) | class _Async(object): method __init__ (line 106) | def __init__(self, proxy): method __call__ (line 109) | def __call__(self, *args, **kwargs): method __repr__ (line 112) | def __repr__(self): function nowait (line 117) | def nowait(proxy): class timed (line 177) | class timed(object): method __init__ (line 196) | def __init__(self, proxy, timeout): method __call__ (line 200) | def __call__(self, *args, **kwargs): method __repr__ (line 205) | def __repr__(self): class BgServingThread (line 209) | class BgServingThread(object): method __init__ (line 231) | def __init__(self, conn, callback=None): method __del__ (line 239) | def __del__(self): method _bg_server (line 243) | def _bg_server(self): method stop (line 255) | def stop(self): FILE: pupy/network/lib/rpc/utils/server.py class AuthenticationError (line 30) | class AuthenticationError(Exception): class Server (line 34) | class Server(object): method __init__ (line 57) | def __init__(self, service, hostname = "", ipv6 = False, port = 0, method close (line 109) | def close(self): method fileno (line 135) | def fileno(self): method accept (line 139) | def accept(self): method _accept_method (line 163) | def _accept_method(self, sock): method _authenticate_and_serve_client (line 170) | def _authenticate_and_serve_client(self, sock): method _serve_client (line 197) | def _serve_client(self, sock, credentials): method _handle_connection (line 213) | def _handle_connection(self, conn): method _bg_register (line 217) | def _bg_register(self): method start (line 245) | def start(self): class OneShotServer (line 273) | class OneShotServer(Server): method _accept_method (line 279) | def _accept_method(self, sock): class ThreadedServer (line 285) | class ThreadedServer(Server): method _accept_method (line 292) | def _accept_method(self, sock): class ThreadPoolServer (line 298) | class ThreadPoolServer(Server): method __init__ (line 312) | def __init__(self, *args, **kwargs): method close (line 348) | def close(self): method _remove_from_inactive_connection (line 361) | def _remove_from_inactive_connection(self, fd): method _drop_connection (line 370) | def _drop_connection(self, fd): method _add_inactive_connection (line 387) | def _add_inactive_connection(self, fd): method _handle_poll_result (line 391) | def _handle_poll_result(self, connlist): method _poll_inactive_clients (line 408) | def _poll_inactive_clients(self): method _serve_requests (line 425) | def _serve_requests(self, fd): method _serve_clients (line 445) | def _serve_clients(self): method _authenticate_and_build_connection (line 468) | def _authenticate_and_build_connection(self, sock): method _accept_method (line 488) | def _accept_method(self, sock): class ForkingServer (line 511) | class ForkingServer(Server): method __init__ (line 519) | def __init__(self, *args, **kwargs): method close (line 526) | def close(self): method _handle_sigchld (line 531) | def _handle_sigchld(cls, signum, unused): method _accept_method (line 542) | def _accept_method(self, sock): FILE: pupy/network/lib/scan.py function create_socket (line 74) | def create_socket(host, port): function scan (line 86) | def scan(hosts, ports, abort=None, timeout=10, portion=32, on_complete=N... function safe_scan (line 180) | def safe_scan(hosts, ports, abort=None, timeout=10, portion=32, on_compl... function scanthread (line 192) | def scanthread(hosts, ports, on_complete, **kwargs): function scanthread_parse (line 205) | def scanthread_parse(hosts, ports, on_complete, **kwargs): FILE: pupy/network/lib/servers.py class PupyTCPServer (line 32) | class PupyTCPServer(ThreadedServer): method __init__ (line 33) | def __init__(self, *args, **kwargs): method _setup_connection (line 122) | def _setup_connection(self, sock, queue): method _authenticate_and_serve_client (line 162) | def _authenticate_and_serve_client(self, sock): method close (line 206) | def close(self): class PupyUDPServer (line 219) | class PupyUDPServer(object): method __init__ (line 225) | def __init__(self, service, **kwargs): method stream_class (line 311) | def stream_class(self): method transport_class (line 315) | def transport_class(self): method listen (line 318) | def listen(self): method on_close (line 365) | def on_close(self, addr): method new (line 370) | def new(self, addr, ckcp): method start (line 410) | def start(self): method close (line 459) | def close(self): FILE: pupy/network/lib/socks.py class ProxyError (line 122) | class ProxyError(IOError): method __init__ (line 129) | def __init__(self, msg, socket_err=None): method __str__ (line 136) | def __str__(self): class GeneralProxyError (line 140) | class GeneralProxyError(ProxyError): class ProxyConnectionError (line 144) | class ProxyConnectionError(ProxyError): class SOCKS5AuthError (line 148) | class SOCKS5AuthError(ProxyError): class SOCKS5Error (line 152) | class SOCKS5Error(ProxyError): class SOCKS4Error (line 156) | class SOCKS4Error(ProxyError): class HTTPError (line 160) | class HTTPError(ProxyError): class AuthenticationRequired (line 164) | class AuthenticationRequired(ProxyError): method __init__ (line 167) | def __init__(self, methods): class AuthenticationImpossible (line 174) | class AuthenticationImpossible(EOFError): function set_default_proxy (line 201) | def set_default_proxy(proxy_type=None, addr=None, port=None, rdns=True, ... function get_default_proxy (line 214) | def get_default_proxy(): function wrap_module (line 222) | def wrap_module(module): function create_connection (line 236) | def create_connection(dest_pair, proxy_type=None, proxy_addr=None, class _BaseSocket (line 295) | class _BaseSocket(socket.socket): method __init__ (line 299) | def __init__(self, *args, **kwargs): function _makemethod (line 311) | def _makemethod(name): class socksocket (line 324) | class socksocket(_BaseSocket): method __init__ (line 341) | def __init__(self, family=socket.AF_INET, type=socket.SOCK_STREAM, pro... method _readall (line 358) | def _readall(self, file, count): method add_proxy (line 371) | def add_proxy( method set_proxy (line 404) | def set_proxy(self, *args, **kwargs): method reset_proxies (line 408) | def reset_proxies(self): method listen (line 413) | def listen(self, cnt=0): method accept (line 425) | def accept(self): method bind (line 437) | def bind(self, *pos, **kw): method sendto (line 507) | def sendto(self, bytes, *args, **kwargs): method send (line 526) | def send(self, bytes, flags=0, **kwargs): method recvfrom (line 532) | def recvfrom(self, bufsize, flags=0): method recv (line 552) | def recv(self, *pos, **kw): method recv_http_response (line 556) | def recv_http_response(self, conn): method close (line 586) | def close(self): method get_proxy_sockname (line 591) | def get_proxy_sockname(self): method get_proxy_peername (line 599) | def get_proxy_peername(self): method get_peername (line 607) | def get_peername(self): method _negotiate_SOCKS5 (line 616) | def _negotiate_SOCKS5(self, conn, dest_addr, properties): method _SOCKS5_request (line 624) | def _SOCKS5_request(self, conn, cmd, dst, properties): method _write_SOCKS5_address (line 705) | def _write_SOCKS5_address(self, conn, addr, file, properties): method _read_SOCKS5_address (line 751) | def _read_SOCKS5_address(self, file): method _negotiate_SOCKS4 (line 766) | def _negotiate_SOCKS4(self, conn, dest, properties): method _negotiate_HTTP (line 831) | def _negotiate_HTTP(self, conn, dest, properties): method _connect_first (line 982) | def _connect_first(self, conn=None, port=None): method _connect_rest (line 1013) | def _connect_rest(self, conn=None, last=None, port=None): method _connect (line 1056) | def _connect(self, conn, dest_addr): method _bind (line 1088) | def _bind(self, conn, dest_addr): method _accept (line 1118) | def _accept(self): method connect (line 1137) | def connect(self, dest_pair): method _proxy_addr (line 1189) | def _proxy_addr(self, proxy): method _setkeepalive (line 1199) | def _setkeepalive(self, conn=None): FILE: pupy/network/lib/streams/PupySocketStream.py class addGetPeer (line 45) | class addGetPeer(object): method __init__ (line 48) | def __init__(self, peer): method getPeer (line 51) | def getPeer(self): class PupyChannel (line 54) | class PupyChannel(Channel): method __init__ (line 55) | def __init__(self, *args, **kwargs): method consume (line 64) | def consume(self): method wake (line 68) | def wake(self): method recv (line 72) | def recv(self): method send (line 82) | def send(self, data): method _recv (line 89) | def _recv(self): method _send (line 144) | def _send(self, data): class PupySocketStream (line 207) | class PupySocketStream(SocketStream): method __init__ (line 208) | def __init__(self, sock, transport_class, transport_kwargs): method on_connect (line 251) | def on_connect(self): method _read (line 255) | def _read(self): method poll (line 280) | def poll(self, timeout): method sock_poll (line 286) | def sock_poll(self, timeout): method _upstream_recv (line 311) | def _upstream_recv(self): method waitfor (line 319) | def waitfor(self, count): method read (line 339) | def read(self, count): method insert (line 344) | def insert(self, data): method flush (line 348) | def flush(self): method write (line 351) | def write(self, data, notify=True): class PupyUDPSocketStream (line 374) | class PupyUDPSocketStream(object): method __init__ (line 379) | def __init__(self, sock, transport_class, transport_kwargs={}, client_... method on_connect (line 447) | def on_connect(self): method _send_packet (line 450) | def _send_packet(self, flag, data=b''): method poll (line 465) | def poll(self, timeout): method close (line 471) | def close(self): method _send (line 484) | def _send(self): method _process_buf (line 497) | def _process_buf(self, buf): method _poll_read (line 523) | def _poll_read(self, timeout=None): method read (line 555) | def read(self, count): method insert (line 572) | def insert(self, data): method flush (line 576) | def flush(self): method write (line 579) | def write(self, data, notify=True): method consume (line 594) | def consume(self): method wake (line 617) | def wake(self): FILE: pupy/network/lib/streams/PupyVirtualStream.py class PupyVirtualStream (line 20) | class PupyVirtualStream(object): method __init__ (line 35) | def __init__(self, transport_class, transport_kwargs={}, peername=None... method __repr__ (line 61) | def __repr__(self): method activate (line 66) | def activate(self, peername, on_receive): method _flush (line 89) | def _flush(self): method _check_eof (line 100) | def _check_eof(self): method poll (line 105) | def poll(self, timeout): method _poll_wait (line 109) | def _poll_wait(self, timeout=None): method submit (line 121) | def submit(self, data): method read (line 136) | def read(self, count): method insert (line 154) | def insert(self, data): method flush (line 162) | def flush(self): method write (line 168) | def write(self, data, notify=True): method close (line 186) | def close(self): FILE: pupy/network/lib/stun.py function _initialize (line 98) | def _initialize(): function gen_tran_id (line 107) | def gen_tran_id(): function stun_test (line 112) | def stun_test(sock, host, port, send_data="", count=3): function get_nat_type (line 195) | def get_nat_type(s, stun_host=None, stun_port=3478, only_ip=False, count... function get_ip_info (line 269) | def get_ip_info(stun_host=None, stun_port=3478): function get_ip (line 286) | def get_ip(stun_host=None, stun_port=3478): FILE: pupy/network/lib/tinyhttp.py function merge_dict (line 73) | def merge_dict(a, b): class OptionalPasswordManager (line 80) | class OptionalPasswordManager(object): method __init__ (line 83) | def __init__(self, username=None, password=None): method find_user_password (line 89) | def find_user_password(self, realm, authuri): method add_password (line 113) | def add_password(self, *args, **kwargs): method commit (line 116) | def commit(self): class ProxyPasswordManager (line 121) | class ProxyPasswordManager(object): method __init__ (line 126) | def __init__(self, schema=None, host=None, port=None, username=None, p... method find_user_password (line 133) | def find_user_password(self, *args, **kwargs): method add_password (line 144) | def add_password(self, *args, **kwargs): method commit (line 147) | def commit(self): class HTTPContext (line 152) | class HTTPContext(BaseHandler): method get_default (line 160) | def get_default(): method __init__ (line 166) | def __init__(self): method http_request (line 170) | def http_request(self, request): method http_response (line 180) | def http_response(self, request, response): method update_from_error (line 190) | def update_from_error(self, error): method _process (line 197) | def _process(self, host, code, headers): class NoRedirects (line 215) | class NoRedirects(HTTPErrorProcessor): method http_response (line 218) | def http_response(self, request, response): class NullConnection (line 227) | class NullConnection(http.client.HTTPConnection): method __init__ (line 230) | def __init__(self, socket, timeout, *args, **kwargs): method connect (line 235) | def connect(self): method __init__ (line 243) | def __init__(self, socket, timeout, *args, **kwargs): method connect (line 248) | def connect(self): class NullConnection (line 240) | class NullConnection(httplib.HTTPConnection): method __init__ (line 230) | def __init__(self, socket, timeout, *args, **kwargs): method connect (line 235) | def connect(self): method __init__ (line 243) | def __init__(self, socket, timeout, *args, **kwargs): method connect (line 248) | def connect(self): class NullHandler (line 252) | class NullHandler(HTTPHandler): method __init__ (line 255) | def __init__(self, table, lock): method http_open (line 260) | def http_open(self, req): class NETFile (line 268) | class NETFile(BytesIO): class UDPReaderHandler (line 272) | class UDPReaderHandler(BaseHandler): method udp_open (line 275) | def udp_open(self, req): class TCPReaderHandler (line 313) | class TCPReaderHandler(BaseHandler): method __init__ (line 316) | def __init__(self, context=None, *args, **kwargs): method do_stream_connect (line 324) | def do_stream_connect(self, req): method tls_open (line 333) | def tls_open(self, req): method tcp_open (line 340) | def tcp_open(self, req): method _get_stream_data (line 344) | def _get_stream_data(self, conn, req): class SocksiPyConnection (line 386) | class SocksiPyConnection(StreamingHTTPConnection): method __init__ (line 389) | def __init__(self, proxytype, proxyaddr, proxyport=None, rdns=True, us... method connect (line 393) | def connect(self): class SocksiPyConnectionS (line 401) | class SocksiPyConnectionS(StreamingHTTPSConnection): method __init__ (line 404) | def __init__(self, proxytype, proxyaddr, proxyport=None, rdns=True, us... method connect (line 408) | def connect(self): class SocksiPyHandler (line 425) | class SocksiPyHandler(HTTPHandler, HTTPSHandler, TCPReaderHandler): method __init__ (line 428) | def __init__(self, *args, **kwargs): method http_open (line 433) | def http_open(self, req): method https_open (line 447) | def https_open(self, req): method do_stream_connect (line 455) | def do_stream_connect(self, req): class HTTP (line 463) | class HTTP(object): method __init__ (line 470) | def __init__( method _is_local_network (line 511) | def _is_local_network(self, address): method _is_direct (line 519) | def _is_direct(self, address): method make_opener (line 529) | def make_opener(self, address, headers=None): method get (line 665) | def get( method post (line 737) | def post( FILE: pupy/network/lib/transports/cryptoutils/__init__.py function RC4 (line 32) | def RC4(key): function hmac_sha256_digest (line 35) | def hmac_sha256_digest(key, msg): function hmac_sha256_digest (line 45) | def hmac_sha256_digest(key, msg): FILE: pupy/network/lib/transports/cryptoutils/aes.py function to_byte (line 23) | def to_byte(x): function from_byte (line 26) | def from_byte(x): function to_byte (line 30) | def to_byte(x): function from_byte (line 33) | def from_byte(x): function append_PKCS7_padding (line 40) | def append_PKCS7_padding(data): function strip_PKCS7_padding (line 45) | def strip_PKCS7_padding(data): function NewAESCipher (line 68) | def NewAESCipher(aes_key, iv, mode=AES_MODE_CBC): method __init__ (line 103) | def __init__(self, aes_key, iv, mode=AES_MODE_CBC): method encrypt (line 120) | def encrypt(self, data): method decrypt (line 133) | def decrypt(self, data): class NewAESCipher (line 100) | class NewAESCipher(object): method __init__ (line 103) | def __init__(self, aes_key, iv, mode=AES_MODE_CBC): method encrypt (line 120) | def encrypt(self, data): method decrypt (line 133) | def decrypt(self, data): FILE: pupy/network/lib/transports/cryptoutils/ecpv.py function _reversed_bytes (line 13) | def _reversed_bytes(data): function _reversed_bytes (line 16) | def _reversed_bytes(data): class PubKeyCache (line 33) | class PubKeyCache(object): method __init__ (line 36) | def __init__(self, maxlen=64): method get (line 39) | def get(self, get_key): method set (line 44) | def set(self, set_key, pubkey): class ECPV (line 56) | class ECPV(object): method __init__ (line 65) | def __init__(self, curve='brainpoolP160r1', hash=None, private_key=Non... method kex_completed (line 137) | def kex_completed(self): method encryption_key (line 141) | def encryption_key(self): method decryption_key (line 145) | def decryption_key(self): method kex_reset (line 148) | def kex_reset(self): method clone (line 153) | def clone(self): method _gen_random (line 165) | def _gen_random(self): method _mgf2 (line 173) | def _mgf2(self, value, length): method generate_key (line 184) | def generate_key(self): method pack (line 196) | def pack(self, message, nonce=None): method unpack (line 227) | def unpack(self, message, nonce=None): method generate_kex_request (line 247) | def generate_kex_request(self): method process_kex_request (line 252) | def process_kex_request(self, request, nonce=None, encrypt=False, key_... method process_kex_response (line 264) | def process_kex_response(self, response, nonce=None, decrypt=False, ke... method check_csum (line 276) | def check_csum(self, message, nonce, csum, key=None): method gen_csum (line 292) | def gen_csum(self, message, nonce, key=None): method encrypt (line 308) | def encrypt(self, message, nonce, key=None): method decrypt (line 331) | def decrypt(self, message, nonce, key=None): method encode (line 359) | def encode(self, message, nonce, symmetric = False): method decode (line 364) | def decode(self, message, nonce, symmetric = False): FILE: pupy/network/lib/transports/cryptoutils/pbkdf2.py function _pseudorandom (line 62) | def _pseudorandom(x, mac): function _as_bytes (line 67) | def _as_bytes(x): function _pseudorandom (line 73) | def _pseudorandom(x, mac): function _as_bytes (line 78) | def _as_bytes(x): function pbkdf2_hex (line 84) | def pbkdf2_hex(data, salt, iterations=1000, keylen=24, hashfunc=None): function pbkdf2_bin (line 92) | def pbkdf2_bin(data, salt, iterations=1000, keylen=24, hashfunc=None): function test (line 114) | def test(): FILE: pupy/network/lib/transports/cryptoutils/rc4.py function KSA (line 30) | def KSA(key): function PRGA (line 43) | def PRGA(S): class RC4 (line 55) | class RC4(object): method __init__ (line 58) | def __init__(self, key): method encrypt (line 62) | def encrypt(self, data): method decrypt (line 65) | def decrypt(self, data): function convert_key (line 84) | def convert_key(s): FILE: pupy/network/lib/transports/cryptoutils/sha.py class SHA1 (line 20) | class SHA1(object): method new (line 24) | def new(*args): class SHA256 (line 27) | class SHA256(object): method new (line 31) | def new(*args): class SHA384 (line 34) | class SHA384(object): method new (line 38) | def new(*args): FILE: pupy/network/lib/transports/cryptoutils/xor.py class XOR (line 3) | class XOR(object): method __init__ (line 6) | def __init__(self, key, offset=0): method strxor (line 13) | def strxor(self, data): FILE: pupy/network/lib/transports/dummy.py class DummyPupyTransport (line 11) | class DummyPupyTransport(BasePupyTransport): method downstream_recv (line 14) | def downstream_recv(self, data): method upstream_recv (line 20) | def upstream_recv(self, data): FILE: pupy/network/lib/transports/ec4.py class EC4Transport (line 21) | class EC4Transport(BasePupyTransport): method __init__ (line 31) | def __init__(self, *args, **kwargs): method kex (line 53) | def kex(self, data): method downstream_recv (line 87) | def downstream_recv(self, data): method upstream_recv (line 99) | def upstream_recv(self, data): class EC4TransportServer (line 106) | class EC4TransportServer(EC4Transport): class EC4TransportClient (line 110) | class EC4TransportClient(EC4Transport): method on_connect (line 113) | def on_connect(self): FILE: pupy/network/lib/transports/ecm.py class ECMTransport (line 25) | class ECMTransport(BasePupyTransport): method __init__ (line 36) | def __init__(self, *args, **kwargs): method update_encryptor (line 63) | def update_encryptor(self): method update_decryptor (line 75) | def update_decryptor(self, vblock): method kex (line 85) | def kex(self, data): method downstream_recv (line 125) | def downstream_recv(self, data): method upstream_recv (line 163) | def upstream_recv(self, data): class ECMTransportServer (line 177) | class ECMTransportServer(ECMTransport): class ECMTransportClient (line 180) | class ECMTransportClient(ECMTransport): method on_connect (line 183) | def on_connect(self): FILE: pupy/network/lib/transports/http.py class InvalidHTTPReq (line 42) | class InvalidHTTPReq(Exception): class MalformedData (line 46) | class MalformedData(Exception): class PupyHTTPTransport (line 50) | class PupyHTTPTransport(BasePupyTransport): class PupyHTTPClient (line 57) | class PupyHTTPClient(PupyHTTPTransport): method __init__ (line 71) | def __init__(self, *args, **kwargs): method _upstream_recv (line 102) | def _upstream_recv(self, data): method upstream_recv (line 143) | def upstream_recv(self, data): method downstream_recv (line 151) | def downstream_recv(self, data): class PupyHTTPServer (line 211) | class PupyHTTPServer(PupyHTTPTransport): method __init__ (line 226) | def __init__(self, *args, **kwargs): method on_close (line 242) | def on_close(self): method poll_flusher (line 245) | def poll_flusher(self): method upstream_recv (line 271) | def upstream_recv(self, data): method http_req2data (line 305) | def http_req2data(self, s): method downstream_recv (line 340) | def downstream_recv(self, data): FILE: pupy/network/lib/transports/httpwrap.py class PupyHTTPWrapperServer (line 26) | class PupyHTTPWrapperServer(BasePupyTransport): method __init__ (line 42) | def __init__(self, *args, **kwargs): method _http_response (line 56) | def _http_response(self, code, status, headers=None, datasize=None, co... method _handle_file (line 78) | def _handle_file(self, filepath): method _handle_not_found (line 94) | def _handle_not_found(self): method _handle_http (line 97) | def _handle_http(self, data): method downstream_recv (line 157) | def downstream_recv(self, data): method upstream_recv (line 192) | def upstream_recv(self, data): FILE: pupy/network/lib/transports/obfs3/obfs3.py class Obfs3Transport (line 38) | class Obfs3Transport(BaseTransport): method __init__ (line 51) | def __init__(self, *args, **kwargs): method circuitConnected (line 88) | def circuitConnected(self): method receivedUpstream (line 107) | def receivedUpstream(self, data): method receivedDownstream (line 133) | def receivedDownstream(self, data): method _read_handshake (line 171) | def _read_handshake(self, data): method _uniform_dh_errback (line 201) | def _uniform_dh_errback(self, failure, other_pubkey): method _read_handshake_post_dh (line 213) | def _read_handshake_post_dh(self, shared_secret, data): method _scan_for_magic (line 243) | def _scan_for_magic(self, data): method _derive_crypto (line 272) | def _derive_crypto(self, pad_string): class Obfs3Client (line 279) | class Obfs3Client(Obfs3Transport): method __init__ (line 288) | def __init__(self, *args, **kwargs): class Obfs3Server (line 297) | class Obfs3Server(Obfs3Transport): method __init__ (line 306) | def __init__(self, *args, **kwargs): FILE: pupy/network/lib/transports/obfs3/obfs3_dh.py function int_to_bytes (line 13) | def int_to_bytes(lvalue, width): class UniformDH (line 17) | class UniformDH(object): method __init__ (line 54) | def __init__(self, private_key = None): method get_public (line 83) | def get_public(self): method get_secret (line 86) | def get_secret(self, their_pub_str): FILE: pupy/network/lib/transports/obfscommon/modexp.py function mpz (line 11) | def mpz(x): function powMod (line 17) | def powMod(x, y, mod): FILE: pupy/network/lib/transports/obfscommon/serialize.py function htonl (line 12) | def htonl(n): function ntohl (line 19) | def ntohl(bs): function htons (line 26) | def htons(n): function ntohs (line 33) | def ntohs(bs): function asbyte (line 40) | def asbyte(ival): function frombyte (line 44) | def frombyte(bval): FILE: pupy/network/lib/transports/rsa_aes.py class RSA_AESTransport (line 32) | class RSA_AESTransport(BasePupyTransport): method __init__ (line 49) | def __init__(self, *args, **kwargs): method upstream_recv (line 67) | def upstream_recv(self, data): method downstream_recv (line 90) | def downstream_recv(self, data): class RSA_AESClient (line 180) | class RSA_AESClient(RSA_AESTransport): method __init__ (line 188) | def __init__(self, *args, **kwargs): method on_connect (line 202) | def on_connect(self): class RSA_AESServer (line 214) | class RSA_AESServer(RSA_AESTransport): method __init__ (line 223) | def __init__(self, *args, **kwargs): method downstream_recv (line 245) | def downstream_recv(self, data): method upstream_recv (line 280) | def upstream_recv(self, data): FILE: pupy/network/lib/transports/utils.py function delayer_func (line 15) | def delayer_func(delay, cb, args, kwargs): function call_later (line 20) | def call_later(delay, callable, *args, **kw): FILE: pupy/network/lib/transports/websocket.py function dprint (line 37) | def dprint(*args): class InvalidHTTPReq (line 73) | class InvalidHTTPReq(Exception): function add_ws_encapsulation (line 77) | def add_ws_encapsulation(data, output, mask=None, opcode=OPCODE_BINARY): function remove_ws_encapsulation (line 101) | def remove_ws_encapsulation(data, output, buf, offset, remainder, mask=N... function gen_random_key (line 188) | def gen_random_key(size=16): function gen_random_key (line 191) | def gen_random_key(size=16): class PupyWebSocketTransport (line 194) | class PupyWebSocketTransport(BasePupyTransport): class PupyWebSocketClient (line 201) | class PupyWebSocketClient(PupyWebSocketTransport): method __init__ (line 210) | def __init__(self, *args, **kwargs): method on_connect (line 242) | def on_connect(self): method upstream_recv (line 274) | def upstream_recv(self, data): method downstream_recv (line 291) | def downstream_recv(self, data): class PupyWebSocketServer (line 344) | class PupyWebSocketServer(PupyWebSocketTransport): method __init__ (line 350) | def __init__(self, *args, **kwargs): method calculate_response_key (line 365) | def calculate_response_key(self, key): method bad_request (line 370) | def bad_request(self, msg): method upstream_recv (line 376) | def upstream_recv(self, data): method downstream_recv (line 391) | def downstream_recv(self, data): FILE: pupy/network/lib/utils.py class TransportException (line 41) | class TransportException(Exception): function error (line 45) | def error(message, exit=True): function parse_transports_args (line 52) | def parse_transports_args(args, exit=True): function parse_host (line 72) | def parse_host(host, default_port=443, hostname=None): function create_client_transport_info_for_addr (line 88) | def create_client_transport_info_for_addr( FILE: pupy/network/transports/__init__.py class TransportException (line 19) | class TransportException(Exception): class Transport (line 103) | class Transport(object): method __init__ (line 119) | def __init__(self, bind_payload=False): method parse_args (line 127) | def parse_args(self, args): FILE: pupy/network/transports/dfws/conf.py class TransportConf (line 20) | class TransportConf(Transport): method __init__ (line 31) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/ec4/conf.py class TransportConf (line 10) | class TransportConf(Transport): method __init__ (line 20) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/ecm/conf.py class TransportConf (line 10) | class TransportConf(Transport): method __init__ (line 22) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/http/conf.py class TransportConf (line 15) | class TransportConf(Transport): method __init__ (line 24) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/kc4/conf.py class TransportConf (line 10) | class TransportConf(Transport): method __init__ (line 21) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/obfs3/conf.py class TransportConf (line 15) | class TransportConf(Transport): method __init__ (line 23) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/rsa/conf.py class TransportConf (line 13) | class TransportConf(Transport): method __init__ (line 21) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/ssl/conf.py class PupySSLAuthenticator (line 20) | class PupySSLAuthenticator(object): method __init__ (line 21) | def __init__(self, role, keystr, certstr, castr, client_cert_required=... method __call__ (line 32) | def __call__(self, sock): function ssl_authenticator (line 80) | def ssl_authenticator(): class TransportConf (line 113) | class TransportConf(Transport): method authenticator (line 127) | def authenticator(self): FILE: pupy/network/transports/ssl_rsa/conf.py class DummySSLAuthenticator (line 18) | class DummySSLAuthenticator(object): method __init__ (line 19) | def __init__(self, role, keystr, certstr, castr, server_side=False): method __call__ (line 28) | def __call__(self, sock): function ssl_authenticator (line 66) | def ssl_authenticator(): class TransportConf (line 92) | class TransportConf(Transport): method authenticator (line 107) | def authenticator(self): method __init__ (line 110) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/tcp_cleartext/conf.py class TransportConf (line 13) | class TransportConf(Transport): FILE: pupy/network/transports/udp_cleartext/conf.py class TransportConf (line 13) | class TransportConf(Transport): FILE: pupy/network/transports/udp_secure/conf.py class TransportConf (line 13) | class TransportConf(Transport): method __init__ (line 24) | def __init__(self, *args, **kwargs): FILE: pupy/network/transports/ws/conf.py class TransportConf (line 20) | class TransportConf(Transport): method __init__ (line 29) | def __init__(self, *args, **kwargs): FILE: pupy/packages/all/ad.py function find_creds (line 66) | def find_creds(*args, **kwargs): function _add_exception_to_history (line 85) | def _add_exception_to_history(self, exc): class SdFlags (line 126) | class SdFlags(Sequence): function build_sd_control (line 130) | def build_sd_control(sdflags=0x05): class ADException (line 136) | class ADException(Exception): method __init__ (line 143) | def __init__(self, description=None, replace=False): method __str__ (line 153) | def __str__(self): class NoContext (line 157) | class NoContext(ADException): class AutodiscoveryFailed (line 162) | class AutodiscoveryFailed(ADException): class AutodiscoveryNotAvailable (line 169) | class AutodiscoveryNotAvailable(AutodiscoveryFailed): class AutodiscoveryNoDnsServersFound (line 175) | class AutodiscoveryNoDnsServersFound(AutodiscoveryFailed): class AuthenticationError (line 181) | class AuthenticationError(ADException): class BindError (line 186) | class BindError(AuthenticationError): class NoCredentials (line 190) | class NoCredentials(AuthenticationError): class BindErrorMulti (line 194) | class BindErrorMulti(BindError): method __init__ (line 197) | def __init__(self, childs): class CredentialsError (line 202) | class CredentialsError(BindError): class CommunicationError (line 206) | class CommunicationError(ADException): class CommunicationErrorDiscovered (line 211) | class CommunicationErrorDiscovered(CommunicationError): method __init__ (line 214) | def __init__(self, childs): class CommunicationErrorNoDiscovered (line 229) | class CommunicationErrorNoDiscovered(CommunicationError): class LDAPContext (line 233) | class LDAPContext(object): method __init__ (line 238) | def __init__(self, server, connection, root): class LDAPRequest (line 244) | class LDAPRequest(object): method __init__ (line 250) | def __init__( method _get_result (line 261) | def _get_result(self, result): method filter (line 274) | def filter(self, custom_filter, kwargs): method __call__ (line 287) | def __call__(self, ctx, custom_filter=None, minimal=False, **kwargs): class LDAPLargeRequest (line 304) | class LDAPLargeRequest(LDAPRequest): method __call__ (line 307) | def __call__( function as_tuple_deep (line 422) | def as_tuple_deep(obj): class ADLdapServer (line 452) | class ADLdapServer(object): method __init__ (line 457) | def __init__(self, address, port, priority): method __le__ (line 466) | def __le__(self, other): method __cmp__ (line 469) | def __cmp__(self, other): method __repr__ (line 472) | def __repr__(self): class ADCtx (line 478) | class ADCtx(object): method _bootstrap_ns (line 499) | def _bootstrap_ns(self, timeout=1, first=True, on_data=None): method _select_fastest_ns (line 562) | def _select_fastest_ns(self, on_data=None): method _broken_ns (line 582) | def _broken_ns(self, ns): method _resolve (line 588) | def _resolve(self, address, qtype): method _autodiscovery (line 645) | def _autodiscovery(self, method _try_connect_exact (line 732) | def _try_connect_exact( method _connect (line 825) | def _connect(self, server=None, timeout=None): method _try_connect_multi (line 842) | def _try_connect_multi( method ldap_server (line 878) | def ldap_server(self): method name_server (line 882) | def name_server(self): method __init__ (line 885) | def __init__( method interrupt (line 1025) | def interrupt(self): method dump (line 1028) | def dump(self, on_data, on_completed, interrupt, method childs (line 1074) | def childs(self): method info (line 1095) | def info(self): method search (line 1118) | def search(self, filter, attributes, base, root, function _get_realm (line 1161) | def _get_realm(realm, on_data=None): function _get_cached_ctx (line 1190) | def _get_cached_ctx(realm, global_catalog=False, on_data=None): function _get_ctx (line 1200) | def _get_ctx( function _dump (line 1300) | def _dump(ctx, interrupt, on_data, on_completed, filter, minimal): function _bind (line 1322) | def _bind( function bind (line 1356) | def bind( function unbind (line 1376) | def unbind(realm, global_catalog=False): function dump (line 1387) | def dump(on_data, on_completed, realm, global_catalog=False, function search (line 1407) | def search(realm, global_catalog, term, function childs (line 1467) | def childs(realm, global_catalog): function info (line 1475) | def info(realm, global_catalog): function bounded (line 1483) | def bounded(): FILE: pupy/packages/all/cloudinfo.py function _probe (line 23) | def _probe(): function get (line 53) | def get(path, root=None, headers=None, code=200): function metadir (line 80) | def metadir(path): function isint (line 89) | def isint(x): function valueconv (line 97) | def valueconv(x): function as_dict (line 131) | def as_dict(path=''): function metadata (line 162) | def metadata(): FILE: pupy/packages/all/fsutils.py function _has_xattrs (line 21) | def _has_xattrs(filepath): function linux_has_xattrs (line 32) | def linux_has_xattrs(filepath): class NoUidGidMapping (line 41) | class NoUidGidMapping(Exception): class NoSuchUser (line 45) | class NoSuchUser(NoUidGidMapping): class NoSuchGroup (line 49) | class NoSuchGroup(NoUidGidMapping): function username_to_uid (line 57) | def username_to_uid(username): function groupname_to_gid (line 65) | def groupname_to_gid(groupname): function uidgid (line 73) | def uidgid(filepath, item, as_text=True): function uidgid (line 98) | def uidgid(filepath, item): function username_to_uid (line 101) | def username_to_uid(username): function groupname_to_gid (line 104) | def groupname_to_gid(groupname): FILE: pupy/packages/all/gssapi.py class OID (line 35) | class OID(object): method mech_from_string (line 39) | def mech_from_string(mech): class ExtPassword (line 50) | class ExtPassword(tuple): method username (line 52) | def username(self): method password (line 56) | def password(self): method __str__ (line 59) | def __str__(self): class GSSAPIAdapterException (line 69) | class GSSAPIAdapterException(Exception): class RequirementFlag (line 73) | class RequirementFlag(object): class exceptions (line 80) | class exceptions(object): class raw (line 86) | class raw(object): class NameType (line 90) | class NameType(object): class MechType (line 94) | class MechType(object): class WrappedToken (line 99) | class WrappedToken(object): method __init__ (line 102) | def __init__(self, message): function Name (line 106) | def Name(name, *args, **kwargs): class Credentials (line 110) | class Credentials(object): method __init__ (line 115) | def __init__(self, name=None, usage=None, password=None): method __repr__ (line 127) | def __repr__(self): class Context (line 133) | class Context(object): method __init__ (line 139) | def __init__(self, name=None, mech=None, creds=None, flags=0, usage=No... method __repr__ (line 154) | def __repr__(self): method init (line 159) | def init(self): method established (line 207) | def established(self): method step (line 210) | def step(self, in_token): method wrap (line 226) | def wrap(self, data, protect=None): method unwrap (line 240) | def unwrap(self, data): method sign (line 252) | def sign(self, sid): method verify_mic (line 257) | def verify_mic(self, sid, token): class SecurityContext (line 263) | class SecurityContext(Context): function InitContext (line 267) | def InitContext(peer_name=None, mech_type=None, req_flags=None): FILE: pupy/packages/all/hwuuid.py function get_hw_uuid (line 13) | def get_hw_uuid(): FILE: pupy/packages/all/interactive_shell.py function write_output (line 32) | def write_output(out, queue): function flush_loop (line 40) | def flush_loop(queue, encoding): function interactive_open (line 67) | def interactive_open(program=None, encoding=None): FILE: pupy/packages/all/loot_memory.py function start (line 22) | def start(poll=20): function dump (line 35) | def dump(): function stop (line 40) | def stop(): class PwdMon (line 47) | class PwdMon(pupy.Task): method __init__ (line 48) | def __init__(self, manager, poll=60): method dump_browser_passwords (line 91) | def dump_browser_passwords(self): method task (line 124) | def task(self): FILE: pupy/packages/all/memstrings.py function try_int (line 13) | def try_int(x): function iterate_strings (line 19) | def iterate_strings(targets, regex=None, min_length=4, max_length=51, om... FILE: pupy/packages/all/mic_recorder.py function record_iter (line 16) | def record_iter(total=10, chunk=5): FILE: pupy/packages/all/nbnsspoof.py function pack_ip (line 23) | def pack_ip(addr): function unpack_ip (line 27) | def unpack_ip(bin): function config_nbns (line 33) | def config_nbns(ip, mac_addr, regexp, verbose=True, interface=None): function start_nbnsspoof (line 90) | def start_nbnsspoof(ip, mac_addr, timeout=600, verbose=True, interface=N... FILE: pupy/packages/all/netmon.py class NetMon (line 18) | class NetMon(pupy.Task): method __init__ (line 28) | def __init__(self, *args, **kwargs): method _update (line 39) | def _update(self, connections): method task (line 179) | def task(self): function netmon_start (line 186) | def netmon_start(event_id=None): function netmon_dump (line 194) | def netmon_dump(): function netmon_stop (line 201) | def netmon_stop(): FILE: pupy/packages/all/odbc.py function register_driver (line 24) | def register_driver(name, description, library): function register_driver (line 39) | def register_driver(name, library): function _get (line 56) | def _get(alias): function as_cursor (line 69) | def as_cursor(cleanup=True): function bind (line 128) | def bind(alias, connstring, encoding=False): function unbind (line 144) | def unbind(alias): function _convval (line 153) | def _convval(value): function _sql_throw (line 160) | def _sql_throw(cursor, on_data, completion, limit, portion): function _sql (line 217) | def _sql(cursor, on_data, completion, limit, portion=4096): function tables (line 228) | def tables(cursor): function describe (line 251) | def describe(cursor, table): function many (line 260) | def many(cursor, query, limit, on_data): function one (line 284) | def one(cursor, query): function bounded (line 289) | def bounded(): function drivers (line 296) | def drivers(): function need_impl (line 305) | def need_impl(): FILE: pupy/packages/all/png.py function bmp_to_png (line 21) | def bmp_to_png(data, width, height, compression=9, reverse=False): FILE: pupy/packages/all/pupyps.py function iteritems (line 52) | def iteritems(value): function psutil_str (line 55) | def psutil_str(value): function iteritems (line 59) | def iteritems(value): function psutil_str (line 62) | def psutil_str(value): function make_known_fields (line 84) | def make_known_fields(): function terminal (line 119) | def terminal(self): function set_relations (line 129) | def set_relations(infos): function _psutil_simplify (line 145) | def _psutil_simplify(obj): function _psiter (line 152) | def _psiter(obj): function _is_iterable (line 176) | def _is_iterable(obj): function safe_as_dict (line 180) | def safe_as_dict(p, data): function psinfo (line 203) | def psinfo(pids): function pstree (line 244) | def pstree(): function users (line 291) | def users(): function connections (line 362) | def connections(): function _tryint (line 390) | def _tryint(x): function interfaces (line 397) | def interfaces(): function drives (line 428) | def drives(): function cstring (line 459) | def cstring(string): function convrecord (line 463) | def convrecord(item): function wtmp (line 467) | def wtmp(input='/var/log/wtmp'): function lastlog (line 557) | def lastlog(log='/var/log/lastlog'): function get_win_services (line 589) | def get_win_services(): FILE: pupy/packages/all/pupyutils/basic_cmds.py function file_timestamp (line 70) | def file_timestamp(entry): class FakeStat (line 78) | class FakeStat(object): function safe_stat (line 86) | def safe_stat(path): function safe_listdir (line 101) | def safe_listdir(path): function mode_to_letter (line 109) | def mode_to_letter(mode): function special_to_letter (line 126) | def special_to_letter(mode): function _stat_to_ls_struct (line 148) | def _stat_to_ls_struct(path, name, _stat, resolve_uidgid=False): function _invalid_ls_struct (line 178) | def _invalid_ls_struct(path, name): function list_file (line 192) | def list_file(path, resolve_uidgid=False): function list_tar (line 206) | def list_tar(path, max_files=None): function list_zip (line 250) | def list_zip(path, max_files=None): function list_dir (line 281) | def list_dir(path, max_files=None, resolve_uidgid=False): function _complete (line 326) | def _complete(cwd, path, limit=32, dirs=None): function complete (line 364) | def complete(path, limit=32, dirs=None): function safe_is_zipfile (line 387) | def safe_is_zipfile(filepath): function safe_is_tarfile (line 394) | def safe_is_tarfile(filepath): function env (line 401) | def env(*args): function ls (line 428) | def ls( function cd (line 508) | def cd(path=None): function mkdir (line 535) | def mkdir(directory): function cp (line 550) | def cp(src, dst): function mv (line 591) | def mv(src, dst): function rm (line 627) | def rm(path): function _cat (line 658) | def _cat(data, dups, fin, N, n, grep, encoding=None, filter_out=False): function cat (line 752) | def cat(path, N, n, grep, encoding=None, filter_out=False): function tail (line 783) | def tail(f, n, grep, filter_out=False, decoded=True): function fgetcontent (line 868) | def fgetcontent(path, max_size=1*1024*1024): function fputcontent (line 881) | def fputcontent(path, content, append=False): function now (line 908) | def now(): function getuid (line 914) | def getuid(): function dlstat (line 920) | def dlstat(path): function dstatvfs (line 934) | def dstatvfs(path): FILE: pupy/packages/all/pupyutils/dns.py function getIP (line 8) | def getIP(domain): function getIPx (line 18) | def getIPx(domain): function getHost (line 29) | def getHost(ip): function getAlias (line 39) | def getAlias(domain): function launch_dns_ip_resolver (line 50) | def launch_dns_ip_resolver(ip_or_domain): function launch_reverse_ip_resolver (line 62) | def launch_reverse_ip_resolver(ip): FILE: pupy/packages/all/pupyutils/netcreds.py function netcreds_start (line 60) | def netcreds_start(interface=None, filterip=None, listWinInterfaces=False): function netcreds_dump (line 73) | def netcreds_dump(): function netcreds_stop (line 78) | def netcreds_stop(): class Netcreds (line 86) | class Netcreds(pupy.Task): method __init__ (line 87) | def __init__(self, interface=None, filterip=None, *args, **kwargs): method task (line 92) | def task(self): method list_interfaces_windows (line 112) | def list_interfaces_windows(self): method iface_finder (line 124) | def iface_finder(self): method frag_remover (line 131) | def frag_remover(self, ack, load): method frag_joiner (line 163) | def frag_joiner(self, ack, src_ip_port, load): method pkt_parser (line 177) | def pkt_parser(self, pkt): method telnet_logins (line 247) | def telnet_logins(self, src_ip_port, dst_ip_port, load, ack, seq): method ParseMSKerbv5TCP (line 286) | def ParseMSKerbv5TCP(self, Data): method ParseMSKerbv5UDP (line 334) | def ParseMSKerbv5UDP(self, Data): method Decode_Ip_Packet (line 385) | def Decode_Ip_Packet(self, s): method double_line_checker (line 397) | def double_line_checker(self, full_load, count_str): method parse_ftp (line 408) | def parse_ftp(self, full_load, dst_ip_port): method mail_decode (line 438) | def mail_decode(self, src_ip_port, dst_ip_port, mail_creds): method mail_logins (line 454) | def mail_logins(self, full_load, src_ip_port, dst_ip_port, ack, seq): method irc_logins (line 585) | def irc_logins(self, full_load, pkt): method other_parser (line 602) | def other_parser(self, src_ip_port, dst_ip_port, full_load, ack, seq, ... method get_http_searches (line 696) | def get_http_searches(self, http_url_req, body, host): method parse_basic_auth (line 726) | def parse_basic_auth(self, src_ip_port, dst_ip_port, headers, authoriz... method parse_netntlm (line 743) | def parse_netntlm(self, authenticate_header, authorization_header, hea... method parse_snmp (line 759) | def parse_snmp(self, src_ip_port, dst_ip_port, snmp_layer): method get_http_url (line 769) | def get_http_url(self, method, host, path, headers): method headers_to_dict (line 785) | def headers_to_dict(self, header_lines): method parse_http_line (line 801) | def parse_http_line(self, http_line, http_methods): method parse_http_load (line 825) | def parse_http_load(self, full_load, http_methods): method get_http_line (line 847) | def get_http_line(self, header_lines, http_methods): method parse_netntlm_chal (line 859) | def parse_netntlm_chal(self, headers, chal_header, ack): method parse_ntlm_chal (line 875) | def parse_ntlm_chal(self, msg2, ack): method parse_netntlm_resp_msg (line 893) | def parse_netntlm_resp_msg(self, headers, resp_header, seq): method parse_ntlm_resp (line 911) | def parse_ntlm_resp(self, msg3, seq): method url_filter (line 938) | def url_filter(self, http_url_req): method get_login_pass (line 949) | def get_login_pass(self, body): method printer (line 978) | def printer(self, src_ip_port, dst_ip_port, msg): FILE: pupy/packages/all/pupyutils/portfwd.py class RemotePortFwdRequestHandler (line 10) | class RemotePortFwdRequestHandler(SocketServer.BaseRequestHandler): method handle (line 11) | def handle(self): class RemotePortFwdServer (line 15) | class RemotePortFwdServer(SocketServer.TCPServer): method __init__ (line 18) | def __init__(self, server_address, bind_and_activate=True, callback=No... method start_serve (line 22) | def start_serve(self): class ThreadedRemotePortFwdServer (line 28) | class ThreadedRemotePortFwdServer(SocketServer.ThreadingMixIn, RemotePor... method __str__ (line 29) | def __str__(self): FILE: pupy/packages/all/pupyutils/psexec.py class PsExecException (line 72) | class PsExecException(Exception): method as_unicode (line 73) | def as_unicode(self, codepage=None): function generate_stager_cmd (line 205) | def generate_stager_cmd(size=1024): function generate_loader_payload (line 213) | def generate_loader_payload(size): function generate_stdo_payload (line 221) | def generate_stdo_payload(arg0, argv): class ConnectionInfo (line 231) | class ConnectionInfo(object): method __init__ (line 239) | def __init__( method __str__ (line 288) | def __str__(self): method cached (line 303) | def cached(self): method kerberos (line 307) | def kerberos(self): method ntlm (line 311) | def ntlm(self): method credentials (line 315) | def credentials(self): method close (line 324) | def close(self): method __enter__ (line 353) | def __enter__(self): method __exit__ (line 356) | def __exit__(self, *args): method _cache_key_entry (line 359) | def _cache_key_entry(self): method create_wbem (line 366) | def create_wbem(self, namespace='//./root/cimv2', rpc_auth_level=None): method create_pipe_dce_rpc (line 414) | def create_pipe_dce_rpc(self, pipe, dialect=None): method create_smb_connection (line 453) | def create_smb_connection(self, force=False): class SMBPipeObject (line 513) | class SMBPipeObject(object): method __init__ (line 516) | def __init__(self, conn, tid, fid): method write (line 521) | def write(self, data, wait=True): method read (line 530) | def read(self, amount=None): class FileTransfer (line 542) | class FileTransfer(object): method __init__ (line 547) | def __init__(self, conn, cached=False): method error (line 553) | def error(self): method ok (line 570) | def ok(self): method info (line 574) | def info(self): method shares (line 577) | def shares(self): method open_pipe (line 592) | def open_pipe(self, path, mode, timeout=600, shareMode=0): method ls (line 620) | def ls(self, share, path): method rm (line 645) | def rm(self, share, path): method mkdir (line 653) | def mkdir(self, share, path): method rmdir (line 661) | def rmdir(self, share, path): method get (line 669) | def get(self, share, remote, local): method put (line 692) | def put(self, local, share, remote): method push_to_pipe (line 720) | def push_to_pipe(self, pipe, data, timeout=90): method close (line 728) | def close(self): class ShellServiceAlreadyExists (line 733) | class ShellServiceAlreadyExists(Exception): class ShellServiceIsNotExists (line 737) | class ShellServiceIsNotExists(Exception): class ShellService (line 741) | class ShellService(object): method __init__ (line 746) | def __init__(self, rpc, name=SERVICE_NAME): method create (line 772) | def create(self, command): method start (line 796) | def start(self): method status (line 809) | def status(self): method command (line 817) | def command(self): method handle (line 821) | def handle(self): method name (line 825) | def name(self): method exists (line 829) | def exists(self): method active (line 833) | def active(self): method stopped (line 837) | def stopped(self): method destroy (line 840) | def destroy(self): function create_filetransfer (line 864) | def create_filetransfer(*args, **kwargs): function sc (line 877) | def sc(conninfo, command, output=True, on_data=None, on_exec=None): function wmiexec (line 1049) | def wmiexec(conninfo, command, output=True, on_data=None, on_exec=None): function wql (line 1142) | def wql( function check (line 1191) | def check(host, port, user, domain, password, ntlm, timeout=30): function _psexec (line 1205) | def _psexec( function psexec (line 1263) | def psexec( function get_cache (line 1287) | def get_cache(): function clear_session_caches (line 1298) | def clear_session_caches(): function set_use_cache (line 1320) | def set_use_cache(use_cache): function pupy_smb_exec (line 1328) | def pupy_smb_exec( FILE: pupy/packages/all/pupyutils/rdp_check.py class TPKT (line 63) | class TPKT(Structure): class TPDU (line 72) | class TPDU(Structure): method __init__ (line 79) | def __init__(self, data = None): class CR_TPDU (line 83) | class CR_TPDU(Structure): class DATA_TPDU (line 93) | class DATA_TPDU(Structure): method __init__ (line 99) | def __init__(self, data = None): class RDP_NEG_REQ (line 104) | class RDP_NEG_REQ(CR_TPDU): method __init__ (line 109) | def __init__(self,data=None): class RDP_NEG_RSP (line 114) | class RDP_NEG_RSP(CR_TPDU): class RDP_NEG_FAILURE (line 119) | class RDP_NEG_FAILURE(CR_TPDU): class TSPasswordCreds (line 124) | class TSPasswordCreds(GSSAPI): method __init__ (line 130) | def __init__(self, data=None): method getData (line 134) | def getData(self): class TSCredentials (line 153) | class TSCredentials(GSSAPI): method __init__ (line 158) | def __init__(self, data=None): method getData (line 162) | def getData(self): class TSRequest (line 179) | class TSRequest(GSSAPI): method __init__ (line 191) | def __init__(self, data=None): method fromString (line 195) | def fromString(self, data = None): method getData (line 262) | def getData(self): class SPNEGOCipher (line 316) | class SPNEGOCipher: method __init__ (line 317) | def __init__(self, flags, randomSessionKey): method encrypt (line 340) | def encrypt(self, plain_data): method decrypt (line 366) | def decrypt(self, answer): function check_rdp_socket (line 392) | def check_rdp_socket(s, username, password, domain, hashes=None): function check_rdp (line 596) | def check_rdp(targets, username, password, domain, hashes, on_complete=N... FILE: pupy/packages/all/pupyutils/rreg.py function ENCODED_STRING__setitem__ (line 173) | def ENCODED_STRING__setitem__(self, key, value): function value_to_bytes (line 186) | def value_to_bytes(value, ktype): function as_str (line 215) | def as_str(value): function as_str (line 221) | def as_str(value): class RRegError (line 230) | class RRegError(ValueError): function raise_on_error (line 234) | def raise_on_error(result): class KeyIter (line 239) | class KeyIter(object): method __init__ (line 246) | def __init__(self, orig_name, key, sub, handle): method __iter__ (line 255) | def __iter__(self): class Value (line 286) | class Value(object): method __init__ (line 289) | def __init__(self, parent, name, value, ktype): method __repr__ (line 295) | def __repr__(self): class Key (line 304) | class Key(object): method __init__ (line 309) | def __init__(self, handle, key): method name (line 336) | def name(self): method parent (line 340) | def parent(self): method _query_value (line 343) | def _query_value(self, attr): method __iter__ (line 366) | def __iter__(self): method __str__ (line 370) | def __str__(self): method __unicode__ (line 373) | def __unicode__(self): method __repr__ (line 376) | def __repr__(self): method __int__ (line 379) | def __int__(self): method __delitem__ (line 382) | def __delitem__(self, attr): method __getitem__ (line 390) | def __getitem__(self, attr): method __setitem__ (line 393) | def __setitem__(self, attr, value): function __search (line 413) | def __search( function _search (line 554) | def _search( function search (line 571) | def search( function enum (line 610) | def enum( function set (line 646) | def set( function get (line 677) | def get( function rm (line 697) | def rm( FILE: pupy/packages/all/pupyutils/safepopen.py function read_pipe (line 29) | def read_pipe(queue, pipe, bufsize): function prepare (line 55) | def prepare(suid): class SafePopen (line 101) | class SafePopen(object): method __init__ (line 102) | def __init__(self, *popen_args, **popen_kwargs): method _execute (line 138) | def _execute(self, read_cb, close_cb): method execute (line 286) | def execute(self, close_cb, read_cb=None): method get_returncode (line 297) | def get_returncode(self): method terminate (line 302) | def terminate(self): method write (line 309) | def write(self, data): function safe_exec (line 317) | def safe_exec(read_cb, close_cb, args, kwargs): function check_output (line 326) | def check_output(cmdline, shell=True, env=None, encoding=None, suid=None): FILE: pupy/packages/all/pupyutils/search.py function _make_exception (line 50) | def _make_exception(exception, filepath): class Search (line 58) | class Search(object): method __init__ (line 59) | def __init__( method search_string_in_fileobj (line 137) | def search_string_in_fileobj(self, fileobj, find_all=False, filename=N... method search_string (line 186) | def search_string(self, path, find_all=False): method filter_extended (line 200) | def filter_extended(self, item): method search_in_archive (line 255) | def search_in_archive(self, path): method scanwalk (line 326) | def scanwalk(self, path, followlinks=False): method run (line 400) | def run(self): method _run_thread (line 426) | def _run_thread(self, on_data, on_completed, on_error): method stop (line 479) | def stop(self): method run_cb (line 483) | def run_cb(self, on_data, on_completed, on_error=None): method run_cbs (line 498) | def run_cbs(self, on_data, on_completed, on_error=None): FILE: pupy/packages/all/pupyutils/share_enum.py function _listShares (line 13) | def _listShares(smb, passwd): function connect (line 36) | def connect(host, port, user, passwd, hash, domain="workgroup"): FILE: pupy/packages/all/pupyutils/smbspider.py class RemoteFile (line 13) | class RemoteFile(object): method __init__ (line 19) | def __init__( method open (line 30) | def open(self): method read (line 35) | def read(self, bytesToRead): method close (line 45) | def close(self): class SMBSpider (line 50) | class SMBSpider: method __init__ (line 51) | def __init__(self, _host, _domain, _port, _user, _passwd, _hashes, _ch... method login (line 66) | def login(self): method logoff (line 88) | def logoff(self): method set_share (line 91) | def set_share(self, _share): method list_share (line 94) | def list_share(self): method scanwalk (line 100) | def scanwalk(self, subfolder, depth): method search_string (line 137) | def search_string(self, path): class Spider (line 170) | class Spider(): method __init__ (line 171) | def __init__(self, hosts, _domain, _port, _user, _passwd, _hashes, _ch... method spider_an_host (line 187) | def spider_an_host(self, host): method spider_all_hosts (line 209) | def spider_all_hosts(self): FILE: pupy/packages/all/pupyutils/users.py function users (line 18) | def users(): function users (line 54) | def users(): FILE: pupy/packages/all/pupyutils/zip.py function try_unicode (line 10) | def try_unicode(path): function zip (line 20) | def zip(src, dst): function unzip (line 59) | def unzip(src, dst): function list (line 83) | def list(src): FILE: pupy/packages/all/pyshell/PythonCompleter.py class PythonCompleter (line 19) | class PythonCompleter(object): method __init__ (line 24) | def __init__(self, local_ns=None, global_ns=None): method complete (line 37) | def complete(self, text, state): method var_matches (line 52) | def var_matches(self, text): method attr_matches (line 74) | def attr_matches(self, text): function get_class_members (line 143) | def get_class_members(klass): FILE: pupy/packages/all/pyshell/controller.py function new_exit (line 16) | def new_exit(*args, **kwargs): class PyShellController (line 20) | class PyShellController(object): method __init__ (line 25) | def __init__(self): method write (line 35) | def write(self, line): method get_completer (line 38) | def get_completer(self): FILE: pupy/packages/all/pyuvproxy.py function bval (line 29) | def bval(x): function bval (line 35) | def bval(x): class Context (line 48) | class Context(object): method __init__ (line 53) | def __init__(self, buffer=None, stage=0, header=b''): method __repr__ (line 58) | def __repr__(self): function get_id (line 89) | def get_id(): class RpycCommunicationFailed (line 93) | class RpycCommunicationFailed(EOFError): class NeighborIsNotExists (line 97) | class NeighborIsNotExists(ValueError): class ConnectionIsNotExists (line 101) | class ConnectionIsNotExists(ValueError): class ResourceIsUsed (line 105) | class ResourceIsUsed(ValueError): class ResourceIsNotExists (line 109) | class ResourceIsNotExists(ValueError): class UndefinedType (line 113) | class UndefinedType(ValueError): class ChannelIsNotReady (line 117) | class ChannelIsNotReady(ValueError): class Connection (line 121) | class Connection(object): method __init__ (line 128) | def __init__(self, neighbor, remote_id=None, socket=None, buffer=None,... method __repr__ (line 143) | def __repr__(self): method _connection_timeout (line 149) | def _connection_timeout(self, handle): method register_remote_id (line 163) | def register_remote_id(self, remote_id): method on_connected (line 166) | def on_connected(self, local_address, error): method on_data (line 204) | def on_data(self, data): method _on_send_complete (line 214) | def _on_send_complete(self, handle, error): method on_disconnect (line 218) | def on_disconnect(self, reason): method _on_read_data (line 224) | def _on_read_data(self, handle, data, error): method _on_connected (line 240) | def _on_connected(self, handle, error): method _virtual_connect (line 275) | def _virtual_connect(self, port): method connect (line 299) | def connect(self, address, dns, bind): method _on_resolved (line 363) | def _on_resolved(self, address, error): method forward (line 369) | def forward(self): method close (line 372) | def close(self, reason, mutual=True): class Acceptor (line 401) | class Acceptor(object): method __init__ (line 402) | def __init__( method start (line 417) | def start(self): method _on_connection (line 433) | def _on_connection(self, handle, error): method _socks5_read (line 454) | def _socks5_read(self, handle, data, error, context): method on_connection (line 556) | def on_connection( method _deferred_on_connection (line 594) | def _deferred_on_connection( method close (line 631) | def close(self): class Callbacks (line 643) | class Callbacks(object): method __init__ (line 644) | def __init__(self, ref): class Neighbor (line 652) | class Neighbor(object): method __init__ (line 653) | def __init__(self, manager, callbacks, virtual_ports): method stop (line 662) | def stop(self, dead=False): method pair (line 679) | def pair(self, local_id, remote_id): method get_connection (line 683) | def get_connection(self, connection_id): method create_connection (line 689) | def create_connection(self, remote_id=None, peername=None): method register_connection (line 696) | def register_connection(self, connection): method unregister_connection (line 699) | def unregister_connection(self, connection): method register_acceptor (line 703) | def register_acceptor(self, acceptor, path_or_port): method unregister_acceptor (line 706) | def unregister_acceptor(self, acceptor_or_path_or_port): method uses_port (line 721) | def uses_port(self, path_or_port): class VirtualSocket (line 725) | class VirtualSocket(object): method __init__ (line 732) | def __init__(self, port, on_start_read, on_data, on_close, address=None): method __repr__ (line 741) | def __repr__(self): method close (line 744) | def close(self): method write (line 752) | def write(self, data, on_complete): method start_read (line 766) | def start_read(self, cb): method getsockname (line 771) | def getsockname(self): class VirtualPortsManager (line 775) | class VirtualPortsManager(object): method __init__ (line 778) | def __init__(self): method connect (line 782) | def connect(self, port, peername): method register (line 798) | def register(self, port, create_cb): method unregister (line 805) | def unregister(self, port): method destroy (line 812) | def destroy(self): class Manager (line 817) | class Manager(Thread): method __init__ (line 818) | def __init__(self): method register_virtual_port (line 828) | def register_virtual_port(self, port, create_virtual_connection_cb): method unregister_virtual_port (line 832) | def unregister_virtual_port(self, port): method sync (line 836) | def sync(self, handle): method defer (line 849) | def defer(self, method, *args): method _stop (line 856) | def _stop(self, dead): method stop (line 868) | def stop(self, dead=False): method force_stop (line 871) | def force_stop(self): method run (line 874) | def run(self): method get_neighbor (line 880) | def get_neighbor(self, neighbor_id): method _bind (line 886) | def _bind(self, neighbor_id, local_address, forward, bind): method bind (line 903) | def bind( method unbind (line 914) | def unbind(self, path_or_port): method get_connection (line 923) | def get_connection(self, neighbor_id, connection_id): method create_connection (line 927) | def create_connection(self, neighbor_id, remote_id=None, peername=None): method connect (line 940) | def connect(self, neighbor_id, connection_id, address, dns, bind=None): method forward (line 957) | def forward(self, neighbor_id, connection_id): method on_connected (line 971) | def on_connected(self, neighbor_id, connection_id, local_address, erro... method on_data (line 986) | def on_data(self, neighbor_id, connection_id, data): method on_disconnect (line 1001) | def on_disconnect(self, neighbor_id, connection_id, reason=None): method get_callbacks (line 1023) | def get_callbacks(self): method create_neighbor (line 1032) | def create_neighbor(self, callbacks): method assign_pair_ids (line 1038) | def assign_pair_ids(self, local_id, remote_id): method pair (line 1044) | def pair(self, remote_manager): method _unpair (line 1053) | def _unpair(self, local_id, dead): method unpair (line 1059) | def unpair(self, local_id, dead=False): method list (line 1062) | def list(self, filter_by_local_id=None): class PairState (line 1080) | class PairState(object): method __init__ (line 1081) | def __init__(self): method get (line 1087) | def get(self): method cleanup (line 1090) | def cleanup(self): class ManagerState (line 1100) | class ManagerState(object): method __init__ (line 1101) | def __init__(self): method cleanup (line 1104) | def cleanup(self): FILE: pupy/packages/all/rdesktop.py class VideoStreamer (line 22) | class VideoStreamer(threading.Thread): method __init__ (line 23) | def __init__(self, callback, refresh_interval=0.1): method run (line 30) | def run(self): method move (line 51) | def move(self, x, y): method click (line 57) | def click(self, x=None, y=None): method kbd_send (line 66) | def kbd_send(self, *args, **kwargs): method kbd_write (line 72) | def kbd_write(self, *args, **kwargs): method key_press (line 78) | def key_press(self, c): method key_release (line 84) | def key_release(self, c): method stop (line 90) | def stop(self): function create_video_streamer (line 94) | def create_video_streamer(callback, quality): FILE: pupy/packages/all/scandir.py class GenericDirEntry (line 79) | class GenericDirEntry(object): method __init__ (line 82) | def __init__(self, scandir_path, name): method path (line 90) | def path(self): method stat (line 95) | def stat(self, follow_symlinks=True): method is_dir (line 105) | def is_dir(self, follow_symlinks=True): method is_file (line 114) | def is_file(self, follow_symlinks=True): method is_symlink (line 123) | def is_symlink(self): method inode (line 132) | def inode(self): method __str__ (line 136) | def __str__(self): function _scandir_generic (line 142) | def _scandir_generic(path=unicode('.')): function scandir_generic (line 151) | def scandir_generic(path=unicode('.')): function filetime_to_time (line 216) | def filetime_to_time(filetime): function find_data_to_stat (line 221) | def find_data_to_stat(data): class Win32DirEntryPython (line 253) | class Win32DirEntryPython(object): method __init__ (line 256) | def __init__(self, scandir_path, name, find_data): method path (line 266) | def path(self): method stat (line 271) | def stat(self, follow_symlinks=True): method is_dir (line 290) | def is_dir(self, follow_symlinks=True): method is_file (line 306) | def is_file(self, follow_symlinks=True): method is_symlink (line 321) | def is_symlink(self): method inode (line 326) | def inode(self): method __str__ (line 331) | def __str__(self): function win_error (line 336) | def win_error(error, filename): function _scandir_python (line 341) | def _scandir_python(path=unicode('.')): function scandir_python (line 386) | def scandir_python(path=unicode('.')): class Dirent (line 416) | class Dirent(ctypes.Structure): class PosixDirEntry (line 457) | class PosixDirEntry(object): method __init__ (line 460) | def __init__(self, scandir_path, name, d_type, inode): method path (line 470) | def path(self): method stat (line 475) | def stat(self, follow_symlinks=True): method is_dir (line 490) | def is_dir(self, follow_symlinks=True): method is_file (line 503) | def is_file(self, follow_symlinks=True): method is_symlink (line 516) | def is_symlink(self): method inode (line 528) | def inode(self): method __str__ (line 531) | def __str__(self): function posix_error (line 536) | def posix_error(filename): function scandir_python (line 542) | def scandir_python(path=unicode('.')): function _walk (line 588) | def _walk(top, topdown=True, onerror=None, followlinks=False): function walk (line 675) | def walk(top, topdown=True, onerror=None, followlinks=False): FILE: pupy/packages/all/screenshot.py function screens (line 10) | def screens(): function screenshot (line 15) | def screenshot(screen=None): FILE: pupy/packages/all/ssh.py function ppkraw_to_openssh (line 44) | def ppkraw_to_openssh(x): function obtain (line 84) | def obtain(x): class SSHNotConnected (line 88) | class SSHNotConnected(Exception): function LookupAccountSidW (line 141) | def LookupAccountSidW(lpSid): function bin_decode (line 174) | def bin_decode(value): function extract_info (line 191) | def extract_info(key): function ssh_putty_hosts (line 254) | def ssh_putty_hosts(): function ssh_putty_hosts (line 309) | def ssh_putty_hosts(): function ssh_hosts (line 313) | def ssh_hosts(): class SSH (line 355) | class SSH(object): method __init__ (line 364) | def __init__(self, host, port=22, user=None, passwords=None, key_passw... method success_args (line 444) | def success_args(self): method _find_agent_sockets (line 450) | def _find_agent_sockets(self): method _find_private_keys_everywhere (line 477) | def _find_private_keys_everywhere(self): method _find_private_keys (line 489) | def _find_private_keys(self, fpath): method connected (line 513) | def connected(self): method _check_connected (line 516) | def _check_connected(self): method _oneway_upstream (line 520) | def _oneway_upstream(self, session, reader_cb, stdout_cb, stderr_cb, o... method upload_file (line 584) | def upload_file(self, reader_cb, remote_path, perm=0o755, rtouch=None, method download_file (line 640) | def download_file(self, remote_path, write_cb, completed_cb=None, cat=... method download_tar (line 672) | def download_tar(self, remote_path, write_cb, completed_cb, compressio... method _shell_reader (line 691) | def _shell_reader(self, session, on_data, on_exit): method shell (line 715) | def shell(self, term, w, h, wp, hp, shell=None, on_data=None, on_exit=... method check_output (line 747) | def check_output(self, command, pty=False, env=None, on_stdout=None, o... method close (line 808) | def close(self): method _poll_read (line 815) | def _poll_read(self, channel, stdout=True, stderr=True): method _convert (line 845) | def _convert(self, keydata, passwords): method _connect (line 861) | def _connect(self): function ssh_interactive (line 1087) | def ssh_interactive(term, w, h, wp, hp, host, port, user, passwords, function iter_hosts (line 1118) | def iter_hosts(hosts, default_passwords=None, default_port=None, default... function _ssh_cmd (line 1160) | def _ssh_cmd(ssh_cmd, thread_name, arg, hosts, port, user, passwords, pr... function ssh_exec (line 1278) | def ssh_exec(command, hosts, port, user, passwords, private_keys, data_c... function ssh_upload_file (line 1291) | def ssh_upload_file(src, dst, perm, touch, chown, run, delete, hosts, function ssh_download_file (line 1306) | def ssh_download_file(src, hosts, port, user, passwords, private_keys, d... function ssh_download_tar (line 1320) | def ssh_download_tar(src, hosts, port, user, passwords, private_keys, da... function ssh_keyscan (line 1335) | def ssh_keyscan(hosts, port, key_type, data_cb, close_cb, timeout): function try_int (line 1386) | def try_int(x): FILE: pupy/packages/all/tasks.py function list (line 11) | def list(): FILE: pupy/packages/all/tcpdump.py function isniff (line 28) | def isniff(count=0, prn=None, lfilter=None, class StopSniff (line 119) | class StopSniff(Exception): class SniffSession (line 122) | class SniffSession(Thread): method __init__ (line 123) | def __init__(self, on_data, on_close, iface=None, bpf=None, timeout=No... method _set_iface (line 139) | def _set_iface(self, iface): method sniff_callback (line 182) | def sniff_callback(self, packet): method run (line 189) | def run(self): method stop (line 225) | def stop(self): method is_stopped (line 228) | def is_stopped(self, x): function run (line 232) | def run(on_data, on_close, iface=None, bpf=None, timeout=None, count=0): function cb (line 243) | def cb(pkt): FILE: pupy/packages/all/transfer.py class Transfer (line 95) | class Transfer(object): method __init__ (line 96) | def __init__(self, exclude=None, include=None, follow_symlinks=False, method __del__ (line 122) | def __del__(self): method _walk_scandir (line 125) | def _walk_scandir(self, top, dups={}): method _worker_run_unsafe (line 266) | def _worker_run_unsafe(self, buf): method _worker_run (line 364) | def _worker_run(self): method _size (line 379) | def _size(self, filepath): method _stat_to_vec (line 415) | def _stat_to_vec(self, stat): method _pack_fileobj (line 425) | def _pack_fileobj(self, infile): method _pack_file (line 488) | def _pack_file(self, filepath, top=None): method _pack_path (line 522) | def _pack_path(self, filepath): method _is_supported_archive (line 578) | def _is_supported_archive(self, filepath): method _pack_any (line 596) | def _pack_any(self, filepath): method _submit_command (line 702) | def _submit_command(self, command, args, callback): method _expand (line 705) | def _expand(self, filepath): method size (line 710) | def size(self, filepath, callback, nonblock=False): method transfer (line 717) | def transfer(self, filepath, callback, nonblock=False): method stop (line 724) | def stop(self, callback): method terminate (line 727) | def terminate(self): method join (line 740) | def join(self): function du (line 743) | def du(filepath, callback, exclude=None, include=None, follow_symlinks=F... function transfer (line 750) | def transfer(filepath, callback, exclude=None, include=None, follow_syml... function transfer_closure (line 757) | def transfer_closure(callback, exclude=None, include=None, follow_symlin... function blob_printer (line 778) | def blob_printer(data, exception): FILE: pupy/packages/all/whole.py function to_string (line 15) | def to_string(x): function to_strings_list (line 30) | def to_strings_list(function, *args, **kwargs): FILE: pupy/packages/all/winerror.py function HRESULT_FROM_WIN32 (line 1975) | def HRESULT_FROM_WIN32(scode): function SUCCEEDED (line 1978) | def SUCCEEDED(Status): function FAILED (line 1981) | def FAILED(Status): function HRESULT_CODE (line 1984) | def HRESULT_CODE(hr): function SCODE_CODE (line 1987) | def SCODE_CODE(sc): function HRESULT_FACILITY (line 1990) | def HRESULT_FACILITY(hr): function SCODE_FACILITY (line 1993) | def SCODE_FACILITY(sc): function HRESULT_SEVERITY (line 1996) | def HRESULT_SEVERITY(hr): function SCODE_SEVERITY (line 1999) | def SCODE_SEVERITY(sc): function HRESULT_FROM_NT (line 2003) | def HRESULT_FROM_NT(x): function GetScode (line 2006) | def GetScode(hr): function ResultFromScode (line 2009) | def ResultFromScode(sc): FILE: pupy/packages/android/pupydroid/apps.py function getAllAps (line 10) | def getAllAps(): FILE: pupy/packages/android/pupydroid/call.py function getCallDetails (line 12) | def getCallDetails(): FILE: pupy/packages/android/pupydroid/camera.py class PictureCallback (line 15) | class PictureCallback(PythonJavaClass): method __init__ (line 18) | def __init__(self, event): method onPictureTaken (line 24) | def onPictureTaken(self, data, camera): function numberOfCameras (line 28) | def numberOfCameras(): function take_picture (line 36) | def take_picture(cam_id=0, jpegQuality=90): FILE: pupy/packages/android/pupydroid/contacts.py function getAllContacts (line 12) | def getAllContacts(): function phoneNumberTypeToString (line 59) | def phoneNumberTypeToString(phoneNumberType, label): FILE: pupy/packages/android/pupydroid/gpsTracker.py function __getLocation__ (line 24) | def __getLocation__(**kwargs): class GpsTracker (line 39) | class GpsTracker(Thread): method __init__ (line 41) | def __init__(self, period=15, inMemory=False): method enable (line 54) | def enable(self): method disable (line 59) | def disable(self): method stop (line 64) | def stop(self): method isGPSenabled (line 69) | def isGPSenabled(self): method isNetworkProviderEnabled (line 76) | def isNetworkProviderEnabled(self): method getCurrentLocation (line 83) | def getCurrentLocation(self): method follow (line 90) | def follow(self): method run (line 115) | def run(self): method isFollowing (line 119) | def isFollowing(self): function startGpsTracker (line 126) | def startGpsTracker(period): function stopGpsTracker (line 138) | def stopGpsTracker(): function dumpGpsTracker (line 154) | def dumpGpsTracker(): function statusGpsTracker (line 161) | def statusGpsTracker(): function deleteFile (line 172) | def deleteFile(): FILE: pupy/packages/android/pupydroid/text_to_speech.py function speak (line 14) | def speak(text, lang='US'): FILE: pupy/packages/android/pupydroid/utils.py function getAndroidID (line 15) | def getAndroidID(): function getPhoneNumber (line 26) | def getPhoneNumber(): function getDeviceId (line 39) | def getDeviceId(): function getSimCountryIso (line 54) | def getSimCountryIso(): function getNetworkCountryIso (line 69) | def getNetworkCountryIso(): function getSimInfo (line 85) | def getSimInfo(): function getNetworkOperatorName (line 102) | def getNetworkOperatorName(): function getSimState (line 116) | def getSimState(): function isNetworkRoaming (line 144) | def isNetworkRoaming(): function isWiFiEnabled (line 159) | def isWiFiEnabled(): function isWiFiConnected (line 171) | def isWiFiConnected(): function isVPNConnected (line 179) | def isVPNConnected(): function getInfoBuild (line 192) | def getInfoBuild(): function getBatteryStats (line 236) | def getBatteryStats(): function getMobileNetworkType (line 247) | def getMobileNetworkType(): FILE: pupy/packages/android/pupydroid/vibrator.py function vibrate (line 13) | def vibrate(pattern, repeat=None): FILE: pupy/packages/darwin/checkvm.py function checkvm (line 8) | def checkvm(): FILE: pupy/packages/darwin/hashdump.py function getUserHash (line 10) | def getUserHash(userName): function hashdump (line 28) | def hashdump(): FILE: pupy/packages/darwin/keylogger.py function get_ruby_code (line 17) | def get_ruby_code(): function keylogger_start (line 146) | def keylogger_start(): function keylogger_stop (line 172) | def keylogger_stop(): function keylogger_dump (line 187) | def keylogger_dump(): FILE: pupy/packages/linux/all/checkvm.py function execute_command (line 14) | def execute_command(dic, case=False): function read_file (line 26) | def read_file(dic, case=False): function check_result (line 37) | def check_result(dic, output, case=False): function check_sysfs_dmi (line 50) | def check_sysfs_dmi(): function check_sysfs_devices (line 80) | def check_sysfs_devices(): function check_dmi (line 99) | def check_dmi(): function check_modules (line 114) | def check_modules(): function scsi_driver (line 139) | def scsi_driver(): function check_ide_devices (line 151) | def check_ide_devices(): function check_lspci (line 165) | def check_lspci(): function check_dmesg_output (line 185) | def check_dmesg_output(): function checkvm (line 198) | def checkvm(): FILE: pupy/packages/linux/all/fsutils_ext.py function getselinux (line 40) | def getselinux(filepath): function getacls (line 49) | def getacls(filepath): function getcaps (line 77) | def getcaps(filepath): function getfilesec (line 120) | def getfilesec(filepath): FILE: pupy/packages/linux/all/hide_process.py class Stat (line 17) | class Stat(): method add (line 18) | def add(self, pid, comm, state, ppid, pgrp, session, tty_nr, tpgid, fl... function parse_proc_stat (line 28) | def parse_proc_stat(): function memcpy (line 36) | def memcpy(dest, source): function change_argv (line 53) | def change_argv(argv="/bin/bash", env=""): FILE: pupy/packages/linux/all/keylogger.py class ClassHint (line 74) | class ClassHint(ct.Structure): class XkbState (line 81) | class XkbState(ct.Structure): class XiEventMask (line 100) | class XiEventMask(ct.Structure): class XGenericEventCookie (line 108) | class XGenericEventCookie(ct.Structure): class XEventType (line 121) | class XEventType(ct.Structure): class XEvent (line 128) | class XEvent(ct.Union): class XIValuatorState (line 135) | class XIValuatorState(ct.Structure): class XIButtonState (line 143) | class XIButtonState(ct.Structure): class XIModifierState (line 150) | class XIModifierState(ct.Structure): class XIDeviceEvent (line 159) | class XIDeviceEvent(ct.Structure): class XErrorEvent (line 186) | class XErrorEvent(ct.Structure): function XiMaxLen (line 198) | def XiMaxLen(): function XiSetMask (line 202) | def XiSetMask(mask, event): function keysym_to_XK (line 262) | def keysym_to_XK(ks): function keysym_to_unicode (line 545) | def keysym_to_unicode(ks): function keylogger_start (line 549) | def keylogger_start(event_id=None): function keylogger_dump (line 561) | def keylogger_dump(): function keylogger_stop (line 567) | def keylogger_stop(): class NotAvailable (line 574) | class NotAvailable(Exception): class KeyLogger (line 578) | class KeyLogger(pupy.Task): method __init__ (line 581) | def __init__(self, *args, **kwargs): method _fatal_error_handler (line 622) | def _fatal_error_handler(self, error): method fatal_error_handler (line 636) | def fatal_error_handler(self): method error_handler (line 643) | def error_handler(self): method get_active_window (line 649) | def get_active_window(self): method get_window_title (line 663) | def get_window_title(self, window): method get_active_window_title (line 674) | def get_active_window_title(self): method append (line 677) | def append(self, k): method poll (line 688) | def poll(self, callback, sleep_interval=.01): method xinput (line 694) | def xinput(self, callback): method task (line 739) | def task(self): method fetch_keys_poll (line 745) | def fetch_keys_poll(self): method to_keysyms (line 776) | def to_keysyms(self, released, group, level): method __del__ (line 807) | def __del__(self): FILE: pupy/packages/linux/all/linux_stealth.py function run (line 12) | def run(port=None): FILE: pupy/packages/linux/all/mapped.py function create_mapped_file (line 24) | def create_mapped_file(path, data): function close_mapped_file (line 37) | def close_mapped_file(path): FILE: pupy/packages/linux/all/memexec.py class MExec (line 18) | class MExec(object): method __init__ (line 19) | def __init__(self, data, argv0, args=[], no_stdin=True, no_stdor=False... method close (line 35) | def close(self): method __del__ (line 84) | def __del__(self): method write (line 87) | def write(self, data): method get_stdout (line 94) | def get_stdout(self): method execute (line 116) | def execute(self, on_exit, on_read): method stdor_loop (line 134) | def stdor_loop(self, on_exit, on_read): method get_shell (line 171) | def get_shell(self, on_read, on_exit): method run (line 186) | def run(self): FILE: pupy/packages/linux/all/notify.py function notification (line 9) | def notification(text, title='', timeout=5, app='System', icon='', actio... FILE: pupy/packages/linux/all/persistence.py class DropManager (line 21) | class DropManager(object): method __init__ (line 22) | def __init__(self): method _find_executable (line 44) | def _find_executable(self, name): method _check_xdg (line 62) | def _check_xdg(self): method _check_systemd_reval (line 75) | def _check_systemd_reval(self, args): method _check_systemd (line 101) | def _check_systemd(self): method _check_systemd_unit (line 119) | def _check_systemd_unit(self, unit): method _check_writable (line 122) | def _check_writable(self, path): method _check_rc (line 132) | def _check_rc(self): method get_methods (line 144) | def get_methods(self): method _find_systemd_system_path (line 152) | def _find_systemd_system_path(self): method _get_systemd_unit_path (line 157) | def _get_systemd_unit_path(self, system=True): method _add_systemd_add_to_unit (line 165) | def _add_systemd_add_to_unit(self, unit, key, value, section='Service'... method _add_loadable_systemd_unit (line 184) | def _add_loadable_systemd_unit(self, unit, executable, description, se... method _drop_file (line 216) | def _drop_file(self, payload, lib=False): method _is_path_in_file (line 286) | def _is_path_in_file(self, filepath, path): method _add_to_rc (line 295) | def _add_to_rc(self, path): method _add_to_xdg (line 308) | def _add_to_xdg(self, path, confname='dbus'): method add_library (line 353) | def add_library(self, payload, name=None, system=None): method add_binary (line 388) | def add_binary(self, payload, name=None, system=None): function drop (line 413) | def drop(data, is_library, name=None, system=None): FILE: pupy/packages/linux/all/readlogs.py function _payload_to_key_value (line 128) | def _payload_to_key_value(payload): function _value_to_timestamp (line 149) | def _value_to_timestamp(value): class SDJournalIterator (line 189) | class SDJournalIterator(object): method __init__ (line 194) | def __init__(self, journal, until=None, until_is_ts=False, fields=[], ... method next (line 206) | def next(self): class SDJournalException (line 256) | class SDJournalException(Exception): class SDJournalReader (line 260) | class SDJournalReader(object): method __init__ (line 266) | def __init__(self, amount=None, last=None, fields=[], since=None, unti... method __enter__ (line 277) | def __enter__(self): method get_fields (line 286) | def get_fields(self): method __iter__ (line 297) | def __iter__(self): method __exit__ (line 326) | def __exit__(self, *args): function get_last_events_journald (line 332) | def get_last_events_journald(count=10, includes=[], excludes=[], filter_... function get_last_events (line 432) | def get_last_events(count=10, includes=[], excludes=[], eventid=None, so... FILE: pupy/packages/linux/all/secretstorage/__init__.py function dbus_init (line 49) | def dbus_init(main_loop=True, use_qt_loop=False): FILE: pupy/packages/linux/all/secretstorage/collection.py class Collection (line 35) | class Collection(object): method __init__ (line 38) | def __init__(self, bus, collection_path=DEFAULT_COLLECTION, session=No... method is_locked (line 50) | def is_locked(self): method ensure_not_locked (line 56) | def ensure_not_locked(self): method unlock (line 62) | def unlock(self, callback=None): method lock (line 70) | def lock(self): method delete (line 76) | def delete(self): method get_all_items (line 81) | def get_all_items(self): method search_items (line 87) | def search_items(self, attributes): method get_label (line 95) | def get_label(self): method set_label (line 101) | def set_label(self, label): method create_item (line 107) | def create_item(self, label, attributes, secret, replace=False, function create_collection (line 128) | def create_collection(bus, label, alias='', session=None): function get_all_collections (line 147) | def get_all_collections(bus): function get_default_collection (line 156) | def get_default_collection(bus, session=None): function get_any_collection (line 165) | def get_any_collection(bus): function get_collection_by_alias (line 187) | def get_collection_by_alias(bus, alias): function search_items (line 198) | def search_items(bus, attributes): FILE: pupy/packages/linux/all/secretstorage/dhcrypto.py class Session (line 34) | class Session(object): method __init__ (line 35) | def __init__(self): method set_server_public_key (line 44) | def set_server_public_key(self, server_public_key): FILE: pupy/packages/linux/all/secretstorage/exceptions.py class SecretStorageException (line 14) | class SecretStorageException(Exception): class SecretServiceNotAvailableException (line 17) | class SecretServiceNotAvailableException(SecretStorageException): class LockedException (line 23) | class LockedException(SecretStorageException): class ItemNotFoundException (line 30) | class ItemNotFoundException(SecretStorageException): FILE: pupy/packages/linux/all/secretstorage/item.py class Item (line 25) | class Item(object): method __init__ (line 28) | def __init__(self, bus, item_path, session=None): method __eq__ (line 38) | def __eq__(self, other): method is_locked (line 41) | def is_locked(self): method ensure_not_locked (line 47) | def ensure_not_locked(self): method unlock (line 53) | def unlock(self, callback=None): method get_attributes (line 65) | def get_attributes(self): method set_attributes (line 72) | def set_attributes(self, attributes): method get_label (line 77) | def get_label(self): method set_label (line 83) | def set_label(self, label): method delete (line 89) | def delete(self): method get_secret (line 94) | def get_secret(self): method get_secret_content_type (line 110) | def get_secret_content_type(self): method set_secret (line 119) | def set_secret(self, secret, content_type='text/plain'): method get_created (line 129) | def get_created(self): method get_modified (line 137) | def get_modified(self): method to_tuple (line 143) | def to_tuple(self): FILE: pupy/packages/linux/all/secretstorage/util.py function int_from_bytes (line 16) | def int_from_bytes(data, byteorder, signed=False): function int_to_bytes (line 30) | def int_to_bytes(integer, length=None): class InterfaceWrapper (line 51) | class InterfaceWrapper(dbus.Interface): method catch_errors (line 55) | def catch_errors(self, function_in): method __getattr__ (line 70) | def __getattr__(self, attribute): function bus_get_object (line 76) | def bus_get_object(bus, object_path, service_name=None): function open_session (line 89) | def open_session(bus): function format_secret (line 115) | def format_secret(session, secret, content_type): function exec_prompt (line 136) | def exec_prompt(bus, prompt, callback): function exec_prompt_glib (line 152) | def exec_prompt_glib(bus, prompt): function exec_prompt_qt (line 168) | def exec_prompt_qt(bus, prompt): function unlock_objects (line 184) | def unlock_objects(bus, paths, callback=None): function to_unicode (line 205) | def to_unicode(string): FILE: pupy/packages/linux/all/services.py function get_services_systemd (line 16) | def get_services_systemd(): FILE: pupy/packages/linux/all/ttyrec.py function get_random (line 28) | def get_random(cnt): function _to_int (line 48) | def _to_int(x): class KProbesNotAvailable (line 59) | class KProbesNotAvailable(Exception): class KProbesNotEnabled (line 63) | class KProbesNotEnabled(Exception): class Kallsyms (line 67) | class Kallsyms(object): method __init__ (line 68) | def __init__(self): class TTYState (line 76) | class TTYState(object): method __init__ (line 81) | def __init__(self): method need_resize (line 85) | def need_resize(self, size): method get_last_input (line 96) | def get_last_input(self, ts): class Probe (line 105) | class Probe(object): method __init__ (line 110) | def __init__(self, type, name, func, *args, **kwargs): method registered (line 118) | def registered(self): method statement (line 124) | def statement(self): method enable (line 138) | def enable(self): method disable (line 146) | def disable(self): method unregister (line 154) | def unregister(self): class TTYMon (line 166) | class TTYMon(object): method __init__ (line 167) | def __init__(self, name, winsize, tty_private, ignore=[]): method validate (line 244) | def validate(self): method stop (line 252) | def stop(self): method active (line 256) | def active(self): method _enable (line 259) | def _enable(self): method _disable (line 285) | def _disable(self): method __iter__ (line 300) | def __iter__(self): method _collector (line 326) | def _collector(self): class TTYRec (line 403) | class TTYRec(Task): method __init__ (line 406) | def __init__(self, manager, event_id=None, method task (line 418) | def task(self): method results (line 451) | def results(self): method active (line 472) | def active(self): method stop (line 475) | def stop(self): function start (line 480) | def start(event_id=None, name=0xE0, winsize=0x1B0, tty_private=0x30): function stop (line 496) | def stop(): function dump (line 500) | def dump(): FILE: pupy/packages/linux/all/usniper.py class USniper (line 27) | class USniper(pupy.Task): method __init__ (line 28) | def __init__(self, manager, path, addr, reg='ax', ret=False, cast='', ... method results (line 83) | def results(self): method stop (line 89) | def stop(self): method task (line 100) | def task(self): function start (line 204) | def start(path, addr, reg='ax', ret=False, cast=None, argtype='chr', eve... function stop (line 225) | def stop(): function dump (line 229) | def dump(): FILE: pupy/packages/patches/all/scapy/compat.py function cmp_to_key (line 20) | def cmp_to_key(mycmp): function cmp (line 46) | def cmp(a, b): function orb (line 51) | def orb(x): function raw (line 57) | def raw(x): function plain_str (line 68) | def plain_str(x): function chb (line 72) | def chb(x): function bytes_hex (line 83) | def bytes_hex(x): function hex_bytes (line 87) | def hex_bytes(x): function base64_bytes (line 91) | def base64_bytes(x): function bytes_base64 (line 95) | def bytes_base64(x): FILE: pupy/packages/patches/all/scapy/config.py class ConfClass (line 29) | class ConfClass(object): method configure (line 30) | def configure(self, cnf): method __repr__ (line 32) | def __repr__(self): method __str__ (line 34) | def __str__(self): class ProgPath (line 49) | class ProgPath(ConfClass): class Interceptor (line 62) | class Interceptor(object): method __init__ (line 63) | def __init__(self, name, default, hook, args=None, kargs=None): method __get__ (line 70) | def __get__(self, obj, typ=None): method __set__ (line 74) | def __set__(self, obj, val): class ConfigFieldList (line 78) | class ConfigFieldList: method __init__ (line 79) | def __init__(self): method _is_field (line 83) | def _is_field(f): method _recalc_layer_list (line 85) | def _recalc_layer_list(self): method add (line 87) | def add(self, *flds): method remove (line 90) | def remove(self, *flds): method __contains__ (line 93) | def __contains__(self, elt): method __repr__ (line 97) | def __repr__(self): class Emphasize (line 100) | class Emphasize(ConfigFieldList): class Resolve (line 103) | class Resolve(ConfigFieldList): class Num2Layer (line 107) | class Num2Layer: method __init__ (line 108) | def __init__(self): method register (line 112) | def register(self, num, layer): method register_num2layer (line 116) | def register_num2layer(self, num, layer): method register_layer2num (line 118) | def register_layer2num(self, num, layer): method __getitem__ (line 121) | def __getitem__(self, item): method __contains__ (line 125) | def __contains__(self, item): method get (line 129) | def get(self, item, default=None): class LayersList (line 135) | class LayersList(list): method __repr__ (line 136) | def __repr__(self): method register (line 141) | def register(self, layer): class CommandsList (line 144) | class CommandsList(list): method __repr__ (line 145) | def __repr__(self): method register (line 154) | def register(self, cmd): function lsc (line 158) | def lsc(): class LogLevel (line 161) | class LogLevel(object): method __get__ (line 162) | def __get__(self, obj, otype): method __set__ (line 164) | def __set__(self,obj,val): function isPyPy (line 168) | def isPyPy(): function _prompt_changer (line 172) | def _prompt_changer(attr, val): class Conf (line 179) | class Conf(ConfClass): function crypto_validator (line 286) | def crypto_validator(func): FILE: pupy/packages/patches/all/scapy/data.py class KnowledgeBase (line 122) | class KnowledgeBase: method __init__ (line 123) | def __init__(self, filename): method lazy_init (line 127) | def lazy_init(self): method reload (line 130) | def reload(self, filename = None): method get_base (line 139) | def get_base(self): function load_manuf (line 146) | def load_manuf(*args, **kwargs): FILE: pupy/packages/patches/all/scapy/error.py class Scapy_Exception (line 20) | class Scapy_Exception(Exception): function warning (line 35) | def warning(*args, **kwargs): FILE: pupy/packages/posix/all/become.py function become (line 27) | def become(user): function restore (line 95) | def restore(): FILE: pupy/packages/posix/all/display.py function load_display_libs (line 20) | def load_display_libs(): class XAuth (line 52) | class XAuth(ctypes.Structure): function check_display (line 71) | def check_display(name, authority): function guess_displays (line 107) | def guess_displays(): function attach_to_display (line 185) | def attach_to_display(name, xauth=None): function extract_xauth_info (line 205) | def extract_xauth_info(name, authtype='MIT-MAGIC-COOKIE-1'): function when_attached (line 242) | def when_attached(callback, name=':0', poll=10): FILE: pupy/packages/posix/all/hashmon.py function start (line 23) | def start(names, hashes=[], poll=20, minpw=8, maxpw=16, maxdups=131072, ... function dump (line 39) | def dump(): function stop (line 45) | def stop(): class HashMon (line 52) | class HashMon(pupy.Task): method __init__ (line 53) | def __init__(self, manager, names=[], hashes=[], poll=60, minpw=8, max... method update_hashes (line 78) | def update_hashes(self): method get_pid_strings (line 95) | def get_pid_strings(self, pid): method get_new_pids (line 111) | def get_new_pids(self): method get_new_strings (line 124) | def get_new_strings(self): method check_hash (line 129) | def check_hash(self, hash, string): method check_hashes (line 140) | def check_hashes(self, string): method get_new_passwords (line 148) | def get_new_passwords(self): method need_poll (line 153) | def need_poll(self): method task (line 161) | def task(self): FILE: pupy/packages/posix/all/mount.py class MountInfo (line 14) | class MountInfo(object): method __init__ (line 15) | def __init__(self, line): method options (line 86) | def options(self): method as_dict (line 102) | def as_dict(self): function mounts (line 110) | def mounts(): FILE: pupy/packages/posix/all/ptyshell.py function propose_shell (line 41) | def propose_shell(): function find_shell (line 66) | def find_shell(): function prepare (line 81) | def prepare(suid): class PtyShell (line 130) | class PtyShell(Task): method __init__ (line 137) | def __init__(self, manager, argv=None, term=None, suid=None): method stop (line 153) | def stop(self): method close (line 157) | def close(self): method task (line 206) | def task(self): method write (line 310) | def write(self, data): method attach (line 321) | def attach(self, read_cb, close_cb): method detach (line 332) | def detach(self): method set_pty_size (line 336) | def set_pty_size(self, p1, p2, p3, p4): method _read_loop (line 346) | def _read_loop(self): function acquire (line 383) | def acquire(argv=None, term=None, suid=None): function release (line 396) | def release(): FILE: pupy/packages/posix/all/readlogs.py function get_last_events (line 15) | def get_last_events(count=10, includes=[], excludes=[], eventid=None): FILE: pupy/packages/posix/all/readlogs_generic.py function to_timestamp (line 25) | def to_timestamp(d): function ytail (line 29) | def ytail(f): function try_get_mtime (line 63) | def try_get_mtime(x): class GenericLogReader (line 69) | class GenericLogReader(object): method __init__ (line 77) | def __init__(self, logs=u'/var/log', source=None): method get_last_events (line 98) | def get_last_events(self, count=10, includes=[], excludes=[]): method _debian_log_parser (line 149) | def _debian_log_parser(self, logfile, probe=False): method _get_parser (line 205) | def _get_parser(self, logfile): FILE: pupy/packages/posix/all/sudo_alias.py function sudo_alias_start (line 21) | def sudo_alias_start(): function sudo_alias_dump (line 30) | def sudo_alias_dump(): function sudo_alias_stop (line 34) | def sudo_alias_stop(): class SudoAlias (line 43) | class SudoAlias(threading.Thread): method __init__ (line 44) | def __init__(self, *args, **kwargs): method stop (line 70) | def stop(self): method dump (line 74) | def dump(self): method store_sudo_password (line 79) | def store_sudo_password(self, password): method clean_files (line 82) | def clean_files(self): method sudo_alias_code (line 93) | def sudo_alias_code(self): method run (line 136) | def run(self): FILE: pupy/packages/posix/all/uidle.py class XScreenSaverInfo (line 16) | class XScreenSaverInfo(ctypes.Structure): function load_uidle_libs (line 36) | def load_uidle_libs(): function get_gui_idle (line 85) | def get_gui_idle(display=None): function get_cli_idle (line 118) | def get_cli_idle(): function get_idle (line 140) | def get_idle(): FILE: pupy/packages/src/VideoCapture/src/VideoCapture.py function now (line 20) | def now(): class Device (line 33) | class Device: method __init__ (line 42) | def __init__(self, devnum=0, showVideoWindow=0): method displayPropertyPage (line 59) | def displayPropertyPage(self): method displayCaptureFilterProperties (line 71) | def displayCaptureFilterProperties(self): method displayCapturePinProperties (line 80) | def displayCapturePinProperties(self): method setResolution (line 89) | def setResolution(self, width, height): method getDisplayName (line 97) | def getDisplayName(self): method getBuffer (line 104) | def getBuffer(self): method getImage (line 113) | def getImage(self, timestamp=0, boldfont=0, textpos=default_textpos): method saveSnapshot (line 185) | def saveSnapshot(self, filename, timestamp=0, boldfont=0, textpos=defa... FILE: pupy/packages/src/VideoCapture/src/fixhtml.py function fixhtmlfile (line 39) | def fixhtmlfile(file): function fixhtmlfiles (line 52) | def fixhtmlfiles(dir): FILE: pupy/packages/src/VideoCapture/src/vidcapmodule.cpp function cleanup (line 44) | static void function initialize (line 71) | static bool function DevObject (line 348) | static DevObject * function Dev_dealloc (line 373) | static void function teardown (line 382) | static void function PyObject (line 444) | static PyObject * function PyObject (line 512) | static PyObject * function PyObject (line 559) | static PyObject * function PyObject (line 617) | static PyObject * function PyObject (line 648) | static PyObject * function PyObject (line 718) | static PyObject * function PyObject (line 806) | static PyObject * function PyObject (line 835) | static PyObject * function initvidcap (line 860) | void FILE: pupy/packages/windows/all/checkvm.py class Check_VM (line 13) | class Check_VM(): method __init__ (line 14) | def __init__(self): method get_process_list (line 17) | def get_process_list(self): method check_existing_key (line 24) | def check_existing_key(self, k, key): method check_hyper_V (line 32) | def check_hyper_V(self): method check_VMWare (line 59) | def check_VMWare(self): method check_Virtual_PC (line 84) | def check_Virtual_PC(self): method check_Virtual_Box (line 101) | def check_Virtual_Box(self): method check_xen (line 127) | def check_xen(self): method check_qemu (line 149) | def check_qemu(self): method run (line 161) | def run(self): FILE: pupy/packages/windows/all/conpty.py class COORD (line 47) | class COORD(Structure): function fix_stdin (line 98) | def fix_stdin(): class ConPTY (line 117) | class ConPTY(object): method _create_pty (line 122) | def _create_pty(self, pty_size): method __init__ (line 161) | def __init__(self, program, method pid (line 192) | def pid(self): method active (line 195) | def active(self): method _read_loop (line 204) | def _read_loop(self, read_cb): method read_loop (line 217) | def read_loop(self, read_cb): method write (line 245) | def write(self, data): method read (line 257) | def read(self, amount=8192): method resize (line 276) | def resize(self, cols, rows): method close (line 285) | def close(self): method __enter__ (line 312) | def __enter__(self): method __exit__ (line 315) | def __exit__(self, *args): FILE: pupy/packages/windows/all/fsutils.py class NoUidGidMapping (line 13) | class NoUidGidMapping(Exception): class NoSuchUser (line 16) | class NoSuchUser(NoUidGidMapping): class NoSuchGroup (line 19) | class NoSuchGroup(NoUidGidMapping): function has_xattrs (line 27) | def has_xattrs(path): function has_xattrs (line 34) | def has_xattrs(path): function uidgid (line 40) | def uidgid(path, item, as_text=True): function username_to_uid (line 47) | def username_to_uid(username): function groupname_to_gid (line 56) | def groupname_to_gid(groupname): function uidgid (line 66) | def uidgid(path, item): function username_to_uid (line 69) | def username_to_uid(username): function groupname_to_gid (line 72) | def groupname_to_gid(groupname): FILE: pupy/packages/windows/all/fsutils_ext.py class FIXEDFILEINFO (line 310) | class FIXEDFILEINFO(Structure): class LANGANDCODEPAGE (line 328) | class LANGANDCODEPAGE(Structure): class WINTRUST_FILE_INFO (line 335) | class WINTRUST_FILE_INFO(Structure): method __init__ (line 343) | def __init__(self, filename): class WINTRUST_DATA (line 350) | class WINTRUST_DATA(Structure): method __init__ (line 367) | def __init__(self, filename): class GUID (line 383) | class GUID(Structure): method __init__ (line 391) | def __init__(self, u1, u2, u3, u4): function getfilever (line 409) | def getfilever(filepath, flags=FILE_VER_GET_NEUTRAL, throw=False): function getfilecert (line 532) | def getfilecert(filepath, throw=False): function getfiletrust (line 618) | def getfiletrust(filepath): function getfilesec (line 637) | def getfilesec(filepath): FILE: pupy/packages/windows/all/isearch.py function query (line 13) | def query(sql, limit): FILE: pupy/packages/windows/all/junctions.py class GENERIC_REPARSE_BUFFER (line 66) | class GENERIC_REPARSE_BUFFER(Structure): class SYMBOLIC_LINK_REPARSE_BUFFER (line 70) | class SYMBOLIC_LINK_REPARSE_BUFFER(Structure): method PrintName (line 79) | def PrintName(self): class MOUNT_POINT_REPARSE_BUFFER (line 85) | class MOUNT_POINT_REPARSE_BUFFER(Structure): method PrintName (line 93) | def PrintName(self): class REPARSE_DATA_BUFFER (line 99) | class REPARSE_DATA_BUFFER(Structure): class REPARSE_BUFFER (line 100) | class REPARSE_BUFFER(Union): function islink (line 114) | def islink(path): function readlink (line 120) | def readlink(path): class LinkStat (line 154) | class LinkStat(object): function lstat (line 162) | def lstat(path): FILE: pupy/packages/windows/all/netresources.py class NETRESOURCE (line 25) | class NETRESOURCE(Structure): function EnumNetResources (line 136) | def EnumNetResources(scope=RESOURCE_CONNECTED, lpnr=None): function EnumAllNetResources (line 225) | def EnumAllNetResources(): FILE: pupy/packages/windows/all/ntfs_streams.py class LARGE_INTEGER_UNION (line 21) | class LARGE_INTEGER_UNION(Structure): class WIN32_FIND_STREAM_DATA (line 26) | class WIN32_FIND_STREAM_DATA(Structure): function get_streams (line 63) | def get_streams(filename): FILE: pupy/packages/windows/all/outlook.py class outlook (line 19) | class outlook(): method __init__ (line 28) | def __init__(self, folderIndex=None, folderId=None, sleepTime=3, msgSa... method outlookIsInstalled (line 42) | def outlookIsInstalled(self): method connect (line 54) | def connect(self): method getInformation (line 74) | def getInformation(self): method __getOlDefaultFoldersNameFromIndex__ (line 138) | def __getOlDefaultFoldersNameFromIndex__(self, folderIndex): method setDefaultFolder (line 150) | def setDefaultFolder(self, folderIndex=None): method setFolderFromId (line 167) | def setFolderFromId(self, folderId): method getEmails (line 181) | def getEmails(self): method getAMailFile (line 191) | def getAMailFile(self, mailItem): method deleteTempMailFile (line 212) | def deleteTempMailFile(self,path): method getNbOfEmails (line 232) | def getNbOfEmails(self): method getAllFolders (line 240) | def getAllFolders(self): method getPathToOSTFiles (line 254) | def getPathToOSTFiles(self): method searchStringsInEmails (line 277) | def searchStringsInEmails(self, strings, separator=','): method searchAStringInEmails (line 288) | def searchAStringInEmails(self, aString): FILE: pupy/packages/windows/all/pipecatcher.py class PipeCatcher (line 100) | class PipeCatcher(Task): method __init__ (line 105) | def __init__(self, *args, **kwargs): method world_writable_pipe (line 114) | def world_writable_pipe(self): method stop (line 138) | def stop(self): method task (line 150) | def task(self): method impersonate_token_from_pipe (line 167) | def impersonate_token_from_pipe(self): function catcher_start (line 220) | def catcher_start(event_id=None): function catcher_dump (line 228) | def catcher_dump(): function catcher_sync (line 235) | def catcher_sync(): function catcher_stop (line 243) | def catcher_stop(): FILE: pupy/packages/windows/all/powerloader.py function generate_loader_cmd (line 48) | def generate_loader_cmd(size): function push_payload (line 55) | def push_payload(payload, timeout=90, log_cb=None): FILE: pupy/packages/windows/all/powershell.py class PowerHostUninitialized (line 26) | class PowerHostUninitialized(Exception): class PowershellUninitialized (line 30) | class PowershellUninitialized(Exception): class PowershellInitializationFailed (line 34) | class PowershellInitializationFailed(Exception): class PowershellContextUnregistered (line 38) | class PowershellContextUnregistered(Exception): class PowershellV2NotInstalled (line 42) | class PowershellV2NotInstalled(Exception): class PowershellTimeout (line 46) | class PowershellTimeout(Exception): class Request (line 50) | class Request(object): method __init__ (line 51) | def __init__(self, rid, storage, expression, timeout=None, continious=... method rid (line 63) | def rid(self): method expression (line 67) | def expression(self): method ready (line 71) | def ready(self): method result (line 75) | def result(self): method result (line 96) | def result(self, value): class Powershell (line 120) | class Powershell(threading.Thread): method __init__ (line 121) | def __init__(self, host, name, content, try_x64=False, daemon=False, w... method v2 (line 151) | def v2(self): method _initialize (line 154) | def _initialize(self, content): method load (line 199) | def load(self, content): method _invoke_expression (line 203) | def _invoke_expression(self, content, dest=None, pipe=None): method run (line 241) | def run(self): method _random (line 265) | def _random(self): method _execute (line 270) | def _execute(self, expression): method execute (line 304) | def execute(self, expression, nowait=False, timeout=None, wait=None): method stop (line 347) | def stop(self): method __del__ (line 374) | def __del__(self): class PowerHost (line 381) | class PowerHost(object): method __init__ (line 382) | def __init__(self, manager): method active (line 389) | def active(self): method dirty (line 393) | def dirty(self): method register (line 396) | def register(self, name, content, force=False, try_x64=False, daemon=F... method load (line 415) | def load(self, name, content): method registered (line 421) | def registered(self, name=None): method unregister (line 427) | def unregister(self, name): method function (line 434) | def function(self, name, expression): method call (line 442) | def call(self, name, expression, nowait=False, timeout=None): method stop (line 448) | def stop(self): method start (line 455) | def start(self): method event (line 458) | def event(self, event): method name (line 462) | def name(self): method stopped (line 466) | def stopped(self): function loaded (line 470) | def loaded(name=None): function load (line 481) | def load(name, content, force=False, try_x64=False, daemon=False, width=... function unload (line 494) | def unload(name): function call (line 502) | def call(name, expression, nowait=False, timeout=None, content=None, try... function result (line 524) | def result(name, rid): function get_results (line 544) | def get_results(): function results (line 556) | def results(): function stop (line 560) | def stop(): FILE: pupy/packages/windows/all/ptyshell.py class PtyShell (line 25) | class PtyShell(Task): method __init__ (line 31) | def __init__(self, manager, argv=None, term=None, htoken=None): method write (line 45) | def write(self, data): method set_pty_size (line 51) | def set_pty_size(self, ws_row, ws_col, ws_xpixel, ws_ypixel): method attach (line 57) | def attach(self, read_cb, close_cb): method detach (line 68) | def detach(self): method task (line 72) | def task(self): method _on_read_data (line 96) | def _on_read_data(self, data): method stop (line 102) | def stop(self): method close (line 108) | def close(self): function acquire (line 116) | def acquire(argv=None, term=None, suid=None): function release (line 161) | def release(): FILE: pupy/packages/windows/all/pupwinutils/bypassuac_registry.py function registry_hijacking_fodhelper (line 17) | def registry_hijacking_fodhelper(cmd, params=""): function registry_hijacking_eventvwr (line 54) | def registry_hijacking_eventvwr(cmd, params=""): FILE: pupy/packages/windows/all/pupwinutils/bypassuac_token_imp.py class UNICODE_STRING (line 82) | class UNICODE_STRING(Structure): class ShellExecuteInfo (line 90) | class ShellExecuteInfo(Structure): class SID_IDENTIFIER_AUTHORITY (line 110) | class SID_IDENTIFIER_AUTHORITY(Structure): class SID_AND_ATTRIBUTES (line 122) | class SID_AND_ATTRIBUTES(Structure): class TOKEN_MANDATORY_LABEL (line 128) | class TOKEN_MANDATORY_LABEL(Structure): class SECURITY_QUALITY_OF_SERVICE (line 134) | class SECURITY_QUALITY_OF_SERVICE(Structure): class OBJECT_ATTRIBUTES (line 143) | class OBJECT_ATTRIBUTES(Structure): class STARTUPINFO (line 155) | class STARTUPINFO(Structure): class PROCESS_INFORMATION (line 178) | class PROCESS_INFORMATION(Structure): function NT_SUCCESS (line 267) | def NT_SUCCESS(status): function find_exe_to_use (line 272) | def find_exe_to_use(): function bypass_uac (line 284) | def bypass_uac(autoelevated_exe, lpApplicationName, param): function run_bypass_uac_using_token_impersonation (line 427) | def run_bypass_uac_using_token_impersonation(cmd, param): FILE: pupy/packages/windows/all/pupwinutils/drives.py function sizeof_fmt (line 9) | def sizeof_fmt(num, suffix='B'): function list_drives (line 42) | def list_drives(): function shared_folders (line 61) | def shared_folders(): FILE: pupy/packages/windows/all/pupwinutils/getdomain.py function get_domain_controller (line 10) | def get_domain_controller(): FILE: pupy/packages/windows/all/pupwinutils/hookfuncs.py class MSG (line 31) | class MSG(Structure): function LOWORD (line 77) | def LOWORD(x): class KBDLLHOOKSTRUCT (line 87) | class KBDLLHOOKSTRUCT(Structure): class BITMAPINFOHEADER (line 96) | class BITMAPINFOHEADER(Structure): class BITMAPINFO (line 111) | class BITMAPINFO(Structure): class POINT (line 117) | class POINT(Structure): function get_current_process (line 256) | def get_current_process(): function get_clipboard (line 277) | def get_clipboard(): function get_mouse_xy (line 284) | def get_mouse_xy(): FILE: pupy/packages/windows/all/pupwinutils/keylogger.py function keylogger_start (line 96) | def keylogger_start(event_id=None): function keylogger_dump (line 108) | def keylogger_dump(): function keylogger_stop (line 114) | def keylogger_stop(): function is_pressed (line 121) | def is_pressed(*keys): class KeyLogger (line 127) | class KeyLogger(pupy.Task): method __init__ (line 130) | def __init__(self, *args, **kwargs): method append (line 137) | def append(self, data): method task (line 142) | def task(self): method install_hook (line 176) | def install_hook(self): method uninstall_hook (line 189) | def uninstall_hook(self): method hook_proc (line 200) | def hook_proc(self, nCode, wParam, lParam): method _hook_proc (line 211) | def _hook_proc(self, nCode, wParam, lParam): FILE: pupy/packages/windows/all/pupwinutils/memexec.py class MemoryPE (line 87) | class MemoryPE(object): method __init__ (line 90) | def __init__( method close (line 122) | def close(self): method execute (line 148) | def execute(self, complete_cb, write_cb=True): method _loop (line 187) | def _loop(self): method write (line 228) | def write(self, data): FILE: pupy/packages/windows/all/pupwinutils/mouselogger.py function mouselogger_start (line 32) | def mouselogger_start(event_id=None): function mouselogger_dump (line 43) | def mouselogger_dump(): function mouselogger_stop (line 48) | def mouselogger_stop(): class MouseLogger (line 54) | class MouseLogger(pupy.Task): method __init__ (line 55) | def __init__(self, *args, **kwargs): method task (line 60) | def task(self): method get_screenshot (line 76) | def get_screenshot(self): method install_hook (line 115) | def install_hook(self): method uninstall_hook (line 128) | def uninstall_hook(self): method hook_proc (line 135) | def hook_proc(self, nCode, wParam, lParam): FILE: pupy/packages/windows/all/pupwinutils/msgbox.py function MessageBox (line 11) | def MessageBox(text, title): FILE: pupy/packages/windows/all/pupwinutils/processes.py function is_process_64 (line 58) | def is_process_64(pid): function is_process_64_from_handle (line 80) | def is_process_64_from_handle(hProcess): function enum_processes (line 96) | def enum_processes(): function start_hidden_process (line 121) | def start_hidden_process(path, return_popen=False): function is_x64_architecture (line 136) | def is_x64_architecture(): function is_x86_architecture (line 145) | def is_x86_architecture(): function get_current_pid (line 153) | def get_current_pid(): function get_current_ppid (line 162) | def get_current_ppid(): function isUserAdmin (line 177) | def isUserAdmin(): FILE: pupy/packages/windows/all/pupwinutils/rdp.py function check_if_admin (line 12) | def check_if_admin(): function setRegValue (line 15) | def setRegValue(aReg, keyPath, regPath, value): function modifyKey (line 24) | def modifyKey(keyPath, regPath, value, root=HKEY_LOCAL_MACHINE): function executeCmd (line 34) | def executeCmd(cmd): function enable_rdp (line 44) | def enable_rdp(): function disable_rdp (line 63) | def disable_rdp(): FILE: pupy/packages/windows/all/pupwinutils/security.py function _bit (line 273) | def _bit(flag, mask): class TOKEN_INFORMATION_CLASS (line 277) | class TOKEN_INFORMATION_CLASS(object): class LUID (line 285) | class LUID(Structure): method __eq__ (line 291) | def __eq__(self, other): method __ne__ (line 297) | def __ne__(self, other): class SID_AND_ATTRIBUTES (line 304) | class SID_AND_ATTRIBUTES(Structure): class TOKEN_USER (line 311) | class TOKEN_USER(Structure): class GENERIC_MAPPING (line 320) | class GENERIC_MAPPING(Structure): class LUID_AND_ATTRIBUTES (line 334) | class LUID_AND_ATTRIBUTES(Structure): method is_enabled (line 340) | def is_enabled(self): method enable (line 343) | def enable(self): method get_name (line 346) | def get_name(self): method __str__ (line 356) | def __str__(self): class TOKEN_PRIVILEGES (line 365) | class TOKEN_PRIVILEGES(Structure): class TOKEN_PRIVS (line 375) | class TOKEN_PRIVS(Structure): method get_array (line 381) | def get_array(self): method __iter__ (line 386) | def __iter__(self): class PROCESS_INFORMATION (line 390) | class PROCESS_INFORMATION(Structure): class STARTUPINFOW (line 399) | class STARTUPINFOW(Structure): method __init__ (line 421) | def __init__(self, *args, **kwargs): class ACL_HEADER (line 426) | class ACL_HEADER(Structure): class SECURITY_DESCRIPTOR (line 436) | class SECURITY_DESCRIPTOR(Structure): class SECURITY_ATTRIBUTES (line 451) | class SECURITY_ATTRIBUTES(Structure): class OSVERSIONINFOEXW (line 462) | class OSVERSIONINFOEXW(Structure): class PRIVILEGE_SET_HEADER (line 481) | class PRIVILEGE_SET_HEADER(Structure): class SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX (line 488) | class SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX(Structure): class STARTUPINFOEX (line 501) | class STARTUPINFOEX(Structure): method __init__ (line 507) | def __init__(self, *args, **kwargs): method __getattr__ (line 520) | def __getattr__(self, key): method __setattr__ (line 528) | def __setattr__(self, key, value): method setAttributes (line 537) | def setAttributes(self, attributes): class TOKEN_MANDATORY_LABEL (line 565) | class TOKEN_MANDATORY_LABEL(Structure): class GUID (line 712) | class GUID(Structure): class OBJECTS_AND_SID (line 721) | class OBJECTS_AND_SID(Structure): class OBJECTS_AND_NAME_W (line 733) | class OBJECTS_AND_NAME_W(Structure): class TRUSTEE_W_NAME (line 796) | class TRUSTEE_W_NAME(Union): class TRUSTEE_W (line 805) | class TRUSTEE_W(Structure): class ACE_HEADER (line 817) | class ACE_HEADER(Structure): class ACCESS_ALLOWED_ACE (line 831) | class ACCESS_ALLOWED_ACE(Structure): class EXPLICIT_ACCESS_W (line 874) | class EXPLICIT_ACCESS_W(Structure): class LSA_UNICODE_STRING (line 1033) | class LSA_UNICODE_STRING(Structure): class LSA_LAST_INTER_LOGON_INFO (line 1041) | class LSA_LAST_INTER_LOGON_INFO(Structure): class SECURITY_LOGON_SESSION_DATA (line 1049) | class SECURITY_LOGON_SESSION_DATA(Structure): function LsaSessionDataFlagsToStr (line 1098) | def LsaSessionDataFlagsToStr(flags): function FileTimeToUnix (line 1113) | def FileTimeToUnix(filetime): class WTS_SERVER_INFOW (line 1151) | class WTS_SERVER_INFOW(Structure): class WTS_SESSION_INFOW (line 1169) | class WTS_SESSION_INFOW(Structure): class WTSCLIENTW (line 1252) | class WTSCLIENTW(Structure): class WTSINFOW (line 1277) | class WTSINFOW(Structure): function mkzstring (line 1299) | def mkzstring(data): function mkaddress (line 1305) | def mkaddress(family, data): function StationNameByPid (line 1316) | def StationNameByPid(pid): function EnumerateWTS (line 1337) | def EnumerateWTS(): function EnumerateWTS (line 1430) | def EnumerateWTS(): function EnumerateLogonSessions (line 1498) | def EnumerateLogonSessions(): function GetUserName (line 1559) | def GetUserName(): function GetTokenSid (line 1575) | def GetTokenSid(hToken, exc=True): function EnablePrivilege (line 1607) | def EnablePrivilege(privilegeStr, hToken=None, exc=True): function ListSids (line 1678) | def ListSids(exc=False): function getProcessToken (line 1739) | def getProcessToken(pid): function get_thread_token (line 1758) | def get_thread_token(): function get_process_token (line 1776) | def get_process_token(): function gethTokenFromPid (line 1788) | def gethTokenFromPid(pid, exc=True): function ListCachedSids (line 1816) | def ListCachedSids(): function getSidToken (line 1823) | def getSidToken(token_sid): function impersonate_pid (line 1847) | def impersonate_pid(pid, close=True): function impersonate_sid (line 1864) | def impersonate_sid(sid, close=True): function _bootstrap_inner_patched (line 1897) | def _bootstrap_inner_patched(self): function impersonate_sid_long_handle (line 1914) | def impersonate_sid_long_handle(*args, **kwargs): function impersonate_pid_long_handle (line 1931) | def impersonate_pid_long_handle(*args, **kwargs): function impersonate_token (line 1948) | def impersonate_token(hToken): function isSystem (line 1980) | def isSystem(): function token_impersonated_as_system (line 1989) | def token_impersonated_as_system(hToken): function create_proc_as_sid (line 1993) | def create_proc_as_sid(sid, prog='cmd.exe', attributes=None, lpInfo=False): function getsystem (line 2015) | def getsystem(prog='cmd.exe'): class StartupInfoAttribute (line 2019) | class StartupInfoAttribute(object): method __init__ (line 2024) | def __init__(self, attribute, value): function start_proc_with_token (line 2029) | def start_proc_with_token( function rev2self (line 2110) | def rev2self(): function get_currents_privs (line 2121) | def get_currents_privs(): function can_get_admin_access (line 2154) | def can_get_admin_access(): function get_windows_version (line 2239) | def get_windows_version(): function access (line 2253) | def access(path, mode): function strsid (line 2357) | def strsid(sid, exc=True): function namebysid (line 2373) | def namebysid(sid, domain=None): function sidbyname (line 2403) | def sidbyname(name, domain=None): function _getfileinfo (line 2432) | def _getfileinfo(path, requested_information=0): function getfileowner (line 2470) | def getfileowner(path, as_sid=True): class Ace (line 2484) | class Ace(object): method __init__ (line 2489) | def __init__(self, ace_type, flags, mask, trustee): method _map_generic (line 2497) | def _map_generic(mask): method inherited (line 2508) | def inherited(self): # I method object_inherit (line 2511) | def object_inherit(self): # OI method container_inherit (line 2514) | def container_inherit(self): # CI method inherit_only (line 2517) | def inherit_only(self): # IO method no_propagate (line 2520) | def no_propagate(self): # NP method no_access (line 2523) | def no_access(self): # N method full_access (line 2526) | def full_access(self): # F method modify_access (line 2529) | def modify_access(self): # M method read_exec_access (line 2532) | def read_exec_access(self): # RX method read_only_access (line 2535) | def read_only_access(self): # R method write_only_access (line 2538) | def write_only_access(self): # W method delete_access (line 2541) | def delete_access(self): # D method get_file_rights (line 2544) | def get_file_rights(self): method granted_access (line 2586) | def granted_access(self, mask): method __str__ (line 2589) | def __str__(self): function getfileowneracls (line 2619) | def getfileowneracls(path): function create_new_process_from_ppid (line 2692) | def create_new_process_from_ppid(ppid, cmd): function get_integrity_level (line 2764) | def get_integrity_level(pid): FILE: pupy/packages/windows/all/pupwinutils/shellcode.py function allocate_exe (line 8) | def allocate_exe(shellcode): function exec_shellcode (line 30) | def exec_shellcode(shellcode): FILE: pupy/packages/windows/all/pupwinutils/wdigest.py function modifyKey (line 10) | def modifyKey(keyPath, regPath, value, root=HKEY_LOCAL_MACHINE): function queryValue (line 23) | def queryValue(keyPath, regPath, root=HKEY_LOCAL_MACHINE): function wdigest (line 36) | def wdigest(action): FILE: pupy/packages/windows/all/readlogs.py class Match (line 79) | class Match(object): method __init__ (line 84) | def __init__(self, value): method matches (line 105) | def matches(self, other): class EventLog (line 117) | class EventLog(object): method __init__ (line 126) | def __init__(self, source=None, max_iters=32768): method _iter_log_names (line 134) | def _iter_log_names(self): method get_types (line 175) | def get_types(self): method get_events_count (line 203) | def get_events_count(self): method get_events (line 221) | def get_events(self, logtype, server='', filter_event_id=None, fmt=Tru... method get_last_events (line 376) | def get_last_events(self, count=10, includes=[], excludes=[], eventid=... function get_last_events (line 436) | def get_last_events(count=10, includes=[], excludes=[], eventid=None, so... function lastlog (line 439) | def lastlog(): FILE: pupy/packages/windows/all/reg.py class FILETIME (line 41) | class FILETIME(Structure): function unpack_dword (line 239) | def unpack_dword(value, endian='<'): function value_to_bytes (line 254) | def value_to_bytes(value, ktype): function raise_on_error (line 294) | def raise_on_error(code): function QueryValueEx (line 301) | def QueryValueEx(key, value_name): function EnumValue (line 327) | def EnumValue(key, index, max_value_size=None, max_data_size=None): function EnumKey (line 364) | def EnumKey(key, index): function OpenKey (line 379) | def OpenKey(key, sub_key, access=KEY_READ, options=REG_OPTION_RESERVED): function CreateKey (line 394) | def CreateKey(key, sub_key, access=KEY_WRITE, options=REG_OPTION_RESERVED): function SetValueEx (line 406) | def SetValueEx(key, name, ktype, value): function DeleteKey (line 417) | def DeleteKey(key, subkey): function DeleteValue (line 423) | def DeleteValue(key, value): function CloseKey (line 429) | def CloseKey(key): class KeyIter (line 434) | class KeyIter(object): method __init__ (line 441) | def __init__(self, orig_name, key, sub, handle): method next (line 451) | def next(self): class Value (line 501) | class Value(object): method __init__ (line 504) | def __init__(self, parent, name, value, ktype): method raw (line 566) | def raw(self): method __str__ (line 569) | def __str__(self): method __int__ (line 572) | def __int__(self): method __repr__ (line 575) | def __repr__(self): class Key (line 584) | class Key(object): method __init__ (line 587) | def __init__(self, key, access=KEY_READ, create=False): method name (line 613) | def name(self): method parent (line 617) | def parent(self): method _open_key (line 620) | def _open_key(self, access=KEY_READ): method _query_value (line 635) | def _query_value(self, handle, attr): method __iter__ (line 647) | def __iter__(self): method __str__ (line 665) | def __str__(self): method __unicode__ (line 668) | def __unicode__(self): method __repr__ (line 671) | def __repr__(self): method __int__ (line 674) | def __int__(self): method __delitem__ (line 677) | def __delitem__(self, attr): method __getitem__ (line 698) | def __getitem__(self, attr): method __setitem__ (line 705) | def __setitem__(self, attr, value): function _search (line 725) | def _search( function search (line 863) | def search( function enum (line 894) | def enum(path=None): function set (line 916) | def set(path, name, value, create): function get (line 933) | def get(path, name): function rm (line 939) | def rm(path, name): FILE: pupy/packages/windows/all/uidle.py class LASTINPUTINFO (line 9) | class LASTINPUTINFO(Structure): function get_gui_idle (line 25) | def get_gui_idle(display=None): function get_idle (line 32) | def get_idle(): FILE: pupy/packages/windows/all/winpty.py class WinPty (line 57) | class WinPty(object): method __init__ (line 58) | def __init__(self): class WinPTYException (line 95) | class WinPTYException(Exception): method __init__ (line 96) | def __init__(self, code, message): function winpty_error (line 101) | def winpty_error(): class WinPTY (line 113) | class WinPTY(object): method __init__ (line 114) | def __init__(self, program, method write (line 217) | def write(self, data): method read (line 226) | def read(self, amount=8192): method read_loop (line 244) | def read_loop(self, read_cb): method resize (line 252) | def resize(self, cols, rows): method close (line 259) | def close(self): method __enter__ (line 280) | def __enter__(self): method __exit__ (line 283) | def __exit__(self, *args): FILE: pupy/packages/windows/all/wql.py function to_utf8 (line 9) | def to_utf8(data): function execute (line 24) | def execute(query): function execute_final (line 34) | def execute_final(query): FILE: pupy/pupylib/PupyCategories.py class PupyCategories (line 14) | class PupyCategories(object): method __init__ (line 15) | def __init__(self, pupsrv): method parse_categories (line 24) | def parse_categories(self): method is_os_compatible (line 40) | def is_os_compatible(self, mod, system): method get_module_from_path (line 49) | def get_module_from_path(self, shell_path): method get_categories (line 61) | def get_categories(self): method get_modules_by_category (line 64) | def get_modules_by_category(self, category, system=None): method get_shell_list (line 75) | def get_shell_list(self, start_text): FILE: pupy/pupylib/PupyClient.py class PupyClient (line 67) | class PupyClient(object): method __init__ (line 68) | def __init__(self, desc, pupsrv): method __str__ (line 116) | def __str__(self): method id (line 123) | def id(self): method _event_receiver (line 126) | def _event_receiver(self, eventid): method get_conf (line 129) | def get_conf(self): method short_name (line 137) | def short_name(self): method node (line 149) | def node(self): method is_unix (line 152) | def is_unix(self): method is_posix (line 155) | def is_posix(self): method is_linux (line 158) | def is_linux(self): method is_java (line 161) | def is_java(self): method is_android (line 164) | def is_android(self): method is_windows (line 167) | def is_windows(self): method is_solaris (line 172) | def is_solaris(self): method is_darwin (line 175) | def is_darwin(self): method platform (line 181) | def platform(self): method os_arch (line 196) | def os_arch(self): method arch (line 202) | def arch(self): method remote (line 207) | def remote(self, module, function=None, need_obtain=True): method remote_const (line 250) | def remote_const(self, module, variable): method _versioned_init (line 273) | def _versioned_init(self, version): method _legacy_init (line 312) | def _legacy_init(self): method load_dll (line 419) | def load_dll(self, modpath): method filter_new_modules (line 447) | def filter_new_modules(self, modules, dll, force=None, remote=False): method invalidate_packages (line 504) | def invalidate_packages(self, packages): method load_package (line 539) | def load_package( method unload_package (line 605) | def unload_package(self, module_name): method remote_load_package (line 609) | def remote_load_package(self, module_name): method remote_print_error (line 624) | def remote_print_error(self, msg): FILE: pupy/pupylib/PupyClientInitializer.py function _as_unicode (line 19) | def _as_unicode(x): function stdout_write (line 59) | def stdout_write(fd, s): function redirect_stdo (line 70) | def redirect_stdo(stdout, stderr): function redirect_stdio (line 82) | def redirect_stdio(stdin, stdout, stderr): function reset_stdo (line 90) | def reset_stdo(): function reset_stdio (line 100) | def reset_stdio(): function get_integrity_level (line 107) | def get_integrity_level(): function getUACLevel (line 244) | def getUACLevel(): function GetUserName (line 302) | def GetUserName(): function get_uuid (line 328) | def get_uuid(): FILE: pupy/pupylib/PupyCmd.py function bm_byte (line 85) | def bm_byte(x): function bm_byte (line 89) | def bm_byte(x): class ObjectStreamPipeConsumer (line 93) | class ObjectStreamPipeConsumer(Thread): method __init__ (line 99) | def __init__(self, pipe, write, nocrlf): method write (line 112) | def write(self, message): method close (line 128) | def close(self): method run (line 135) | def run(self): class ObjectStream (line 146) | class ObjectStream(object): method __init__ (line 149) | def __init__(self, display=None, stream=False, pipe=None): method write (line 156) | def write(self, data): method close (line 173) | def close(self): method flush (line 179) | def flush(self): method getvalue (line 182) | def getvalue(self): method is_stream (line 190) | def is_stream(self): method __nonzero__ (line 193) | def __nonzero__(self): class IOGroup (line 197) | class IOGroup(object): method __init__ (line 200) | def __init__(self, stdin, stdout, logger=None, pipe=None): method stdin (line 215) | def stdin(self): method stdout (line 219) | def stdout(self): method set_logger (line 222) | def set_logger(self, logger): method set_title (line 228) | def set_title(self, title): method as_bytes (line 231) | def as_bytes(self, msg): method close (line 234) | def close(self): method consize (line 242) | def consize(self): class RawTerminal (line 246) | class RawTerminal(IOGroup): method __init__ (line 262) | def __init__(self, stdin, stdout, shadow_screen=True): method _get_window_size (line 278) | def _get_window_size(self): method window_size (line 284) | def window_size(self): method _on_sigwinch (line 290) | def _on_sigwinch(self, signum, frame): method _stdin_read (line 296) | def _stdin_read(self): method __iter__ (line 317) | def __iter__(self): method __enter__ (line 396) | def __enter__(self): method __exit__ (line 411) | def __exit__(self, type, value, tb): method set_on_winch (line 422) | def set_on_winch(self, on_winch): method set_mapping (line 425) | def set_mapping(self, sequence, on_sequence): method write (line 436) | def write(self, data): method close (line 440) | def close(self): method consize (line 444) | def consize(self): method closed (line 448) | def closed(self): class PupyCmd (line 452) | class PupyCmd(cmd.Cmd): method __init__ (line 453) | def __init__(self, pupsrv): method _make_intro (line 512) | def _make_intro(self): method print_motd (line 517) | def print_motd(self, motd={}): method default (line 524) | def default(self, line): method inject (line 527) | def inject(self, line, clients_filter, message=None): method onecmd (line 532) | def onecmd(self, line): method execute (line 555) | def execute(self, line, clients_filter=None): method init_readline (line 592) | def init_readline(self): method cmdloop (line 600) | def cmdloop(self, intro=None): method init_completer (line 619) | def init_completer(self): method completenames (line 623) | def completenames(self, text, *ignored): method pre_input_hook (line 632) | def pre_input_hook(self): method emptyline (line 636) | def emptyline(self): method do_EOF (line 640) | def do_EOF(self, arg): method do_help (line 644) | def do_help(self, arg): method acquire_io (line 661) | def acquire_io(self, requirements, amount, background=False, pipe=None): method process (line 701) | def process(self, job, background=False, daemon=False, unique=False): method summary (line 714) | def summary(self, job): method display (line 731) | def display(self, text, nocrlf=False, to_bytes=False): method redraw_line (line 744) | def redraw_line(self, msg=b''): method display_srvinfo (line 770) | def display_srvinfo(self, msg): method display_success (line 774) | def display_success(self, msg): method display_error (line 777) | def display_error(self, msg): method display_warning (line 780) | def display_warning(self, msg): method display_info (line 783) | def display_info(self, msg): method postcmd (line 786) | def postcmd(self, stop, line): method complete (line 791) | def complete(self, text, state): method _complete_path (line 814) | def _complete_path(self, path=None): method complete_read (line 833) | def complete_read(self, text, line, begidx, endidx): class PupyCmdLoop (line 839) | class PupyCmdLoop(object): method __init__ (line 840) | def __init__(self, pupyServer): method loop (line 845) | def loop(self): method stop (line 857) | def stop(self): FILE: pupy/pupylib/PupyCompile.py class Compiler (line 31) | class Compiler(ast.NodeTransformer): method __init__ (line 32) | def __init__(self, data, path=False, main=False, docstrings=False): method compile (line 63) | def compile(self, filename, obfuscate=False, raw=False, magic=b'\x00'*8): method visit_If (line 93) | def visit_If(self, node): method visit_Expr (line 117) | def visit_Expr(self, node): method visit_Assign (line 130) | def visit_Assign(self, node): function pupycompile (line 143) | def pupycompile( function pcompile (line 187) | def pcompile(fake_filepath, filepath, main=False, docstrings=False): FILE: pupy/pupylib/PupyCompleter.py function package_completer (line 36) | def package_completer(module, args, text, context): function commands_completer (line 75) | def commands_completer(module, args, text, context): function list_completer (line 91) | def list_completer(lines): function void_completer (line 97) | def void_completer(module, args, text, context): function remote_path_completer (line 101) | def remote_path_completer(module, args, text, context, dirs=None): function remote_dirs_completer (line 128) | def remote_dirs_completer(module, args, text, context): function remote_files_completer (line 132) | def remote_files_completer(module, args, text, context): function path_completer (line 136) | def path_completer(module, args, text, context): function module_name_completer (line 159) | def module_name_completer(module, args, text, context): function module_args_completer (line 172) | def module_args_completer(module, args, text, context): class CompletionContext (line 186) | class CompletionContext(object): method __init__ (line 192) | def __init__(self, server, handler, config, commands): class PupyModCompleter (line 199) | class PupyModCompleter(object): method __init__ (line 200) | def __init__(self, parser): method add_positional_arg (line 208) | def add_positional_arg(self, names, **kwargs): method add_optional_arg (line 216) | def add_optional_arg(self, names, **kwargs): method get_optional_nargs (line 224) | def get_optional_nargs(self, name): method get_optional_args (line 235) | def get_optional_args(self, nargs=None): method get_positional_args (line 246) | def get_positional_args(self): method get_positional_arg_index (line 249) | def get_positional_arg_index(self, text, tab, context): method get_optional_args_completer (line 301) | def get_optional_args_completer(self, name): method get_positional_args_completer (line 306) | def get_positional_args_completer(self, index): method complete (line 310) | def complete(self, module, args, text, context): FILE: pupy/pupylib/PupyConfig.py class Tags (line 52) | class Tags(object): method __init__ (line 53) | def __init__(self, config, node): method __iter__ (line 57) | def __iter__(self): method get (line 61) | def get(self): method set (line 70) | def set(self, tags): method add (line 79) | def add(self, *tags): method remove (line 85) | def remove(self, *tags): method clear (line 96) | def clear(self): method __str__ (line 99) | def __str__(self): class PupyConfig (line 103) | class PupyConfig(RawConfigParser): method __init__ (line 105) | def __init__(self, config='pupy.conf'): method tags (line 139) | def tags(self, node): method by_tags (line 145) | def by_tags(self, tags): method save (line 172) | def save(self, project=True, user=False): method get_path (line 193) | def get_path(self, filepath, substitutions={}, create=True, dir=False): method get_folder (line 265) | def get_folder(self, folder='data', substitutions={}, create=True): method get_file (line 268) | def get_file(self, folder='data', substitutions={}, create=True): method remove_option (line 271) | def remove_option(self, section, key): method set (line 290) | def set(self, section, key, value, **kwargs): method getboolean (line 328) | def getboolean(self, section, option, default=False): method get (line 342) | def get( method getip (line 376) | def getip(self, section, option, default=None): method sections (line 383) | def sections(self): method options (line 396) | def options(self, section): FILE: pupy/pupylib/PupyCredentials.py function bord (line 52) | def bord(x): class EncryptionError (line 67) | class EncryptionError(Exception): class GnomeKeyring (line 71) | class GnomeKeyring(object): method __init__ (line 72) | def __init__(self): method get_pass (line 87) | def get_pass(self): method store_pass (line 105) | def store_pass(self, password): method del_pass (line 121) | def del_pass(self): class Encryptor (line 133) | class Encryptor(object): method __init__ (line 137) | def __init__(self, password): method initialized (line 141) | def initialized(): method instance (line 145) | def instance(password=None, getpass_hook=None, config=None): method derive_key_and_iv (line 173) | def derive_key_and_iv(self, salt, key_length, iv_length): method encrypt (line 180) | def encrypt(self, in_file, out_file, key_length=32): method decrypt (line 197) | def decrypt(self, in_file, out_file, key_length=32): function _generate_password (line 240) | def _generate_password(length): function _generate_id (line 247) | def _generate_id(length): function _generate_ecpv_keypair (line 254) | def _generate_ecpv_keypair(curve='brainpoolP160r1'): function _generate_rsa_keypair (line 258) | def _generate_rsa_keypair(bits=2048): function _generate_ssl_ca (line 270) | def _generate_ssl_ca(): function _generate_ssl_keypair (line 304) | def _generate_ssl_keypair( function _generate_ecpv_keypair_bp384 (line 355) | def _generate_ecpv_keypair_bp384(): function _generate_rsa_keypair_4096 (line 359) | def _generate_rsa_keypair_4096(): function _generate_path_secret (line 364) | def _generate_path_secret(): function _generate_bind_payloads_password (line 369) | def _generate_bind_payloads_password(): function _generate_ecpv_rc4 (line 375) | def _generate_ecpv_rc4(): function _generate_rsa_keys (line 390) | def _generate_rsa_keys(): function _generate_dnscnc_v1_keys (line 404) | def _generate_dnscnc_v1_keys(): function _generate_dnscnc_v2_keys (line 413) | def _generate_dnscnc_v2_keys(): function _generate_simple_rsa_keys (line 423) | def _generate_simple_rsa_keys(): function gen_identifier (line 434) | def gen_identifier(cert, dig='sha256'): function _generate_apk_keypair (line 442) | def _generate_apk_keypair(): function _generate_pki_ssl_keys (line 470) | def _generate_pki_ssl_keys(): class Credentials (line 509) | class Credentials(object): method __init__ (line 544) | def __init__(self, role=None, password=None, config=None, validate=Fal... method _generate (line 564) | def _generate(self, password): method save (line 610) | def save(self, password=None): method _load (line 654) | def _load(self, password): method __getitem__ (line 706) | def __getitem__(self, key): method __setitem__ (line 721) | def __setitem__(self, key, value): method __iter__ (line 724) | def __iter__(self): FILE: pupy/pupylib/PupyDnsCnc.py class PupyDnsActivationHandler (line 48) | class PupyDnsActivationHandler(object): method __init__ (line 51) | def __init__(self, config): method __contains__ (line 54) | def __contains__(self, seed): method __getitem__ (line 57) | def __getitem__(self, seed): class PupyDnsCommandServerHandler (line 61) | class PupyDnsCommandServerHandler(DnsCommandServerHandler): method __init__ (line 62) | def __init__(self, *args, **kwargs): method _kex_is_disabled (line 82) | def _kex_is_disabled(self, node): method _whitelist (line 108) | def _whitelist(self, nodeid, cid, version): method on_new_session (line 129) | def on_new_session(self, session): method on_session_cleaned_up (line 135) | def on_session_cleaned_up(self, session): method on_online_status (line 140) | def on_online_status(self, session): method on_egress_ports (line 145) | def on_egress_ports(self, session): method on_pstore (line 150) | def on_pstore(self, session): method on_user_become_active (line 154) | def on_user_become_active(self, session): method on_user_become_inactive (line 158) | def on_user_become_inactive(self, session): method on_users_increment (line 162) | def on_users_increment(self, session): method on_users_decrement (line 167) | def on_users_decrement(self, session): method on_high_resource_usage (line 172) | def on_high_resource_usage(self, session): method on_custom_event (line 178) | def on_custom_event(self, eventid, session, node): method onlinestatus (line 192) | def onlinestatus(self, node=None, default=False): method scan (line 196) | def scan(self, host, first, last, node=None, default=False): method connect (line 200) | def connect(self, address, port, transport, hostname, node=None, defau... method disconnect (line 243) | def disconnect(self, node=None, default=False): method reexec (line 246) | def reexec(self, node=None, default=False): method sleep (line 249) | def sleep(self, timeout, node=None, default=False): method exit (line 252) | def exit(self, node=None, default=False): method proxy (line 255) | def proxy(self, uri, node=None, default=False): method dexec (line 282) | def dexec(self, url, action, proxy=False, node=None, default=None): method pastelink (line 288) | def pastelink(self, url, action, node=None, default=None): method find_nodes (line 294) | def find_nodes(self, node): method find_sessions (line 317) | def find_sessions(self, spi=None, node=None): class PupyDnsCnc (line 360) | class PupyDnsCnc(object): method __init__ (line 361) | def __init__( method stop (line 428) | def stop(self): method list (line 431) | def list(self, node=None): method nodes (line 435) | def nodes(self, node): method connect (line 438) | def connect(self, host, port, transport, hostname=None, node=None, def... method scan (line 501) | def scan(self, *args, **kwargs): method onlinestatus (line 504) | def onlinestatus(self, **kwargs): method disconnect (line 507) | def disconnect(self, **kwargs): method exit (line 510) | def exit(self, **kwargs): method sleep (line 513) | def sleep(self, *args, **kwargs): method reexec (line 516) | def reexec(self, **kwargs): method reset (line 519) | def reset(self, **kwargs): method dexec (line 522) | def dexec(self, *args, **kwargs): method proxy (line 525) | def proxy(self, *args, **kwargs): method pastelink (line 528) | def pastelink(self, content=None, output=None, url=None, method policy (line 573) | def policy(self): method set_policy (line 580) | def set_policy(self, *args, **kwargs): method dirty (line 584) | def dirty(self): method count (line 592) | def count(self): method commands (line 596) | def commands(self): method node_commands (line 600) | def node_commands(self): FILE: pupy/pupylib/PupyErrors.py class PupyModuleExit (line 20) | class PupyModuleExit(BaseException): class PupyModuleError (line 23) | class PupyModuleError(BaseException): class PupyModuleUsageError (line 26) | class PupyModuleUsageError(BaseException): class PupyModuleDisabled (line 29) | class PupyModuleDisabled(ValueError): class PupyModuleNotFound (line 32) | class PupyModuleNotFound(ValueError): FILE: pupy/pupylib/PupyJob.py function _async_raise (line 35) | def _async_raise(tid, exctype): class Thread (line 48) | class Thread(threading.Thread): method _get_my_tid (line 49) | def _get_my_tid(self): method raise_exc (line 66) | def raise_exc(self, exctype): method stop (line 70) | def stop(self): class ThreadPool (line 75) | class ThreadPool(object): method __init__ (line 76) | def __init__(self): method apply_async (line 80) | def apply_async(self, func, args): method interrupt_all (line 86) | def interrupt_all(self): method interrupt (line 92) | def interrupt(self): method join (line 95) | def join(self, timeout=5, on_interrupt=None): method all_finished (line 118) | def all_finished(self): class PupyJob (line 125) | class PupyJob(object): method __init__ (line 128) | def __init__(self, pupsrv, module, name, args): method module (line 144) | def module(self): method clients (line 148) | def clients(self): method add_module (line 153) | def add_module(self, mod): method stop (line 156) | def stop(self): method module_worker (line 163) | def module_worker(self, module, once): method start (line 214) | def start(self, once=False): method interrupt (line 238) | def interrupt(self): method interactive_wait (line 269) | def interactive_wait(self): method check (line 277) | def check(self): method is_finished (line 301) | def is_finished(self): method free (line 304) | def free(self): method __len__ (line 313) | def __len__(self): method __str__ (line 316) | def __str__(self): FILE: pupy/pupylib/PupyLogger.py function getLogger (line 10) | def getLogger(name): FILE: pupy/pupylib/PupyModule.py function json_string (line 70) | def json_string(x): function json_string (line 76) | def json_string(x): class IgnoreModule (line 95) | class IgnoreModule(Exception): class PupyArgumentParserWrap (line 99) | class PupyArgumentParserWrap(object): method __init__ (line 100) | def __init__(self, base, wrapped): method __call__ (line 104) | def __call__(self, *args, **kwargs): method __getattr__ (line 107) | def __getattr__(self, name): class PupyArgumentParserRef (line 145) | class PupyArgumentParserRef(argparse._ActionsContainer): method add_argument (line 146) | def add_argument(self, *args, **kwargs): method add_argument_group (line 169) | def add_argument_group(self, *args, **kwargs): method add_mutually_exclusive_group (line 177) | def add_mutually_exclusive_group(self, *args, **kwargs): method get_completer (line 185) | def get_completer(self): class PupyArgumentParser (line 194) | class PupyArgumentParser(argparse.ArgumentParser, PupyArgumentParserRef): method __init__ (line 195) | def __init__(self, *args, **kwargs): method exit (line 203) | def exit(self, status=0, message=None): method error (line 206) | def error(self, message): class Log (line 210) | class Log(object): method __init__ (line 211) | def __init__( method write (line 270) | def write(self, data): method flush (line 313) | def flush(self): method close (line 320) | def close(self): method isatty (line 332) | def isatty(self): method getvalue (line 335) | def getvalue(self): method fileno (line 343) | def fileno(self): method truncate (line 346) | def truncate(self, size=0): method readline (line 353) | def readline(self, size=None): method readlines (line 356) | def readlines(self, size=None): method read (line 359) | def read(self, size=None): class PupyModuleMetaclass (line 363) | class PupyModuleMetaclass(type): method __init__ (line 364) | def __init__(self, *args, **kwargs): class PupyModule (line 369) | class PupyModule(with_metaclass(PupyModuleMetaclass)): method __init__ (line 410) | def __init__(self, client, job, io, log=None): method init_argparse (line 421) | def init_argparse(cls): method parse (line 426) | def parse(cls, cmdline): method init (line 437) | def init(self, args): method config (line 480) | def config(self): method get_name (line 487) | def get_name(cls): method import_dependencies (line 490) | def import_dependencies(self): method clean_dependencies (line 502) | def clean_dependencies(self): method start_webplugin (line 509) | def start_webplugin(self): method is_compatible_with (line 516) | def is_compatible_with(cls, client): method is_compatible (line 536) | def is_compatible(self): method is_daemon (line 544) | def is_daemon(self): method stop_daemon (line 547) | def stop_daemon(self): method run (line 551) | def run(self, args): method encode (line 559) | def encode(self, msg): method _message (line 567) | def _message(self, msg): method rawlog (line 576) | def rawlog(self, msg): method log (line 580) | def log(self, msg): method error (line 583) | def error(self, msg, extended=False): method warning (line 586) | def warning(self, msg): method success (line 589) | def success(self, msg): method info (line 592) | def info(self, msg): method newline (line 595) | def newline(self, lines=1): method table (line 598) | def table( method closeio (line 608) | def closeio(self): function config (line 615) | def config(**kwargs): FILE: pupy/pupylib/PupyOffload.py class OffloadProxyCommonError (line 48) | class OffloadProxyCommonError(Exception): class MsgPackMessages (line 52) | class MsgPackMessages(object): method __init__ (line 53) | def __init__(self, conn): method recv (line 56) | def recv(self): method send (line 68) | def send(self, msg): class PupyOffloadDNS (line 75) | class PupyOffloadDNS(threading.Thread): method __init__ (line 78) | def __init__(self, manager, handler, domain): method run (line 90) | def run(self): method _serve (line 115) | def _serve(self): method stop (line 141) | def stop(self): class PupyOffloadSocket (line 152) | class PupyOffloadSocket(object): method __init__ (line 153) | def __init__(self, sock, lhost, lport, rhost, rport): method getsockname (line 158) | def getsockname(self): method getpeername (line 161) | def getpeername(self): method __getattr__ (line 164) | def __getattr__(self, attr): class PupyOffloadAcceptor (line 170) | class PupyOffloadAcceptor(object): method __init__ (line 171) | def __init__(self, manager, proto, port=None, extra={}, mtu=0): method bind (line 181) | def bind(self, addr): method listen (line 184) | def listen(self, cnt): method settimeout (line 187) | def settimeout(self, **args): method shutdown (line 190) | def shutdown(self, arg): method close (line 193) | def close(self, **args): method accept (line 199) | def accept(self): class PupyOffloadManager (line 254) | class PupyOffloadManager(object): method __init__ (line 255) | def __init__(self, server, ca, key, crt, via): method dns (line 306) | def dns(self, handler, domain): method tcp (line 309) | def tcp(self, port, extra={}): method kcp (line 312) | def kcp(self, port, extra={}): method ssl (line 317) | def ssl(self, port, extra={}): method external (line 321) | def external(self): method request (line 324) | def request(self, conntype, bind='', timeout=0, mtu=0): FILE: pupy/pupylib/PupyOutput.py class Hint (line 9) | class Hint(object): class Text (line 13) | class Text(Hint): method __init__ (line 16) | def __init__(self, data): method __repr__ (line 19) | def __repr__(self): method __str__ (line 24) | def __str__(self): class Hex (line 30) | class Hex(Text): method __init__ (line 33) | def __init__(self, data, colorize=False): class Table (line 38) | class Table(Text): method __init__ (line 41) | def __init__( class List (line 51) | class List(Text): method __init__ (line 54) | def __init__(self, data, bullet='+', indent=2, caption=None): class Stream (line 62) | class Stream(Text): class Line (line 66) | class Line(Text): method __init__ (line 69) | def __init__(self, *data): class TruncateToTerm (line 74) | class TruncateToTerm(Text): class Color (line 78) | class Color(Text): method __init__ (line 81) | def __init__(self, data, color): class Title (line 86) | class Title(Text): class MultiPart (line 90) | class MultiPart(Text): class NewLine (line 94) | class NewLine(Text): method __init__ (line 97) | def __init__(self, lines=1): class Log (line 101) | class Log(Text): class Info (line 105) | class Info(Text): class ServiceInfo (line 109) | class ServiceInfo(Text): class Warn (line 113) | class Warn(Text): class Error (line 117) | class Error(Text): method __init__ (line 120) | def __init__(self, error, header=None): class Success (line 125) | class Success(Text): class Section (line 129) | class Section(Text): method __init__ (line 132) | def __init__(self, header, data=None, level=0): class Usage (line 138) | class Usage(Text): method __init__ (line 141) | def __init__(self, module, data): class Pygment (line 146) | class Pygment(Text): method __init__ (line 149) | def __init__(self, lexer, data): class Interact (line 154) | class Interact(Hint): class Indent (line 158) | class Indent(Text): method __init__ (line 161) | def __init__(self, data, indent=2): class Prompt (line 166) | class Prompt(Interact): method __init__ (line 169) | def __init__(self, request, hide=False): class Terminal (line 174) | class Terminal(Hint): FILE: pupy/pupylib/PupyServer.py class ListenerException (line 114) | class ListenerException(Exception): class PupyKCPSocketStream (line 118) | class PupyKCPSocketStream(PupySocketStream): method __init__ (line 119) | def __init__(self, *args, **kwargs): class Listener (line 124) | class Listener(Thread): method __init__ (line 125) | def __init__( method init (line 280) | def init(self): method run (line 341) | def run(self): method close (line 347) | def close(self): method __del__ (line 362) | def __del__(self): method __str__ (line 365) | def __str__(self): class PupyServer (line 403) | class PupyServer(object): method __init__ (line 409) | def __init__(self, config, credentials): method get_listeners (line 527) | def get_listeners(self): method address (line 531) | def address(self): method port (line 540) | def port(self): method start_webserver (line 545) | def start_webserver(self, motd=False): method create_id (line 561) | def create_id(self): method move_id (line 568) | def move_id(self, dst_id, src_id): method free_id (line 609) | def free_id(self, id): method register_handler (line 616) | def register_handler(self, instance): method _whitelist (line 631) | def _whitelist(self, nodeid, cid): method add_client (line 655) | def add_client(self, conn): method remove_client (line 767) | def remove_client(self, conn): method get_clients (line 783) | def get_clients(self, search_criteria): method get_clients_list (line 858) | def get_clients_list(self): method iter_modules (line 861) | def iter_modules(self, by_clients=False, clients_filter=None): method get_module_name_from_category (line 888) | def get_module_name_from_category(self, modpath): method get_aliased_modules (line 901) | def get_aliased_modules(self): method _refresh_modules (line 914) | def _refresh_modules(self, force=False): method get_module (line 975) | def get_module(self, name): method module_parse_args (line 1037) | def module_parse_args(self, module_name, args): method del_job (line 1050) | def del_job(self, job_id): method add_job (line 1056) | def add_job(self, job): method get_job (line 1061) | def get_job(self, job_id): method create_virtual_connection (line 1071) | def create_virtual_connection(self, transport, peer): method connect_on_client (line 1119) | def connect_on_client(self, launcher): method start (line 1152) | def start(self): method add_listener (line 1170) | def add_listener(self, name, config=None, motd=False, ignore_pproxy=Fa... method display (line 1247) | def display(self, message, error=False, motd=False): method info (line 1259) | def info(self, message, error=False): method remove_listener (line 1267) | def remove_listener(self, name): method serve_content (line 1276) | def serve_content(self, payload, alias=None): method web_handler_enabled (line 1306) | def web_handler_enabled(self): method web_handler_port (line 1310) | def web_handler_port(self): method register_cleanup (line 1317) | def register_cleanup(self, cleanup): method single (line 1320) | def single(self, ctype, *args, **kwargs): method stop (line 1328) | def stop(self): FILE: pupy/pupylib/PupyService.py class PupyService (line 56) | class PupyService(Service): method __init__ (line 57) | def __init__(self, *args, **kwargs): method exposed_on_connect (line 85) | def exposed_on_connect(self): method exposed_initialize_v2 (line 146) | def exposed_initialize_v2( method register_local_cleanup (line 202) | def register_local_cleanup(self, cleanup): method unregister_local_cleanup (line 205) | def unregister_local_cleanup(self, cleanup): method single (line 208) | def single(self, ctype, *args, **kwargs): method on_disconnect (line 216) | def on_disconnect(self): method exposed_set_modules (line 225) | def exposed_set_modules(self, modules): method exposed_msgpack_dumps (line 271) | def exposed_msgpack_dumps(self, js, compressed=False): method exposed_json_dumps (line 278) | def exposed_json_dumps(self, js, compressed=False): method exposed_broadcast_event (line 285) | def exposed_broadcast_event(self, eventid, *args, **kwargs): class PupyBindService (line 292) | class PupyBindService(PupyService): method exposed_get_password (line 293) | def exposed_get_password(self): FILE: pupy/pupylib/PupySignalHandler.py function set_signal_winch (line 13) | def set_signal_winch(handler): function signal_winch (line 20) | def signal_winch(signum, frame): FILE: pupy/pupylib/PupyTriggers.py class EventRegistrationException (line 78) | class EventRegistrationException(Exception): method __init__ (line 79) | def __init__(self, eventid): class UnregisteredEventId (line 83) | class UnregisteredEventId(EventRegistrationException): method __str__ (line 84) | def __str__(self): class RegisteredEventId (line 87) | class RegisteredEventId(EventRegistrationException): method __str__ (line 88) | def __str__(self): class RegistrationNotAllowed (line 91) | class RegistrationNotAllowed(EventRegistrationException): method __str__ (line 92) | def __str__(self): function register_event_id (line 96) | def register_event_id(eventid, name, scope=CLIENT): function unregister_event_id (line 118) | def unregister_event_id(eventid, scope=CLIENT): function event_to_string (line 126) | def event_to_string(eventid): function event_to_config_section (line 133) | def event_to_config_section(eventid): function _event (line 137) | def _event(eventid, client, server, handler, triggers, config, **kwargs): function event (line 228) | def event(eventid, client, server, **kwargs): FILE: pupy/pupylib/PupyWeb.py function setup_local_ips (line 48) | def setup_local_ips(klass, kwargs): class ErrorHandler (line 76) | class ErrorHandler(TornadoErrorHandler): method initialize (line 77) | def initialize(self, **kwargs): method set_default_headers (line 81) | def set_default_headers(self): class WebSocketHandler (line 85) | class WebSocketHandler(TornadoWebSocketHandler): method initialize (line 86) | def initialize(self, **kwargs): method set_default_headers (line 90) | def set_default_headers(self): method prepare (line 93) | def prepare(self, *args, **kwargs): class RequestHandler (line 104) | class RequestHandler(TornadoRequestHandler): method initialize (line 105) | def initialize(self, **kwargs): method set_default_headers (line 109) | def set_default_headers(self): method prepare (line 112) | def prepare(self, *args, **kwargs): class StaticTextHandler (line 122) | class StaticTextHandler(TornadoRequestHandler): method initialize (line 123) | def initialize(self, **kwargs): method set_default_headers (line 129) | def set_default_headers(self): method get (line 132) | async def get(self): class PayloadsHandler (line 136) | class PayloadsHandler(TornadoStaticFileHandler): method set_default_headers (line 137) | def set_default_headers(self): method initialize (line 140) | def initialize(self, **kwargs): method get_absolute_path (line 148) | def get_absolute_path(self, root, filepath): class IndexHandler (line 162) | class IndexHandler(tornado.web.RequestHandler): method initialize (line 163) | def initialize(self, **kwargs): method set_default_headers (line 167) | def set_default_headers(self): method get (line 170) | async def get(self): class PupyWebServer (line 177) | class PupyWebServer(object): method __init__ (line 178) | def __init__(self, pupsrv, config): method log (line 214) | def log(self, handler): method start (line 230) | def start(self): method stop (line 271) | def stop(self): method get_random_path_at_webroot (line 290) | def get_random_path_at_webroot(self): method random_path (line 298) | def random_path(self): method register_mapping (line 301) | def register_mapping(self, name, path): method is_registered (line 307) | def is_registered(self, name): method serve_content (line 310) | def serve_content(self, content, alias=None, as_file=True): method start_webplugin (line 338) | def start_webplugin(self, name, web_handlers, cleanup=None): method stop_webplugin (line 379) | def stop_webplugin(self, name): FILE: pupy/pupylib/PythonCompleter.py class PythonCompleter (line 7) | class PythonCompleter: method __init__ (line 8) | def __init__(self, local_ns=None, global_ns=None): method complete (line 18) | def complete(self, text, state): method _callable_postfix (line 29) | def _callable_postfix(self, val, word): method var_matches (line 34) | def var_matches(self, text): method attr_matches (line 44) | def attr_matches(self, text): function get_class_members (line 95) | def get_class_members(klass): FILE: pupy/pupylib/payloads/dependencies.py class BinaryObjectError (line 37) | class BinaryObjectError(ValueError): class UnsafePathError (line 41) | class UnsafePathError(ValueError): class NotFoundError (line 45) | class NotFoundError(NameError): class IgnoreFileException (line 49) | class IgnoreFileException(Exception): class Target (line 53) | class Target(object): method __init__ (line 59) | def __init__(self, python, platform=None, debug=False, purepy=False): method native (line 87) | def native(self): method purepy (line 91) | def purepy(self): method so (line 95) | def so(self): method pyver (line 99) | def pyver(self): method platform (line 103) | def platform(self): method pyver_str (line 110) | def pyver_str(self): method __repr__ (line 113) | def __repr__(self): function remove_dt_needed (line 236) | def remove_dt_needed(data, libname): function safe_file_exists (line 271) | def safe_file_exists(f): function dict2code (line 278) | def dict2code(d): function bootstrap (line 282) | def bootstrap(stdlib, config, autostart=True, purepy=False): function importer (line 369) | def importer( function modify_native_content (line 399) | def modify_native_content(target, filename, content): function get_py_encoding (line 417) | def get_py_encoding(content): function get_content (line 436) | def get_content(target, prefix, filepath, archive=None, honor_ignore=True): function from_path (line 506) | def from_path( function paths (line 654) | def paths(target): function _dependencies (line 692) | def _dependencies(target, module_name, dependencies): function rename_cext_path (line 707) | def rename_cext_path(target, path): function _package (line 727) | def _package( function package (line 891) | def package( function add_missing_init (line 948) | def add_missing_init(target, modules): function bundle (line 967) | def bundle(target): function dll (line 989) | def dll(target, name, honor_ignore=True): FILE: pupy/pupylib/payloads/dotnet.py class DotNetPayload (line 34) | class DotNetPayload(object): method __init__ (line 35) | def __init__( method gen_source (line 46) | def gen_source(self, random_path=False): method gen_exe (line 74) | def gen_exe(self, options=''): function dotnet_serve_payload (line 159) | def dotnet_serve_payload(display, server, rawdll, conf, link_ip=None): FILE: pupy/pupylib/payloads/ps1_oneliner.py function serve_ps1_payload (line 25) | def serve_ps1_payload( function send_ps1_payload (line 126) | def send_ps1_payload(display, conf, bind_port, target_ip, nothidden=False): FILE: pupy/pupylib/payloads/py_oneliner.py function getLinuxImportedModules (line 21) | def getLinuxImportedModules(): function pack_py_payload (line 30) | def pack_py_payload(target, display, conf, autostart=True, purepy=True): function serve_payload (line 60) | def serve_payload(display, server, payload, link_ip=None): FILE: pupy/pupylib/payloads/rubber_ducky.py class rubber_ducky (line 16) | class rubber_ducky(): method __init__ (line 23) | def __init__(self, display, conf, pupy_conf, link_port=8080, targetOs=... method createRubberDuckyScriptForWindowsTarget (line 45) | def createRubberDuckyScriptForWindowsTarget(self): method generateInjectBinFile (line 54) | def generateInjectBinFile(self): method __loadRubberDuckyConf__ (line 76) | def __loadRubberDuckyConf__(self): method generateAllForOStarget (line 93) | def generateAllForOStarget(self): FILE: pupy/pupylib/utils/arch.py function make_os_arch (line 7) | def make_os_arch(os_arch): function make_template_arch (line 19) | def make_template_arch(os_arch): function make_proc_arch (line 32) | def make_proc_arch(os_arch, proc_arch): function is_native (line 72) | def is_native(os_arch, proc_arch, pyver): function same_as_local_arch (line 85) | def same_as_local_arch(os_arch, proc_arch): FILE: pupy/pupylib/utils/common.py function getLocalAndroidPath (line 10) | def getLocalAndroidPath(localFolder, androidID, userName): FILE: pupy/pupylib/utils/credentials.py class EncryptionError (line 20) | class EncryptionError(Exception): class Credentials (line 24) | class Credentials(object): method __init__ (line 25) | def __init__(self, client=None, config=None, password=None): method _save_db (line 42) | def _save_db(self, data): method _db_is_encrypted (line 50) | def _db_is_encrypted(self): method _load_db (line 55) | def _load_db(self): method add (line 72) | def add(self, data, cid=None): method display (line 112) | def display(self, search=None, is_sorted=False): method remove (line 205) | def remove(self): FILE: pupy/pupylib/utils/downloader.py function download (line 8) | def download(url, to): FILE: pupy/pupylib/utils/jarsigner.py function jarsigner (line 13) | def jarsigner(pem_priv, pem_cert, apk_path, dest_fileobj): FILE: pupy/pupylib/utils/listener.py function get_listener_port (line 16) | def get_listener_port(config, external=False): function get_listener_ip_with_local (line 30) | def get_listener_ip_with_local(cache=True, external=False, config=None, ... function get_listener_ip (line 110) | def get_listener_ip(cache=True, external=False, config=None, igd=None): FILE: pupy/pupylib/utils/obfuscate.py function compress_encode_obfs (line 19) | def compress_encode_obfs(code, main=False, py=True): FILE: pupy/pupylib/utils/pe.py function get_pe_arch (line 11) | def get_pe_arch(*args, **kwargs): function is_dotnet_bin (line 27) | def is_dotnet_bin(*args): FILE: pupy/pupylib/utils/rpyc_utils.py function safe_obtain (line 32) | def safe_obtain(proxy): function obtain (line 75) | def obtain(proxy): function redirected_stdo (line 79) | def redirected_stdo(module, stdout=None, stderr=None): function redirected_stdio (line 102) | def redirected_stdio(module, stdout=None, stderr=None): FILE: pupy/pupylib/utils/term.py class AnyIOWrapper (line 52) | class AnyIOWrapper(object): method __init__ (line 55) | def __init__(self, pyfile): method fileno (line 61) | def fileno(self): method write (line 64) | def write(self, data): method flush (line 74) | def flush(self): function fix_stdout (line 77) | def fix_stdout(stdout): function fix_stdout (line 87) | def fix_stdout(stdout): function from_bytes (line 91) | def from_bytes(value, errors=None): function to_bytes (line 101) | def to_bytes(value): function consize (line 154) | def consize(file=None): function _size_windows (line 171) | def _size_windows(file=None): function _size_linux (line 188) | def _size_linux(file=None): function colorize (line 221) | def colorize(text, color, prompt=False): function terminal_size (line 250) | def terminal_size(): function remove_esc (line 262) | def remove_esc(s, coding=DEFAULT_MULTIBYTE_CP): function non_symbol_len (line 277) | def non_symbol_len(s, coding=DEFAULT_MULTIBYTE_CP): function symbol_len (line 289) | def symbol_len(s, coding=DEFAULT_MULTIBYTE_CP): function symbol_trunc (line 301) | def symbol_trunc(s, width, coding=DEFAULT_MULTIBYTE_CP): function deep_as_bytes (line 367) | def deep_as_bytes(obj): function get_columns_size (line 397) | def get_columns_size(columns): function table_as_bytes (line 409) | def table_as_bytes(diclist, wl=[], bl=[], truncate=None, legend=True): function as_term_bytes (line 461) | def as_term_bytes(text, width=0): FILE: pupy/scriptlets/__init__.py class AstCompiler (line 61) | class AstCompiler(Compiler): method __init__ (line 62) | def __init__(self): method add_ast (line 70) | def add_ast(self, ast): class ScriptletArgumentError (line 77) | class ScriptletArgumentError(Exception): class Scriptlet (line 81) | class Scriptlet(object): method __init__ (line 88) | def __init__(self, name, description, dependencies, compatibility, arg... function select_body_by_os (line 97) | def select_body_by_os(item, target_os): function str_to_int (line 115) | def str_to_int(value): class ScriptletsPacker (line 127) | class ScriptletsPacker(object): method __init__ (line 128) | def __init__(self, os=None, arch=None): method add_scriptlet (line 133) | def add_scriptlet(self, scriptlet, kwargs={}): method pack (line 136) | def pack(self): function parse_scriptlet (line 303) | def parse_scriptlet(filedir, filename): function iterate_scriptlet_files (line 365) | def iterate_scriptlet_files(): function load_scriptlets (line 387) | def load_scriptlets(target_os, target_arch): FILE: pupy/scriptlets/daemonize.py function main (line 15) | def main(): FILE: pupy/scriptlets/hide_argv.py function main (line 19) | def main(name='compiz'): FILE: pupy/scriptlets/keylogger.py function main (line 19) | def main(): function main (line 25) | def main(): FILE: pupy/scriptlets/persistence.py function main (line 32) | def main(src=None, directory=None, filename=None, args=None, regkey=None... FILE: pupy/triggers/__init__.py class Triggers (line 12) | class Triggers(object): method __init__ (line 18) | def __init__(self): method _refresh (line 24) | def _refresh(self): method execute (line 70) | def execute(self, trigger_name, event_name, client, server, handler, c... FILE: pupy/triggers/example_trigger.py function execute (line 7) | def execute(event_name, client, server, handler, config, **kwargs): FILE: pupy/triggers/notification.py function execute (line 13) | def execute(event_name, client, server, handler, config, **kwargs): FILE: services/echo/main.go function isHttpEchoRequest (line 23) | func isHttpEchoRequest(body []byte) bool { function handleConn (line 43) | func handleConn(conn net.Conn) { function tcpEchoServer (line 77) | func tcpEchoServer(listener net.Listener) { function udpEchoServer (line 93) | func udpEchoServer(listener *net.UDPConn) { function main (line 129) | func main() { FILE: services/proxy/daemon.go function NewDaemon (line 15) | func NewDaemon(addr string) *Daemon { method ListenAndServe (line 22) | func (d *Daemon) ListenAndServe() error { method onListenerEnabled (line 47) | func (d *Daemon) onListenerEnabled() { method onListenerDisabled (line 58) | func (d *Daemon) onListenerDisabled() { method handle (line 69) | func (d *Daemon) handle(conn net.Conn) { FILE: services/proxy/dns.go method serveDNS (line 17) | func (d *Daemon) serveDNS(conn net.Conn, domain string) error { method listenAndServeTCP (line 32) | func (p *DNSListener) listenAndServeTCP(cherr chan error) { method listenAndServeUDP (line 42) | func (p *DNSListener) listenAndServeUDP(cherr chan error) { method messageReader (line 52) | func (p *DNSListener) messageReader(cherr chan error, chmsg chan []strin... method responseProcessor (line 75) | func (p *DNSListener) responseProcessor(queue chan chan []string, recvSt... method sendEmptyMessage (line 108) | func (p *DNSListener) sendEmptyMessage() { method queryProcessor (line 112) | func (p *DNSListener) queryProcessor( function warnSlow (line 199) | func warnSlow(message string, now time.Time, max time.Duration) { method ServeDNS (line 209) | func (p *DNSListener) ServeDNS(w dns.ResponseWriter, r *dns.Msg) { function NewDNSListener (line 351) | func NewDNSListener(conn net.Conn, domain string) *DNSListener { method Serve (line 381) | func (p *DNSListener) Serve() error { method Shutdown (line 458) | func (p *DNSListener) Shutdown() { FILE: services/proxy/generate.go function GetOutboundIPv4 (line 19) | func GetOutboundIPv4() string { function GetOutboundIPv6 (line 31) | func GetOutboundIPv6() string { function CheckExternalBindHostIP (line 43) | func CheckExternalBindHostIP() bool { function getCN (line 80) | func getCN() string { function generateKeys (line 93) | func generateKeys() { FILE: services/proxy/limits_linux.go function init (line 10) | func init() { FILE: services/proxy/main.go function init (line 42) | func init() { function main (line 167) | func main() { FILE: services/proxy/message.go function SendError (line 13) | func SendError(conn net.Conn, err error) error { function SendKeepAlive (line 19) | func SendKeepAlive(conn net.Conn, tick time.Time) error { function SendMessage (line 26) | func SendMessage(conn net.Conn, msg interface{}) error { function RecvMessage (line 44) | func RecvMessage(conn net.Conn, msg interface{}) error { FILE: services/proxy/streams.go function NewNetReader (line 22) | func NewNetReader(mtu int, in, out net.Conn) *NetReader { method recv (line 31) | func (n *NetReader) recv() ([]byte, error) { method send (line 46) | func (n *NetReader) send(buffer []byte) error { method Serve (line 72) | func (n *NetReader) Serve() { method ReportError (line 88) | func (n *NetReader) ReportError(err error) { function NewNetForwarder (line 101) | func NewNetForwarder(pproxy, remote net.Conn) *NetForwarder { method sendRemoteConnectionInfo (line 108) | func (n *NetForwarder) sendRemoteConnectionInfo() error { method Serve (line 123) | func (n *NetForwarder) Serve(ctx context.Context, l7ready chan error, re... method Accept (line 166) | func (d *Daemon) Accept(in net.Conn, port int, createListener func(net.C... method Remove (line 198) | func (d *Daemon) Remove(port int) { method listenAcceptTCP (line 218) | func (d *Daemon) listenAcceptTCP(in net.Conn, port int) (net.Conn, error) { method listenAcceptTLS (line 236) | func (d *Daemon) listenAcceptTLS(in net.Conn, port int) (net.Conn, error) { function NewKCPConn (line 278) | func NewKCPConn(in net.Conn) net.Conn { method sendEOF (line 291) | func (c *KCPConn) sendEOF() { function compareId (line 298) | func compareId(id1, id2 []byte) bool { method Read (line 312) | func (c *KCPConn) Read(b []byte) (n int, err error) { method Write (line 354) | func (c *KCPConn) Write(b []byte) (n int, err error) { method Close (line 374) | func (c *KCPConn) Close() error { method LocalAddr (line 380) | func (c *KCPConn) LocalAddr() net.Addr { method RemoteAddr (line 384) | func (c *KCPConn) RemoteAddr() net.Addr { method SetDeadline (line 388) | func (c *KCPConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 392) | func (c *KCPConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 396) | func (c *KCPConn) SetWriteDeadline(t time.Time) error { method listenAcceptKCP (line 400) | func (d *Daemon) listenAcceptKCP(in net.Conn, port int) (net.Conn, error) { function l7KeepAliveSender (line 421) | func l7KeepAliveSender(ctx context.Context, conn net.Conn, cherr chan er... function l7KeepAliveReceiver (line 441) | func l7KeepAliveReceiver(ctx context.Context, conn net.Conn, cherr chan ... function withAccept (line 474) | func withAccept( function acceptOrWait (line 493) | func acceptOrWait( method serveStream (line 525) | func (d *Daemon) serveStream( FILE: services/proxy/types.go type Conn (line 14) | type Conn struct type KCPConn (line 20) | type KCPConn struct type Listener (line 28) | type Listener struct type ListenerProtocol (line 33) | type ListenerProtocol type BindRequestType (line 34) | type BindRequestType type PortMap (line 36) | type PortMap struct type BindRequestHeader (line 41) | type BindRequestHeader struct type DNSRequest (line 48) | type DNSRequest struct type DNSCacheRecord (line 54) | type DNSCacheRecord struct type ConnectionAcceptHeader (line 59) | type ConnectionAcceptHeader struct type DNSListener (line 68) | type DNSListener struct type Daemon (line 92) | type Daemon struct type IPInfo (line 105) | type IPInfo struct type Extra (line 109) | type Extra struct type TLSAcceptorConfig (line 114) | type TLSAcceptorConfig struct type KeepAlive (line 120) | type KeepAlive struct type NetReader (line 125) | type NetReader struct type NetForwarder (line 133) | type NetForwarder struct constant INFO (line 140) | INFO ListenerProtocol = 0 constant DNS (line 141) | DNS ListenerProtocol = iota constant TCP (line 142) | TCP ListenerProtocol = iota constant KCP (line 143) | KCP ListenerProtocol = iota constant TLS (line 144) | TLS ListenerProtocol = iota constant KCP_NEW (line 146) | KCP_NEW = 0x0 constant KCP_DAT (line 147) | KCP_DAT = 0x1 constant KCP_END (line 148) | KCP_END = 0x2