Commit Graph

128 Commits

Author SHA1 Message Date
Oleksii Shevchuk 0af2216ada Avoid "RuntimeError: dictionary changed size during iteration" 2017-03-08 19:41:14 +02:00
Oleksii Shevchuk ecdedfe5dd Schedule debug build in build.sh (windows) 2017-03-08 19:41:14 +02:00
Oleksii Shevchuk 04b3eb0f2c Create buildenv script for linux client 2017-03-08 19:41:14 +02:00
Oleksii Shevchuk 8bfae8bb50 Rework pupy basic configuration
Improve compression:
[+] LMZA everywhere (uniformed)
[+] Config space 40690 -> 8192
[+] Compress payload libraries (libpython)
[+] Compress serialized objects (resources, bootloader, config)
[-] Windows build (Makefile) was removed

Improve cryptography/credentials default configuration
[+] Remove default secrets
[-] Android still there
[+] Add uniformed class to search proper credentials
[+] Generate all credentials on first launch
[+] Improve SSL -> CA/Client/Server + roles

Client default configuration
[+] Add stubbed site.py (to preserve pupy from search files on target device)

TODO:
[?] Test all that stuff?
[?] Rewrite all transport configs to honor roles
2017-03-08 19:41:14 +02:00
Oleksii Shevchuk d7214db8f9 Shrink paths 2017-03-08 19:41:14 +02:00
Oleksii Shevchuk 8dc9232450 Use LZMA instead of ZLib for resources 2017-03-08 19:40:25 +02:00
Oleksii Shevchuk e320af34ae Add initial IGD (UPnP) support 2017-03-08 19:40:25 +02:00
Oleksii Shevchuk 288aa030bf Ensure no duplicates in resources.zip 2017-03-08 19:40:24 +02:00
n1nj4sec f3fc9a5fca add ACCESS_NETWORK_STATE to template apk 2017-01-21 14:02:26 +01:00
n1nj4sec 52dfe1fe8a add functional android buildozer.spec as example 2016-12-30 22:13:29 +01:00
n1nj4sec ff68331e00 fix auto_proxy on windows 2016-11-20 00:30:21 +01:00
n1nj4sec 62cd1241a0 add socksipy dependency for windows 2016-11-17 19:57:01 +01:00
n1nj4sec 195d7b365b fix wine buildenv 2016-11-01 18:35:56 +01:00
Oleksii Shevchuk fe8542f4cc Add function to search functions by module and name
It wasn't possible to find functions in libraries
loaded using memoryloader (Windows)
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 338763187c Add _sqlite3.so 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 5175b72ca9 Add dbus/gir support to linux client build 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk fcdf6fe6f1 Filter out examples 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk d21a1c7e6e Add more nice flags to linux client linker 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 19059fc101 Scripts unification for linux and windows build 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk dd00e0f682 Add missing file 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 755d24b2e7 Fix build for windows 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 2d28bdb9ee Enable all messages when /DDEBUG 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 1a17eb93a3 Start to implement proper build script to compile windows binaries using wine 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk a2465d3a56 Looks like encodings module is not required here 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 9202f365a1 Use marshalled code, enable optimization (.pyc -> .pyo) 2016-10-30 23:23:07 +02:00
Oleksii Shevchuk 711aef51f7 Don't mess debug builds with nondebug 2016-10-30 23:23:07 +02:00
n1nj4sec f47f8c5581 fix build_library_zip 2016-08-27 12:10:31 +02:00
Oleksii Shevchuk 3423834403 Try actually call mmap at drop destinations 2016-08-26 12:35:36 +03:00
Oleksii Shevchuk 720e85a156 Try to use ctypes to find MAC/IP on windows.
Well, this is insane. I never thought that in standart python library
you can find THAT. What do you think will happens, if for some reason
ifconfig will hang?
2016-08-26 01:05:03 +03:00
Oleksii Shevchuk 2f1b3ab915 Update linux client 2016-08-24 20:18:48 +03:00
Oleksii Shevchuk dc9ebe63b9 Fix migration. Add compression. Fix build on ancient distros 2016-08-24 09:51:33 +03:00
Oleksii Shevchuk 4cb42753f3 Remove garbage 2016-08-24 09:48:08 +03:00
Oleksii Shevchuk f2e749c71f Update migration support for Linux 2016-08-23 19:48:12 +03:00
Oleksii Shevchuk 1e8595ab24 Fix resources building after merge 2016-08-23 02:03:42 +03:00
Oleksii Shevchuk 4ed67dc413 Remove garbage 2016-08-23 02:03:02 +03:00
Oleksii Shevchuk f840346daa Add trivial linux standalone client. No reflective loading, but it works somehow 2016-08-23 01:57:58 +03:00
Oleksii Shevchuk fe8b0111df Add linux-friendly Makefile 2016-08-19 20:29:23 +03:00
n1nj4sec 934aed185f fix injection x64 on windows 10 issue #36 2016-08-03 19:24:07 +02:00
n1nj4sec 87916280a9 print a warning when building without all the python libs 2016-08-03 18:49:29 +02:00
n1nj4sec cac6db86e6 Makefile update 2016-06-18 19:19:51 +02:00
n1nj4sec 1ee114f863 fix msvcr90 path in build script 2016-06-17 23:17:25 +02:00
n1nj4sec 0ce3d29a9b build dependency fix 2016-06-17 22:43:53 +02:00
n1nj4sec ea7879ad6d fix new transports import in windows payloads 2016-06-17 19:56:29 +02:00
n1nj4sec a396c359b7 auto add system's msvcr90 at build 2016-05-31 19:48:05 +02:00
n1nj4sec 4df0d065e2 android client sources release 2016-05-08 01:06:13 +02:00
n1nj4sec 9fd24fddf9 remove duplicates 2016-05-07 22:41:39 +02:00
n1nj4sec fa781519d5 remove python dlls from the repo 2016-05-05 12:48:57 +02:00
n1nj4sec dd040947e9 increasing size of config buffer in payloads to contains bigger scriptlets 2016-05-05 12:46:02 +02:00
n1nj4sec d2dad1eff7 new library.zip generation script 2016-03-19 17:11:17 -04:00
n1nj4sec 3c51f3c65c removing py2exe build dependency 2016-03-16 18:17:03 -04:00
n1nj4sec 32426d0cc7 removing deprecated makefiles 2016-01-13 21:47:39 +01:00
n1nj4sec 100ee1d42c various adjustments 2016-01-08 22:50:14 +01:00
n1nj4sec 741e238da6 various fixes + modules dependencies list to automatically load 2016-01-08 22:43:38 +01:00
n1nj4sec bcf3e78ca2 small fixes + fix issue #58 2015-12-27 12:38:50 +01:00
n1nj4sec b24199df2c windows payloads now works with launchers 2015-11-23 18:47:48 +01:00
n1nj4sec d14c87f83b makefile DEBUG fix 2015-11-23 18:41:57 +01:00
n1nj4sec 18ef30cc07 scramblesuit transport is now available ! :-) 2015-10-25 13:18:25 +01:00
n1nj4sec 3af2a4455d obfsproxy pluggable transports now works on windows ! ex: ./pupygen --transport obfs3 && ./pupysh --transport obfs3 2015-10-23 19:16:11 +02:00
n1nj4sec 14895b05fc first try at modularising communication channels ( #4 ) integrated obfs3 protocol from obfsproxy and it works fine :-) 2015-10-16 21:31:26 +02:00
n1nj4sec bbb7a4e2d3 support for loading dlls like pywintypes27.dll needed for pywin32 imports (tried with win32gui, win32api and it worked) 2015-10-14 17:58:43 +02:00
n1nj4sec 2d6ebfd1af small Makefile fix 2015-10-14 17:56:58 +02:00
n1nj4sec f633a8e163 some make versions don't tolerate indents on conditional if 2015-10-11 17:32:55 +02:00
n1nj4sec 341fa3c373 small fixes for pyinstaller under linux 2015-10-09 18:51:25 +02:00
n1nj4sec e915574e56 PE memory execution ! 2015-10-08 19:36:37 +02:00
n1nj4sec 1f52562beb adding forgotten license headers + code cleanup 2015-10-08 19:09:16 +02:00
n1nj4sec 3004af769f Makefile doesn't work with tabs, replacing indents with spaces 2015-10-05 18:41:09 +02:00
deathfantasy 7abe3bb46e proper Makefile for client 2015-10-04 02:16:37 +07:00
n1nj4sec 3dfb0ce914 fixing jobs && jobs now exists properly on the client when the server exits 2015-10-03 15:13:16 +02:00
deathfantasy bf8389371a update helper for automatic library package patching 2015-10-02 03:10:56 +07:00
n1nj4sec dec2299061 uuid.py in library.zip patched to avoid C runtime errors (issue #24) 2015-09-30 21:56:27 +02:00
n1nj4sec bc4b324505 fixed a bug where injecting into a process with python27.dll already loaded crashed 2015-09-26 20:48:38 +02:00
n1nj4sec 9b32b0f6ee makefile cleanup 2015-09-25 21:41:37 +02:00
n1nj4sec 390929f316 msvcr90 in memory loading + code cleanup 2015-09-24 20:28:25 +02:00
deathfantasy eb89d12008 smarter library builder script, can pack its own zip 2015-09-24 03:41:25 +07:00
byt3bl33d3r ad26c16293 Linux payload was not properly setting the HOST variable 2015-09-23 15:30:25 +02:00
n1nj4sec d46291147a typo error 2015-09-22 23:25:40 +02:00
n1nj4sec 8850046144 merge+unix compatibility 2015-09-22 23:21:55 +02:00
n1nj4sec cb54844b60 first commit :-) 2015-09-22 19:25:36 +02:00