Commit Graph

1427 Commits

Author SHA1 Message Date
Oleksii Shevchuk be4fff658b Looks like latest versions of psutil doesn't work stable on WinXP 2017-04-27 00:02:26 +03:00
Oleksii Shevchuk 330e5771ca Use winetricks to enforce windows versions 2017-04-26 23:41:17 +03:00
Oleksii Shevchuk ad553860c1 Improve DNSCNC command to explicitly use proxy when specified 2017-04-26 19:05:49 +03:00
Oleksii Shevchuk d57d13a81d Apply channel with interruptions to client and server 2017-04-26 17:48:43 +03:00
Oleksii Shevchuk 121e25104a Execute proper file after upload using psexec 2017-04-26 17:33:12 +03:00
Oleksii Shevchuk bab2060b70 Use larger chunk size 2017-04-26 17:32:45 +03:00
Oleksii Shevchuk 43b8ab91e4 With enabled alive there is possibility that recv will be interrupted in the middle of transaction 2017-04-26 17:32:26 +03:00
Oleksii Shevchuk 9ef7aae8a9 Allow dnscnc connection command if stream dead, or closed 2017-04-26 16:57:30 +03:00
Oleksii Shevchuk 72cc5d68e4 Add codepage option to decode psexec output 2017-04-26 16:17:12 +03:00
Oleksii Shevchuk 3db2331193 Add support for keep-alive on rpyc level for server/client 2017-04-26 14:22:21 +03:00
Oleksii Shevchuk a6605b3097 Ensure node size always encoded to 6 bytes 2017-04-26 08:28:34 +03:00
Oleksii Shevchuk 2e5bc63627 Proxies deduplication 2017-04-26 07:20:06 +03:00
Oleksii Shevchuk d1fc37cf19 Fix get_env_proxies 2017-04-26 00:49:20 +03:00
Oleksii Shevchuk 58e3bfe736 While IDNA is nice thing, in 99.9% cases it's not used anyway 2017-04-26 00:48:24 +03:00
Oleksii Shevchuk fc72b3d122 Add for non debug builds to trace issues with travis build 2017-04-25 23:53:28 +03:00
Oleksii Shevchuk 6eeabf027b Cleanup payload templates before travis build 2017-04-25 18:24:12 +03:00
Oleksii Shevchuk e6c25254ad Set commit properly in Travis 2017-04-25 17:45:32 +03:00
Oleksii Shevchuk 070f35d548 Unlink generated payload before writing to disk 2017-04-25 16:25:05 +03:00
Oleksii Shevchuk 843511a05c Generate python import tabs for windows client 2017-04-25 16:24:28 +03:00
Oleksii Shevchuk 6b4c39d870 Leave PyErr_Print 2017-04-25 16:23:29 +03:00
Oleksii Shevchuk 91bc695888 Don't fail on invalid scriptlet name 2017-04-25 15:54:28 +03:00
Oleksii Shevchuk 0790f66665 Compatibility with old DNSCNC 2017-04-25 15:34:23 +03:00
Oleksii Shevchuk de014de5ad Convert "machine" value for old kernels 2017-04-25 15:03:38 +03:00
Oleksii Shevchuk 2488d37ae9 Compile git revision into pupy templates 2017-04-25 14:43:23 +03:00
Oleksii Shevchuk 1c5a5896e9 Fix pupy.apk destination path 2017-04-25 12:42:30 +03:00
Oleksii Shevchuk 630521c716 Fix dnscnc connect/disconnect logic 2017-04-25 12:01:17 +03:00
Oleksii Shevchuk 2b3df567f4 Print exception information in debug/linux 2017-04-25 11:08:01 +03:00
Oleksii Shevchuk 3686a59f18 Properly set debug 2017-04-25 11:06:40 +03:00
Oleksii Shevchuk 61dc5fc6f4 sys.flags.optimize can't be set in runtime 2017-04-25 10:47:05 +03:00
Oleksii Shevchuk cd4c1dde1a Don't fail if dnscnc couldn't be started 2017-04-25 07:35:43 +03:00
n1nj4sec f4b716078f display remote pupyimporter errors as warning 2017-04-24 20:02:37 +02:00
n1nj4sec 7df37c5194 Merge branch 'zip' of https://github.com/AlessandroZ/pupy into unstable 2017-04-24 19:08:53 +02:00
n1nj4sec f6b7c6ba58 Merge branch 'psexec' of https://github.com/AlessandroZ/pupy into unstable 2017-04-24 19:02:37 +02:00
n1nj4sec 04e59320c3 Merge branch 'powershell' of https://github.com/AlessandroZ/pupy into unstable 2017-04-24 19:02:08 +02:00
Oleksii Shevchuk d5e0dbc978 Add command to dnscnc to setup proxy 2017-04-24 19:28:07 +03:00
Oleksii Shevchuk 7fec272ccc Search for available proxies if connection failed in dnscnc/connect 2017-04-24 19:26:39 +03:00
Oleksii Shevchuk 1a91188acb Move proxy retrieval logic to separate file. Also use ctypes to get GIO settings 2017-04-24 17:16:01 +03:00
Oleksii Shevchuk 435c7f4058 Disable keep for launchers which are not support connect_back_host 2017-04-24 14:01:35 +03:00
Oleksii Shevchuk 268c5309c2 Small non-critical fixes in windows client and build 2017-04-24 12:01:31 +03:00
Oleksii Shevchuk f732a64edb Fix function address search on amd64 2017-04-24 12:01:31 +03:00
n1nj4sec 1f2d63e4c7 Merge branch 'master' of github.com:n1nj4sec/pupy 2017-04-23 22:39:42 +02:00
n1nj4sec eca199146a payload working with injection on win 10 2017-04-23 22:39:02 +02:00
n1nj4sec 642dda0369 Merge branch 'unstable' of https://github.com/alxchk/pupy into unstable 2017-04-23 20:28:28 +02:00
n1nj4sec d806ba61be use dlls for ps1 2017-04-23 20:07:25 +02:00
Oleksii Shevchuk 9470d7866f Fix rsa_aes in stacked transport
We have tricky situation here. Somehow postponed packets goes /before/ IV, and client get wrong IV setted up. Likely this happens because packets from client goes to the rpyc protocol processor before KEX complete, and response also goes before KEX complete. Because client initiate KEX by itself, there is no reason for any racy logic on the server end. So we'll just wait until something came to us, generate IV, and send in right order.
2017-04-23 20:03:32 +03:00
Oleksii Shevchuk 2ab6742d3a Fix handlers assignment 2017-04-23 20:03:32 +03:00
Oleksii Shevchuk a9daa24ca5 Handle default-dir properly 2017-04-23 20:03:32 +03:00
n1nj4sec 11e6d9fada cleanup bypassuac ps1 scripts 2017-04-23 16:32:44 +02:00
n1nj4sec 16245b91c2 Merge branch 'master' of https://github.com/quentinhardy/pupy into unstable 2017-04-23 16:29:53 +02:00
n1nj4sec 032807f59e add a warning if the templates are not synced with pupy version 2017-04-23 15:25:49 +02:00