I’ve had a heck of a day trying to get MBS SSH working, and all but given up.
I’ve discovered my target also supports http.I have the following curl command working from a shell in Terminal.
curl -X POST -d "username=admin&password=secret" -b "SESSIONID=01234567890123456789012345678901" 192.168.200.200/login.cgi
The following does not work:
[code] dim e as integer
dim d as new CURLSMBS
d.OptionVerbose = true
d.CollectOutputData = true
d.CollectDebugData = true
d.CollectHeaderData = true
d.OptionSSLVerifyHost = 0
d.OptionSSLVerifyPeer = 0
d.OptionURL= "http://192.168.200.200/login.cgi -d ““username=admin&password=secret”” -b "“SESSIONID=01234567890123456789012345678901"” "
d.OptionTimeOut = 2
e=d.Perform[/code]