Commit Graph

1178 Commits

Author SHA1 Message Date
Oleksii Shevchuk 30ad7c1a2a Generate DNSCNC state from config 2017-03-14 23:28:05 +02:00
Oleksii Shevchuk 80cd99db71 Fix bug with DNSCNC requests handling 2017-03-14 23:27:04 +02:00
Oleksii Shevchuk ddbaf0e3dd Create datetime object from psutil.boot_time() 2017-03-14 23:26:26 +02:00
Oleksii Shevchuk 49e1a9efd8 Implicitly map DNSCNC ports via IGD to 53
There is no much reason to expose non-standard DNS ports outside.
2017-03-14 21:36:17 +02:00
Oleksii Shevchuk 690e3c162c Just kill zombies
In case we have some alive processes this will hang, which is
not that we expect to get.
2017-03-14 21:28:54 +02:00
Oleksii Shevchuk 465d2c69ce Well, let address be str() 2017-03-14 08:49:11 +02:00
Oleksii Shevchuk c8d8a9f6f1 Set Win7 for amd64 buildenv 2017-03-14 08:47:30 +02:00
Oleksii Shevchuk 3ad91ff8f0 Fix banner in case netaddr used 2017-03-14 08:05:13 +02:00
Oleksii Shevchuk 88334fe8ab Fix default setting for pupygen -E 2017-03-14 08:04:43 +02:00
Oleksii Shevchuk 427defea99 psutil already have boot_time function, no need in separate module 2017-03-13 23:19:43 +02:00
Oleksii Shevchuk 6d67250c38 Put as much as possible to PupyConfig instance 2017-03-13 23:19:12 +02:00
Oleksii Shevchuk d71a79b024 Actually without dbus this module can't even be loaded 2017-03-12 20:03:17 +02:00
Oleksii Shevchuk 47e1fb147e Alter default config for docker instance 2017-03-12 19:45:18 +02:00
Oleksii Shevchuk 77754529ed Handle case when dbus is inaccessible 2017-03-12 19:39:22 +02:00
Oleksii Shevchuk b063817ee6 Enable keep-alives for windows 2017-03-12 19:24:32 +02:00
Oleksii Shevchuk 2a8e965996 Rework function calls flow to be thread-safe in pyuvproxy 2017-03-12 19:24:32 +02:00
Oleksii Shevchuk 2fb25d0a70 Parse LHOST bind addr in socks5 binding 2017-03-12 19:24:32 +02:00
Oleksii Shevchuk 84f2faa818 Don't try to execute IGD commands if ctrlURL is empty 2017-03-12 19:24:32 +02:00
AlessandroZ aed19503f4 removing duplicate value 2017-03-12 19:24:11 +02:00
n1nj4sec a28d200752 add gnome-keyring password storage support for PupyCredentials 2017-03-12 17:18:51 +01:00
n1nj4sec 91261ab06b fix ps1_oneliner 2017-03-12 16:20:52 +01:00
n1nj4sec 7e2d666c88 Merge branch 'master' of https://github.com/dc3l1ne/pupy into unstable 2017-03-12 15:38:55 +01:00
n1nj4sec 8b6beb8334 change default conf to make it works on a internal pentest without internet access 2017-03-12 13:56:19 +01:00
Oleksii Shevchuk 9bddbc57a9 Handle inplace connect errors correctly 2017-03-11 23:02:11 +02:00
Oleksii Shevchuk faec654b42 logutils required by changeme 2017-03-11 22:51:43 +02:00
Oleksii Shevchuk 23b8ad4ded Do not remove *.pyc and *.pyo from docker image 2017-03-11 22:39:14 +02:00
Oleksii Shevchuk 6a0a10bdaf Rework (stolen) credential storage 2017-03-11 22:34:50 +02:00
Oleksii Shevchuk bc4f509dcd Fix implicit constructor for IGDClient 2017-03-11 22:33:56 +02:00
Oleksii Shevchuk 5b1637adc3 Log compilation exceptions to debug 2017-03-11 19:28:12 +02:00
Oleksii Shevchuk ff454b8ddb Search bundles in pupy root, not in projects 2017-03-11 19:15:10 +02:00
Oleksii Shevchuk b07255fa5e Remove debug messages 2017-03-11 19:00:26 +02:00
Oleksii Shevchuk 0a94a0daf6 Invert logging info 2017-03-11 18:08:14 +02:00
Oleksii Shevchuk b3174cecb2 Add missing file 2017-03-11 18:05:32 +02:00
Oleksii Shevchuk c899c02668 Make client certificates support for SSL optional 2017-03-11 13:52:43 +02:00
Oleksii Shevchuk 6e48ea897c Pass server transport to gen arguments, if no arguments specified 2017-03-11 13:42:16 +02:00
Oleksii Shevchuk 68c6c60c81 Do not ignore EOF errors. Also ensure that socket alive before poll 2017-03-11 13:40:31 +02:00
Oleksii Shevchuk a786e89157 Add support for POSIX caps to docker image 2017-03-11 12:21:09 +02:00
Oleksii Shevchuk e520dae1a9 Properly handle pupygen exits 2017-03-11 12:20:02 +02:00
Oleksii Shevchuk 32b1fbca49 More properly search for local/external address 2017-03-11 12:12:23 +02:00
Oleksii Shevchuk 19c06fe9e9 Do not enforce recompilation if .pyo's are up2date 2017-03-11 11:54:03 +02:00
Oleksii Shevchuk 4e6d1d3241 Fix gen command line parsing 2017-03-11 11:47:45 +02:00
Oleksii Shevchuk 8e285ea8a0 Add ability to unset keys from randoms section 2017-03-11 11:47:21 +02:00
Oleksii Shevchuk b7515c6a74 Add random keys support. Use them for pupygen 2017-03-11 10:12:21 +02:00
Oleksii Shevchuk 9ffbfdea61 Reduce travis log 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk 5d64d95120 Alter docker configuration 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk 11b16fe60c Add gen command to invoke pupygen from pupysh 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk 0f03d89e46 Add support for secret path prefix to httpwrap 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk 83323d10e3 If interface is not specified, try to get external IP using ifconfig.co first 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk 0497299528 Add support for random configuration values 2017-03-11 09:16:43 +02:00
Oleksii Shevchuk e74aad2adc Add travis 2017-03-11 09:16:43 +02:00