Commands in dsh
help:
Support Commands:
shell help getDateInfo diagnose gethwid
diagnose 1: cat /proc/interrupts
diagnose 2: cat /proc/meminfo
diagnose 3: cat /proc/devices
diagnose 4: cat /proc/net/dev
diagnose 5: cat /proc/uptime
diagnose 6: route -n
gethwid [option 0-22]
productGetName = 0
HWID_VERSION = 1
CATEGORY = 2
SUB_CATEGORY = 3
FVIDEO_CHIP = 4
DSP_CHIP = 5
BVIDEO_CHIP = 6
VIDEO_CHANNEL = 7
ANALOG_AUDIO_MODE = 8
AUDIO_IN_CHANNEL = 9
AUDIO_OUT_CHANNEL = 10
STORE_INTERFACE = 11
CPU_COUNT = 12
ALARM_MODE = 13
WIRELESS_INTERFACE = 14
HD_ENCODE = 15
VD_INTERFACE = 16
NET_INTERFACE = 17
INTE_ANALYSE = 18
HD_VERSION = 19
VIDEO_STAND = 20
HAS_SD_CARD = 21
PHY_MEMSIZE = 22
and getDateInfo which displays the wrong date.
the shell command asks for a password.
I have a recollection that the 'shell' command takes you to a full shell and that helpme was the password - but I can't check as I don't have the device any more.Getting a full shell takes more effort than most people will want to put in.
helpme doesn't work. After you type in shell the prompt is "Domain Accounts:"I have a recollection that the 'shell' command takes you to a full shell and that helpme was the password - but I can't check as I don't have the device any more.
I do recall getting to a full command access - but I didn't write down the detail and don't remember it, apart from being surprised that it was possible.helpme doesn't work. After you type in shell the prompt is "Domain Accounts:"
This is a challenge / response command to bypass the 'psh' restricted shell, but I never figured how to get through it, just past it.hik used zhimakaimen in their shell for something, i don't remember exactly what that did
I know way to get past it, so also didn't put too much effort into getting through it. 888888 for the 'domain account' spews some gibberish (I tried a few charsets but don't have that sorted), then prompts "Check codes:"I do recall getting to a full command access - but I didn't write down the detail and don't remember it, apart from being surprised that it was possible.
Presumably you've tried the usual 888888 666666 and the admin password? I think that's what I would have done when trying it.
This is a challenge / response command to bypass the 'psh' restricted shell, but I never figured how to get through it, just past it.
So I changed some settings on my ssh client, and as I suspected the gibberish is a QR code. It contains a URL that gets passed some hashed or otherwise encoded strings.I know way to get past it, so also didn't put too much effort into getting through it. 888888 for the 'domain account' spews some gibberish (I tried a few charsets but don't have that sorted), then prompts "Check codes:"
How do you enable ssh on a dahua camera? Do you have to use an http command like with telnet?
http://<ip-address>/cgi-bin/configManager.cgi?action=setConfig&Telnet.Enable=true
Login: telnet <ip-address>
Username: admin
Password: 7ujMko0<YOURADMINPASSWORD>
example: admin password ipcamtalk then use the password: 7ujMko0ipcamtalk
Yes, but that is for telnet. I am looking to enable ssh. Telnet was removed.From my "dahua scrapbook":
I tried on my VTO2111. I typed 888888 for the Domain accounts and yes I got a QR code that contains the url
https://svsh.dahuatech.com/svsh.html?v=2&u=888888&t=xxxxxxxxxxxxxxxxxx
where xxxxxx is a string of 64 characters.
The web page says
Agent 888888.
To get a Authent code, You must verify your identity first.Enter your domain password below:
And there I do not know what to type...