-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output of a port scanner #15
Comments
My understanding is that your code will just execute the instruction, however, actually reading back the result will need further code. This is because some modules take a while to execute, which means MSFRPC is a-synchronous, allowing you to perform other actions whilst waiting for the results to come back. I was thinking maybe checking the outstanding jobs, and then when there are no jobs left, to check the output of it, but unfortunately the job no longer exists once it is complete and no session was created (because it is just an auxiliary module) so there is nothing here to check either. I want to work this out as well - did you get to the bottom of it? |
I wasn't thinking clearly last night. I also took inspiration from:
Which is actually regarding a different Python / MSFRPC / MSGRPC library. I ended up producing the following function:
The init function of my class includes this to get started too:
Probably not the neatest code in the world, but it works. This is the rest of my repo that uses it: https://github.com/yg-ht/FIR/blob/198f038b4000719e08ab18ef7946a831d717a63a/functions.py |
Hi,
Is it possible to get the output of a port scanner?
My code is:
Do I need to change anything or add something to get the output of this?
Thank you
The text was updated successfully, but these errors were encountered: