cURL Command Enable SSH Hikvision IP Camera/NVR

IPCAMPR34

Young grasshopper
Apr 23, 2015
31
0
I would like to use curl to enable telnet on my Hikvision NVR, I sniffed the traffic using WireShark but I am unable to find the right link to use in the curl command.

Any help?
 
This might be a starting point, at least for telnet.


8.2.53 /ISAPI/System/Network/telnetd
/ISAPI/System/Network/telnetd
General Resource v2.0
GET
Description It is used to get the configurations of telnet.
Query None
Inbound Data None
Success Return Telnetd
PUT
Description It is used to set the configurations of telnet.
Query None
Inbound Data Telnetd
Success Return ResponseStatus
Notes:
Telnetd XML Block
<Telnetd version=“2.0” xmlns=”http://www.isapi.org/ver20/XMLSchema”>
<enabled> <!-- req, xs:boolean --> </enabled>
</Telnetd>

The developer docs can be downloaded from here : http://www.hikvisioneurope.com/port...ation and Development Materials/03--Protocol/
 
  • Like
Reactions: IPCAMPR34
I would like to use curl to enable telnet on my Hikvision NVR, I sniffed the traffic using WireShark but I am unable to find the right link to use in the curl command.

Any help?

I don't have NVR and my cams are fw 5.1 but this works with them

Code:
curl -T telnet_on.xml http://user:psw@IP:port/ISAPI/System/Network/telnetd

telnet_on.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<Telnetd version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<enabled>true</enabled>
</Telnetd>
 
I don't have NVR and my cams are fw 5.1 but this works with them

Code:
curl -T telnet_on.xml http://user:psw@IP:port/ISAPI/System/Network/telnetd

telnet_on.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<Telnetd version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<enabled>true</enabled>
</Telnetd>

THANK YOU SOO MUCH!!! That worked like a charm, thanks for sharing.:)