Commit Graph

1223 Commits

Author SHA1 Message Date
n1nj4sec 60966145db fix unicode errors in netstat 2017-03-23 22:00:25 +01:00
n1nj4sec 771f182baa fix ascii encode error in ps with french char éè 2017-03-23 21:57:00 +01:00
Oleksii Shevchuk 500045329c Kindly ask to build stuff without docstrings 2017-03-21 22:25:22 +02:00
Oleksii Shevchuk 170b00aac8 Fix cpu status coloring 2017-03-21 22:18:21 +02:00
Oleksii Shevchuk 5f78b6cbbe Add (initial) support for loading bundled libraries via ctypes 2017-03-21 22:18:21 +02:00
Oleksii Shevchuk 477556264b Remove cffi from bundled libs properly 2017-03-21 22:18:21 +02:00
Oleksii Shevchuk 2d388f2f61 There is no pwd module on windows 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 0952c9b7a3 Add colors to dnscnc output 2017-03-21 22:18:21 +02:00
Oleksii Shevchuk 5924dc0618 Let's try to use pycryptodome instead of pycrypto 2017-03-21 08:32:48 +02:00
Oleksii Shevchuk 8caf550114 Fix ps -s output 2017-03-21 07:38:03 +02:00
Oleksii Shevchuk c88b5a20e8 Add last command 2017-03-20 18:07:02 +02:00
Oleksii Shevchuk bdf556fb31 Handle case when we don't have idle field 2017-03-17 15:45:50 +02:00
Oleksii Shevchuk b783763be3 Try to draw as much info as possible with ps -I -s PID 2017-03-17 13:49:11 +02:00
Oleksii Shevchuk 45beda8450 Encoded json maybe quite big, so compress it first 2017-03-17 13:27:54 +02:00
Oleksii Shevchuk 982b749d47 Output correct IP in dnscnc info 2017-03-17 10:58:17 +02:00
Oleksii Shevchuk e7ced57d7d Module will work if impacket available 2017-03-17 10:54:19 +02:00
Oleksii Shevchuk f1199584d2 Remove submodules which can be acquired from pip 2017-03-17 08:42:39 +02:00
Oleksii Shevchuk 7f884cb473 Add missing PID column 2017-03-17 07:14:49 +02:00
Oleksii Shevchuk 2b0ff781bd Add ca-certificate bundle to environments 2017-03-17 00:16:20 +02:00
Oleksii Shevchuk 4fac6fe5e7 Use spaces instead of tabs+spaces mess in client-linux 2017-03-16 23:01:13 +02:00
Oleksii Shevchuk 104ef7bd50 Ensure we will not stuck on DNS with DNSCNC and no our keys 2017-03-16 22:45:15 +02:00
Oleksii Shevchuk 4cd1825690 Socket and family numbers are differs from OS to OS 2017-03-16 22:04:58 +02:00
Oleksii Shevchuk decb45f52b Add interfaces listing module 2017-03-16 22:00:05 +02:00
Oleksii Shevchuk d3c8df573b Highlight own connection 2017-03-16 21:45:08 +02:00
Oleksii Shevchuk 8ff4031047 Truncate 'what' field in w output 2017-03-16 21:40:53 +02:00
Oleksii Shevchuk 8f64c765e0 Minor fixes in ps module 2017-03-16 21:40:25 +02:00
Oleksii Shevchuk 9511a8ab7c Add netstat module 2017-03-16 19:09:45 +02:00
Oleksii Shevchuk 54a42a1aa5 Build xprintidle 2017-03-16 18:23:22 +02:00
Oleksii Shevchuk 398542404b Colorize output depending on idle 2017-03-16 18:07:51 +02:00
Oleksii Shevchuk 8be925b74c Add pid to w output 2017-03-16 18:02:23 +02:00
Oleksii Shevchuk e46bf4ff93 Increase poll timeout 2017-03-16 17:51:48 +02:00
Oleksii Shevchuk cdcb4d19af Properly increment domain id 2017-03-16 17:51:34 +02:00
Oleksii Shevchuk 991936ff3e Add w command 2017-03-16 17:51:08 +02:00
Oleksii Shevchuk 3db9dcd9ec Fix ps -t output in windows 2017-03-16 17:50:22 +02:00
Oleksii Shevchuk 1671950b3a Add colorize support to PupyCmd tables 2017-03-16 17:19:48 +02:00
Oleksii Shevchuk b5fe6dd1ef Send basic information about system state via DNSCNC 2017-03-16 15:09:19 +02:00
Oleksii Shevchuk f8527fe339 New (psutil based) ps module 2017-03-16 14:04:21 +02:00
Oleksii Shevchuk 82da382ff1 Add standard colors - magenta and cyan 2017-03-16 14:03:29 +02:00
Oleksii Shevchuk 025e2dba35 After dance around environment set "_" to something neutral 2017-03-15 07:13:14 +02:00
Oleksii Shevchuk e4bbfd5630 Fix python precompilation 2017-03-15 00:06:46 +02:00
Oleksii Shevchuk 5736081250 Hide compile log output 2017-03-15 00:00:15 +02:00
Oleksii Shevchuk 67be013d9d Fix md5 counter 2017-03-14 23:39:26 +02:00
Oleksii Shevchuk 8e86253793 pupysh now depends on psutil as well 2017-03-14 23:31:20 +02:00
Oleksii Shevchuk 6350ad9ab4 Reduce images size 2017-03-14 23:31:20 +02:00
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