nexpose-client-python icon indicating copy to clipboard operation
nexpose-client-python copied to clipboard

How to connect to silo with Nexpose python API?

Open fr1d4yyy opened this issue 8 years ago • 4 comments

Could someone please let me know how to connect to a silo using the python API?

Thanks !

fr1d4yyy avatar Dec 20 '17 15:12 fr1d4yyy

It looks like that isn't supported currently as only the username and password are used to construct the login request: https://github.com/rapid7/nexpose-client-python/blob/master/nexpose/nexpose.py#L194-L197

gschneider-r7 avatar Dec 21 '17 21:12 gschneider-r7

@gschneider-r7 thanks for the info, do you maybe know if this is planned? Because at this moment we need to rewrite everything to ruby and it's a pain :/

fr1d4yyy avatar Dec 22 '17 08:12 fr1d4yyy

Not necessarily planned, but it shouldn't be difficult to add support. It's just a matter of adding an optional silo ID parameter. I'll probably get to it soon when I have some free time available.

gschneider-r7 avatar Jan 02 '18 21:01 gschneider-r7

That would be awesome! Thanks!

fr1d4yyy avatar Jan 04 '18 08:01 fr1d4yyy