Commit Graph

184 Commits

Author SHA1 Message Date
Oleksii Shevchuk b58d0c95e7 client/linux: disable remap attempts for x86 (old) 2019-05-01 11:04:34 +03:00
Oleksii Shevchuk 79aa63c08d clients: use one mktab.py 2019-05-01 10:56:35 +03:00
Oleksii Shevchuk 883e402136 linux/shared: try better to unmap self 2019-05-01 10:26:09 +03:00
Oleksii Shevchuk 0b65127a50 pyjnius: force is not required 2019-05-01 00:58:10 +03:00
Oleksii Shevchuk d8b43acfc0 shared/jvm: support find_class (used by jnius/embedded) 2019-04-29 21:35:07 +03:00
Oleksii Shevchuk d9e535fbb7 linux/client: Build non-debug things with visibility=hidden for x64 2019-04-29 21:33:51 +03:00
Oleksii Shevchuk 6629044331 [WIP] Rework JNI support 2019-04-26 18:54:59 +03:00
Oleksii Shevchuk a3f0f77a02 linux/client/pyjnius: remove force reinstall 2019-04-25 20:58:26 +03:00
Oleksii Shevchuk a66913d66c linux: Build pyjnius 2019-04-24 20:56:59 +03:00
Oleksii Shevchuk e7ac1734da client/linux: in case we are loaded from JVM save pointer to JavaVM* 2019-04-24 20:56:39 +03:00
Oleksii Shevchuk 9906826084 client/linux: Export PyCapsule_New 2019-04-24 20:56:12 +03:00
Oleksii Shevchuk a8ede47922 client/linux/shared - improve decision about LMID 2019-04-24 20:50:14 +03:00
Oleksii Shevchuk e85dd4fc48 linux/shared: use only init_array 2019-04-24 20:45:27 +03:00
Oleksii Shevchuk 360be55ff5 linux: various cleanups 2019-04-23 19:32:09 +03:00
Oleksii Shevchuk 3d2f89f5bf linux: Unmap self when possible 2019-04-23 16:53:25 +03:00
Oleksii Shevchuk 45711e1c37 linux/32: Ensure *64 calls are used 2019-04-22 22:47:54 +03:00
Oleksii Shevchuk 9bba4a5f2d Experemental: linux - remap dso mappings when possible 2019-04-22 22:47:24 +03:00
Oleksii Shevchuk 00778ac663 linux32 - Fix build for recent docker toolchain 2019-04-22 18:14:18 +03:00
Oleksii Shevchuk 9850da94d3 ecpv: Move to custom tinyca API 2019-02-24 00:23:55 +02:00
Oleksii Shevchuk 9db6808722 Add ed25519 library to bundles 2019-02-22 10:30:32 +02:00
Oleksii Shevchuk 6d5225c1ee Fix typo in requirements.txt 2019-02-19 22:33:59 +02:00
Oleksii Shevchuk 7654d2659c WPAD: PoC implementation [WIP]
Supported? WPAD/DNS + Windows registry
Components:
  - auto_proxy
  - tinyhttp

More testing requried

https://github.com/n1nj4sec/pupy/issues/729
2019-02-19 20:44:36 +02:00
Oleksii Shevchuk 151406ecea Include dukpy to basic image 2019-02-12 22:32:44 +02:00
Oleksii Shevchuk 92e665b93a Explicitly install idna 2019-02-09 21:01:56 +02:00
Oleksii Shevchuk 667507de3d client: Support recent pycryptodome 2018-12-02 00:35:30 +02:00
Oleksii Shevchuk ba6c1cddf0 Freeze pycrpyptodome version (3.7.0) 2018-11-26 15:11:52 +02:00
Oleksii Shevchuk 02f8257138 bundle/linux: pyaudio may hang, may be dangerous to use 2018-11-04 21:12:11 +02:00
Oleksii Shevchuk 210027105d client/linux/dlmopen: Do not try to fix lmid if library was not loaded 2018-11-04 20:06:31 +02:00
Oleksii Shevchuk 9d8d285956 Build pyopus to bundles 2018-11-02 09:04:15 +02:00
Oleksii Shevchuk 09d82485db Build pyaudio to bundle 2018-10-28 19:00:47 +02:00
Oleksii Shevchuk ed26430383 Add xattr/acl/prctl libs 2018-10-19 11:27:37 +03:00
Oleksii Shevchuk 0bb184312c build: add watchdog to windows/linux bundles 2018-10-16 10:28:59 +03:00
Oleksii Shevchuk d52247b835 Add more tmp folders for client/linux/tmplibrary 2018-10-10 11:18:31 +03:00
Oleksii Shevchuk f1c345c4d4 Update SunOS10 build script 2018-10-09 13:44:29 +03:00
Oleksii Shevchuk d510a9b118 LMID - Apply only for Linux/x64/shared 2018-10-09 06:21:59 +03:00
Oleksii Shevchuk d666245581 Try memfd syscall only on Linux build 2018-10-09 00:02:34 +03:00
Oleksii Shevchuk ab39f30cba SunOS Add group flag. Just in case 2018-10-08 21:08:50 +03:00
Oleksii Shevchuk 3747e5b445 Disable LMID for SunOS 2018-10-08 21:08:50 +03:00
Oleksii Shevchuk 358eb2e672 Bump SunOS build 2018-10-07 22:04:34 +03:00
Oleksii Shevchuk 6fd57e4503 linux/client: Add LMID support
Do not use RTLD_GLOBAL namespace for python. This allows to load
shared object with other copies of python.

Example:

> python3
Python 3.6.5 (default, Jun 30 2018, 10:35:51)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes; ctypes.CDLL('/tmp/ppd.so')

This requires latest tc-linux32/tc-linux64 toolchains
2018-10-07 14:37:30 +03:00
Oleksii Shevchuk 691b52e8c7 linux/client: build amd64 as PIE if possible 2018-10-07 13:21:03 +03:00
Oleksii Shevchuk fcc4c7712e Use impacket from trunk 2018-09-23 13:40:28 +03:00
Oleksii Shevchuk c473ca7b2b Manually rewriting pycrypto is no longer required 2018-09-23 13:27:04 +03:00
Oleksii Shevchuk 5e65805f4c Ensure KCP was built during linux/windows docker build 2018-08-18 07:06:36 +03:00
Oleksii Shevchuk 5e9bb2b091 Fix client pycrypto/pycryptodome issue for windows 2018-06-19 22:30:00 +03:00
Oleksii Shevchuk 4ecc436de7 Ensure 100% pycrypto replaced with pycryptodome 2018-06-19 08:59:36 +03:00
Oleksii Shevchuk ed23adae19 [linux/native/experemental]: Upgrade pip, ensure pycrpyo uninstalled 2018-06-18 22:30:18 +03:00
Oleksii Shevchuk b2f40d5c88 Fix requirements
1. Add dnslib to client
2. Freeze rpyc to version < 4 for now
2018-06-17 23:44:43 +03:00
Oleksii Shevchuk de13568a80 Bump SunOS build 2018-03-04 18:54:52 +02:00
Oleksii Shevchuk 7e0dbad094 Do not use marshal module to load embedded library 2018-03-02 22:16:23 +02:00