Problem retrieving devices from Kismet through REST endpoint

559 views Asked by At

I am not able to retrieve the json data from kismet rest api endpoint through Curl. The problem is it asks for the password even though I have specified it. I have tried diffrent ways like

    curl -u root:friends http://localhost:2501/devices/all_devices.ekjson

I have also tried

    curl  http://root:friends:localhost:2501/devices/all_devices.ekjson

I keep getting the error

401 - Access denied

Login required to access this resource.

1

There are 1 answers

0
Fl0 On BEST ANSWER

Use /devices/all_sources instead of /devices/all_devices