Oleksii Shevchuk
e9afcbf8de
Refactoring: merge pp.py and pupyimporter.py
...
New loader "module" based loader.
Source code deduplicated a bit. Common parts moved to client/common.
Everything moved to "pupy" namespace:
import pupy
Android known to be broken. Other regressions to be discovered.
Checked:
+ Linux 32/64 Native/py
+ Windows 32/64 Native/py/.NET/migrations
2019-08-17 21:13:45 +03:00
Oleksii Shevchuk
f8e41bac21
windows/build: workaround for C imports not supported by wine
2019-03-05 20:41:27 +02:00
Oleksii Shevchuk
8573a513ca
client/toc: Use list instead of dict
2019-02-25 17:09:44 +02:00
Oleksii Shevchuk
92e665b93a
Explicitly install idna
2019-02-09 21:01:56 +02:00
Oleksii Shevchuk
26e9f464d0
Ensure idna built into client
2018-09-23 23:03:04 +03:00
Oleksii Shevchuk
db13904ec4
Move library_patches to pupy/
2018-08-09 11:54:09 +03:00
Oleksii Shevchuk
d46be888f3
Make possible to include some packages to client
2018-06-19 21:12:06 +03:00
Oleksii Shevchuk
79ca498f0b
Add shadowing by path feature + example
2018-03-12 17:08:23 +02:00
Oleksii Shevchuk
fcb6433246
Fix library patches
2018-03-02 20:18:24 +02:00
Oleksii Shevchuk
40a19d9630
Short file stub a bit more
2018-02-28 23:12:26 +02:00
Oleksii Shevchuk
8e2cb69236
Apparently DES and other things are used by some modules
2018-02-16 10:33:37 +02:00
Oleksii Shevchuk
776e5b96c8
Remove some unused objects
2018-02-14 12:43:42 +02:00
Oleksii Shevchuk
60a3fd0785
Pycryptodome works well without cffi, no need to embedd
2018-02-13 16:47:27 +02:00
Oleksii Shevchuk
4a55dc6329
Rework approach to build bundles of compiled py files
2018-01-13 19:54:06 +02:00
Oleksii Shevchuk
25fac6a96a
Try to preserve arch specific library bundles between simple cleans
2017-07-03 23:09:53 +03:00
n1nj4sec
f92466846f
fix migrate DLL loading in some cases
2017-04-23 14:28:54 +02:00
Oleksii Shevchuk
7be06557d7
pyasn1 used internaly by rsa, so leave it
2017-04-21 00:01:06 +03:00
Oleksii Shevchuk
933c4b6dff
Remove yaml from scramblesuit module
2017-04-20 23:18:08 +03:00
n1nj4sec
0ed93e42f1
windows pycryptodome bump
2017-04-17 22:24:38 +02:00
n1nj4sec
1fa9343210
pycryptodome doesn't work on windows with pupyimporter because of some cffi/ctypes shit, rollback to pycrypto
2017-04-17 19:09:30 +02:00
Oleksii Shevchuk
8584281096
_cffi_backend uses dlopen directly, so can't be used with pupy client
2017-04-12 16:03:33 +03:00
Oleksii Shevchuk
05f82b36b5
Do not remove network/transports config to template
2017-04-04 10:51:56 +03:00
Oleksii Shevchuk
477556264b
Remove cffi from bundled libs properly
2017-03-21 22:18:21 +02:00
Oleksii Shevchuk
30af397f7d
Try to use pycryptodome
2017-03-21 22:18:21 +02:00
Oleksii Shevchuk
35cd39fe5b
Unicodedata is not required to start pupy, so remove it
2017-03-08 19:41:15 +02:00
Oleksii Shevchuk
08d8688c8c
Search any pywintypes27.dll
2017-03-08 19:41:15 +02:00
Oleksii Shevchuk
0af2216ada
Avoid "RuntimeError: dictionary changed size during iteration"
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
288aa030bf
Ensure no duplicates in resources.zip
2017-03-08 19:40:24 +02:00
n1nj4sec
ff68331e00
fix auto_proxy on windows
2016-11-20 00:30:21 +01:00
Oleksii Shevchuk
fcdf6fe6f1
Filter out examples
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
n1nj4sec
f47f8c5581
fix build_library_zip
2016-08-27 12:10:31 +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
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