pypsexec
pypsexec copied to clipboard
Remote Windows execution like PsExec on Python
Python 3.12 now strongly preffers timezone-aware datetime objects and some libraries have already been adapted to that. I didn't investigate which libraries, maybe the change is only a PR and...
Hey, I have an app that runs against devices using pypsexec, and on occassion the next execution occurs before Windows has deleted the old service. Would it be possible to...
I tried to create simple psexec script : ``` from pypsexec.client import Client server = "windows2008.intra.com" username = "Administrator" password = "generic-password" executable = "powershell.exe" arguments = 'ls > C:\windows\temp\dir.txt'...
In the [blog](https://www.bloggingforlogging.com/2018/03/12/introducing-psexec-for-python/) introducing pypsexec there were a number of TODOs at the bottom, including: - An interactive shell for pypsexec that takes input from stdin and outputs the responses...
Connecting to a host, disconnecting from said host, then reconnecting fails with the below error: ```python3 Traceback (most recent call last): File "/root/windows/reboot_test.py", line 31, in c.connect() File "/usr/local/lib/python3.10/dist-packages/pypsexec/client.py", line...
While running pypsexec getting error, it could be error of smbprotocol too as getting BadMechanism error. Please have a look at traceback, **Traceback (most recent call last): File "/home/kali/.local/lib/python3.9/site-packages/smbprotocol/session.py", line...
Hi Jordan, I'm wondering if you have considered creating a batch file specific to the service instance that uses PAExec.exe internally? Services would then call their respective service batch file...
Hi, Jordan: thank you very much for the pypsexec package. when I ran the sample code, it seemed like the connection, execution on the windows side were all working, however...
Hello @jborean93 I am having an issue while connecting my windows host machine from the Linux guest (Installed in VMWARE Workstation) using the following piece of code. `from pypsexec.client import...
Hi @jborean93 Opening another ticket to see if you could help. I am trying to spawn N Procceses per host and fire off to all run the same **exe** at...