-
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
socket.error is not solving #6
Comments
Do you have Metasploit service running? |
yes I do have metasploit service running I have updated to the suggested version and I see nothing but this Error above as well |
This library was just working for me after adding the try/excepts for the ssl library from another issue. Now 100% of the time I'm getting connection refused as well. Restart metasploit, tried running metasploit as a daemon, and it's just constantly saying connection refused. I can confirm metasploit is running and msfrpcd is running as well.
|
OK well, apparently adding the port option to MsfRpcClient will fix this. client = MsfRpcClient(password, port=55553) # works.
client = MsfRpcClient(password) # does not What's weird is that in the code it says port will default to 55553 so I have no idea why adding that parameter with the value it already has by default makes it work. |
I, can Share my Solution via Email. As well I'm 90% done with my Tool just
had a few issues IRL that required my attention. I'd say no more than a
week check my github it will be there its called th3surg30n
thanks for all Your help guys.
…On Sat, Mar 3, 2018 at 1:26 PM, Dan McInerney ***@***.***> wrote:
OK well, apparently adding the port option to MsfRpcClient will fix this.
client = MsfRpcClient(password, port=55553) works.
client = MsfRpcClient(password) does not.
What's weird is that in the code it says port will default to 55553 so I
have no idea why adding that parameter with the value it already has by
default makes it work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhJZgXYPMB4WEWnMwPZk0I9mBNhiTg19ks5tawp4gaJpZM4IcPSZ>
.
|
when i try to run command
client = MsfRpcClient('lokesh1095')
i get following error. i tried many things but error is persistent. cant solve it. any help??
The text was updated successfully, but these errors were encountered: