Oleksii Shevchuk
dd00e0f682
Add missing file
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
755d24b2e7
Fix build for windows
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
2d28bdb9ee
Enable all messages when /DDEBUG
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
19093c13e9
Do not use redirected stdout for shares
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
f239180818
Use same separator everywhere
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
1ce4af01f3
Add new line to the output
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
3aeb0a2e9a
Explicitly load ctypes.wintypes
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
1a17eb93a3
Start to implement proper build script to compile windows binaries using wine
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
076d3d2438
Fix stdout
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
ca671a1251
Fix issues with interrupting jobs
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
7f2d0214d2
Fix deps
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
c6f4cf414b
Move client initialization code to separate nice file
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
85d7070a2a
Add naive DMI uuid module
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
3fca1a38fb
Fix dead session behavior
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
a2465d3a56
Looks like encodings module is not required here
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
9202f365a1
Use marshalled code, enable optimization (.pyc -> .pyo)
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
6149aad2d4
Add functions to retrieve termsize
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
da628c8a0d
drives -> mount alias
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
28dc448e18
Add a bit of fun colors to drives
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
3bc35a9e25
Use async write cb
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
4baa96747c
Add ssh-like connection close sequence (RET ~.)
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
1b8b2948ae
Remove polling (on fd) for interactive shell (linux)
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
f09e2244da
Add mountinfo output for Linux to drives module
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
26c5d6dc7c
Exceptions may be annoying if somebody tries to connect to the port
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
49eb7e8daa
If there is no uids - just return
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
ef9a89a14f
Fix async dispatch
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
9c4bd4e680
First attempt to fix mess with paths
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
3cd62889dd
Use blocking poll mode
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
83bca25af3
Don't load pupwinutils.security on non-windows systems
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
c5ff4f45f3
Add optial dependency key 'all'
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
ea092a61e6
First attempt to fix stupid shitty horrible default RPyC polling mode
...
So, there was a problem. If you are doing polling and syncronious calls
simultaniously the only way to handle responses (both - sync and async)
is to poll with some constant timeout the shared socket. This introduces
delays, lags and other shit.
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
3d907f7d46
Use ThreadedServer instead of ThreadedPoolServer
...
ThreadedPoolServer server have an significant issue - accept method
implemented in blocking manner. This means that slow client will hang
rest in queue. In this case when there is more than two slow clients,
one of them will very likely be disconnected because of timeout.
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
782ae50e52
Remove unused classess
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
6c8d2577c8
Terminate connection waiter thread
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
64a9447ece
PupyAsyncTCPServer simply doesn't work. Also it's not used anywhere. No reason to keep it around
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
e60ea6807f
Fix heads
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
5c2c73a622
Fix permissions during repack
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
085887488c
Make safeopen more reliable
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
a527ae047d
Fix unitialized access
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
445967c5eb
Make upload/download/pexec commands more smart
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
e6f1664e3e
Update templates
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
711aef51f7
Don't mess debug builds with nondebug
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
c91ac2a120
Don't stay in loop if socket is closed
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
6f780ddf97
Make safeopen more reliable
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
c1ef3c7d7b
Rollback because of recursive call
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
bdd7223202
Fix unitialized access
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
7b061f0a65
Ignore keyboard errors during authorization
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
2c4667859c
Press ^C 8 times (or wait) to kill terminal
2016-10-30 23:23:07 +02:00
Oleksii Shevchuk
cf0a244ccc
Make upload/download/pexec commands more smart
2016-10-30 23:23:07 +02:00
Alessandro ZANNI
90a0ef3ed3
lazagne on linux
2016-10-30 23:23:07 +02:00