Telnet dahua root

Telnet dahua root Техника

Вся информация взята из открытых источников, и предоставлена в ознакомительных целях.
Мы не несем ответственности за неправомерное использование информации.
Все действия с Вашим оборудованием Вы делаете на свой страх и риск!
Не пытайтесь получить доступ к чужому оборудованию — это незаконно!

Telnet dahua root

Смотрите наш : IP адреса камер видеонаблюдения с паролями ниже.

Для начала разберемся как найти IP адрес в локальной сети.

Telnet dahua root

Сбросить пароль видеорегистратора Dahua можно следующими методами:

Interesting enough I found the 7ujMko0 string hardcoded in telnetd binary on the firmware.

The interesting thing is they have cramfs in the file name instead of ubifs like you found. I did a binwalk -e on the romfs one and it create a directory with a file 40.cramfs. I did a mount on it, mount -t cramfs -o loop 40.cramfs /mnt/romfs.

The password prefix is in the bin/busybox. In a hex dump, it’s next to the word Password: so somewhat identifiable. My educated guess is that it’s in telnetd. Doing a ps shows /utils/telnetd but that’s a link to /bin/busybox.

I am starting this thread to capture a bunch of information in one spot to assist those with «bricked» cameras due failed firmware upgrades. I bought my first Dahua IP camera just a couple weeks ago. I was impressed & pretty happy with it, but upon reading about new capabilities in newer firmware, I decided to upgrade it. Then like many others on here, I lost access to the Web GUI and the camera was no longer functioning. I spent the last two weeks getting to know everything about these cameras and this thread will capture all this information. It will take me several weeks to document all the information so please be patient.

I will keep updating this post as I get more time to write all the details around recovery. I will also post links to over 40+ firmware files that and which cameras they will work with. It will take me a bit of time to capture all this information, so please be patient.

BRICKED CAMERA? How can you tell?

There are several types of «BRICKED» camera conditions and they have varying levels of severity and also varying levels of complexity for recovery. Most are simple and caused by bad firmware uploads. The worst will require a full rebuild of the partitions which load the kernel, software and all other data.

1. The first step in identifying the severity of your issue is to determine what still working on your camera. In order to do that, lets remove as many variables as possible to the troubleshooting process. If possible, connect the camera ethernet and PC ethernet on it’s own switch and make sure that no vlan tagging is enabled on the switch.

Next, you need to figure out if the IP address is still reacheable. Ping the last known ip address. The default address for most cameras is 192.168.1.108.

If you don’t know it you can use the arp/ping method to configure which adds as startic arp entry to a new ip address. (This feature is enabled on the camera by default)

2. Once you have a pingable IP, you need to know what services are still active on the camera. This can be done with a simple port scanner. I have added a link to below in tools.

3. Run the port scanner and record which ports are still open. In many cases port 23 and port 3800 will still be open. If this is your situation, it is a very simple fix. If no ports are open, you will need to do a full image load which is more complex.

The typical ports that you would see are:

23 — Telnet access

443 — SSL

554 — Real time streaming port

3800 — Upgrade Deamon

5000 — UPnP

37777 — TCP Video streaming

37778 — UDP Video Streaming

42323 — Real time remote runner

Дополнительно:  How to make root access android

Plus a whole bunch more of UDP ports and more TCP ports

REPAIR WITH PORT 3800

1A. If port 3800 is open you can connect with the Dahua Config tool (link below in tools). I tdefault to port 37777 but change it to 3800 as this port where the upgrade daemon is listening. Port 37777 is a redirect but it won’t work if your firmware has failed.

Open a know working firmware file and upload to the camera.

1B. If port 3800 is not open, go to the next step to enable port 3800.

In older firmware the telnet account is root / vizxv

Once connected you can execute a ps command to see running processes. /usr/sbin/upgraded process is what listens on port 3800 for the firmware binary file.

There is also another copy in /var/tmp/

A useful tip for watching the upgrade process is to kill the «upgraded» process that is running and re-launch it in the foreground to watch the upgrade.

790 root 0:00 /sbin/telnetd

860 root 0:00 syshelper elper 60

861 root 0:00 /usr/sbin/upgraded

923 root 3:29 ./VideoDaemon AEWB AF TVOUT

Name: upgraded, bulid date: Apr 19 2014 09:17:58, svn: 255

Fail to get env authcode!

UPGRADED_MSG: Can’t Open /mnt/mtd/Config/passwd

UPGRADED_MSG: Login success!

UPGRADED_MSG: Kill 976 successful

UPGRADED_MSG: Receive A4(alarm)

UPGRADED_MSG: Receive A1(alive package)

UPGRADED_MSG: Received : 29868252, FileSize : 29868252

UPGRADED_MSG: Download Complete

UPGRADED_MSG: DoDownLoad success!

UPGRADED_MSG: Flash init success

UPGRADED_MSG: hwid file success!

Fail to get env native!

UPGRADED_ERR: LINE: 1074: invalid file: Install.lua

UPGRADED_MSG: zip file total size: 40900220

UPGRADED_MSG: packet.name: SD6XXX, board.name: IPC-HFW4300S-V2

UPGRADED_MSG: packet.hardver: , board.hardver:

UPGRADED_MSG: packet.name: IPC-HX3XXX, board.name: IPC-HFW4300S-V2

UPGRADED_MSG: Verify version success

Image Name: kernel.img

Image Type: kernel.img (gzip compressed)

Data Size: 2546876 B, Bytes = 2.43 MB

Load Address: 0XC80000

Programing start at: 0XC80000

Image Name: partition-x.cramfs.img

Image Type: partition-x.cramfs.img (gzip compressed)

Data Size: 4160 B, Bytes = 0.00 MB

Load Address: 0X500000

Programing start at: 0X500000

Image Name: romfs-x.ubifs.img

Image Type: romfs-x.ubifs.img (gzip compressed)

Data Size: 7340096 B, Bytes = 7.00 MB

Load Address: 0X1200000

Programing start at: 0X1200000

Image Name: pd-x.ubifs.img

Image Type: pd-x.ubifs.img (gzip compressed)

Data Size: 1966144 B, Bytes = 1.88 MB

Load Address: 0X940000

Programing start at: 0X940000

Data Size: 21233728 B, Bytes = 20.25 MB

Load Address: 0X2200000

Programing start at: 0X2200000

Image Name: custom-x.ubifs.img

Image Type: custom-x.ubifs.img (gzip compressed)

Load Address: 0X600000

Programing start at: 0X600000

Image Name: web-x.ubifs.img

Image Type: web-x.ubifs.img (gzip compressed)

Data Size: 5505088 B, Bytes = 5.25 MB

Load Address: 0X1A00000

Programing start at: 0X1A00000

Here you can see each partition being loaded wit the individual img files. I will write a quick how to on loading each one individually at a later time.

If you chose a valid firmware file, you will be back in working order. If you still have problems, repeat with another firmware file till you have a valid file. The IPC-HFW4300S-V2 is not natively compatible with all other 4300S firmware. I am in the process of writing a how to that explains how to over come this issue.

UNBRICK WITH UBOOT via SERIAL

OTHER USEFUL INFORMATION (to be sorted later)

Another issue that people run into is the constant reboot issue. This can be caused by a failed process. The main application which provides all the camera capabilities (web interface, streaming, etc.) is /usr/bin/sonia. This process is what makes most firmware different from version to version (sort of). There are also changes to the web partition which contains the web server pages that /usr/bin sonia hosts on port 80. The sonia process is invoked by a shell script in init.d and if the process is killed, the camera reboots after a few minutes. This has cause many people issues when trying to «unbrick» the camera since you only have a few minutes between reboots.

To stop the reboots you can update the flash. There is a parameter called appauto that tells the camera to auto start /us/bin/sonia. If you want the camera to start and not invoke the shell script that launches sonia, you need to set appauto to 0. This will stop the camera from rebooting when sonia is not running. This cam be accomplished by running ‘/sbin/appauto 0’. To turn it back on, just run /sbin/appauto 1. This writes the boot parameter in flash that the kernel reads before starting the process. You can check the current status of the appauto bootparameter with ‘cat /proc/dahua/bootpara’ It will only show what the parameter was when you booted up, so if you changes it you need to reboot to see the change in /proc/dahua/bootpara.

Дополнительно:  Как отключить приложения Google на Miui 9 и как удалить неудаляемое приложение на Android без root-доступа

Realtime streaming URL — rtsp://192.168.1.108/cam/realmonitor?channel=1&subtype=0&proto=Onvif

You can use the HTTP API to configure some parameters that are not yet in the web UI. For instance, another member discovered he could enable NFS through the web UI in addition to the local SD card. This config is not possible through the web interface as you need to pick one or the other.

1.36 is available with firmware 2.210 and above.This document with version 1.37 is available with firmware 2.212, 2.4 and above.

I have also done a bit of testing around the tftp process that is invoked in u-boot that looks for upgrade_info_7db780a713a4.txt and failed.txt. I think with a little more work, I’ll figure out if there is a recovery method using tftp without serial access. This would be necessary if you lose telnet access and need to rebuild the kernel partition that hosts telnetd.

Dahua Docs & Tools

Files are ordered by version number with the in blue.

Files with DH_ prefix are DAHUA direct firmware files and those with General_ prefix are general release for OEM cameras but I’ve had good luck with both.

I will also post the bare metal img files when I get some time which contain the firmware and all the img files including the update.img that can be used for serial recovery.

Thanks to Euly for sharing firmware files!

IMPORTANT NOTE FOR IPC-HFW4300S-V2 CAMERAS

Thanks and take care.

Edited February 26, 2015 by Guest

Create an account or sign in to comment

You need to be a member in order to leave a comment

Перечень паролей видеорегистраторов Dahua, используемых по умолчанию

При первом подключении видеорегистратора Dahua (если Вы не знаете паролей), попробуйте использовать нижеперечисленные пароли для видеорегистраторов Dahua по умолчанию:

Приобрести видеорегистратор Dahua Вы можете в нашем каталоге:

Что делать, если IP-адрес камеры, логин или пароль по умолчанию неизвестны?

Вся информация взята из открытых источников, и предоставлена в ознакомительных целях.
Мы не несем ответственности за неправомерное использование информации.
Все действия с Вашим оборудованием Вы делаете на свой страх и риск!
Не пытайтесь получить доступ к чужому оборудованию — это незаконно!

Сброс пароля видеорегистратора Dahua при помощи программного обеспечения

Чтобы сбросить пароль видеорегистратора Dahua необходимо использовать генератор паролей Dahua (генератор паролей Dahua Вы можете найти в свободном доступе в интернете).

Алгоритм действий при использовании генератора паролей:

1). Нужно подключить монитор к видеорегистратору для определения даты, которая установлена на видеорегистраторе;

2). Затем необходимо запустить загруженное программное обеспечение, чтобы сбросить пароль видеорегистратора;

Telnet dahua root

3). После этого, вводите, в соответствующую форму, дату видеорегистратора и нажимаете кнопку «Create PW (Password)»;

Telnet dahua root

4). Пароль, который получился, примените для ввода настроек видеорегистратора.

Дополнительно:  Лицензионный сертификат Windows 7 isrg root x1

Как найти IP-адрес видеокамеры в локальной сети (несколько способов)

Существует множество методов поиска видеокамеры в локальной сети. Однако, при определенных условиях найти чего-то может не получиться.
Кроме того, все методы ниже в основном просто показывают многочисленные и различные сетевые устройства, которые найдут в Вашей сети. И поиск/выделение именно IP-камер придется производить на угад.

Telnet dahua root

Утилиты производителей видеонаблюдения

Есть много фирменных утилит, напрямую от производителей устройств для видеонаблюдения. Все утилиты обычно имеют один недостаток — ищут камеры всего одного бренда. Вот несколько примеров:

Положительное свойство сетевых утилит от производителей состоит в том, что они умеют не просто искать камеру, а активировать ее, изменять пароль, обновлять операционную систему и несколько других простых возможностей.

К минусам относится следующее: поиск проводиться и поддерживается по IP-камерам только одного бренда. К примеру, SADP от HikVision будет искать только камеры HikVision.
Однако, если у Вас стоят только они, и никаких других нет, то этот минус превращается, наоборот, в плюс. Так что нужно смотреть по конкретно Вашей ситуации.

Средства, которые встроены в Windows 10

После обновления 15.10.2019 г. в Windows появилась поддержка ONVIF Profile S. В Windows 10 установлена автоматическая поисковая система IP-камер, поддерживающих ONVIF Profile S.
Минусом является то, что Windows увидит лишь IP-камеры, поддерживающие ONVIF Profile S. А большинство IP-камер, не поддерживающих ONVIF Profile S или поддерживающих архивные версий ONVIF Profile S, Windows 10 не увидит.
Кстати, поддержка ONVIF ProFile S является классной фишкой, которая сейчас позволяет пользоваться IP-камерой вместо веб-камеры в приложениях Skype без всяких «костылей».
Минусами является то, что камеры без поддержки ONVIF Profile S будут не видны, также не будут видны камеры с поддержкой архивных версий ONVIF Profile S.

IP-адрес по умолчанию

К минусам относится поиск всех устройств в локальной сети, не идентифицируя IP-камеры.

Веб интерфейс роутера

CMS или VMS часто обладают встроенными механизмами для поиска IP камер в локальной сети. Это может вполне заменить утилиту поиска устройств. Однако существует хорошее (и платное) ПО, но требует больше времени на установку.

Из минусов, конечно, следует отметить сложность установки в сравнении с простой поисковой утилитой. Может не найти камеры, не интегрированные с данным программным продуктом.

Специализированные утилиты для поиска IP-камер в локальной сети

Из минусов — отсутствие дополнительных функций, которые описаны пункте 1: «Утилиты производителей видеонаблюдения» чуть выше.

Already have an account? Sign in here.

Sign In Now

Сброс пароля видеорегистратора Dahua путем извлечения аккумулятора

Чтобы сбросить пароль путем извлечения аккумулятора необходимо:

1). Извлечь аккумулятор из регистратора Dahua

2). Подключить монитор к видеорегистратору и включить электропитание на видеорегистраторе.

Hi, I’m trying to get Telnet connection to my DH-XVR5104HS-X DVR because I want to make some modifications in it.

The device is running software version «4.000.0000001.6, Build Date: 2018-04-11».

Thanks for help!

Share this post

Hi. No telnet into any new dahua or hik

Thanks for quick response!

Is there a way of downgrading to a version with telnet?

Any pre 2017 software will but it will not run on your machine

Камеры с AliExpress / No name

Внимание! Практически все ноунейм камеры с Алиэкспресс обладают крайне низкой защитой от взлома, и встроенными бэкдорами (возможностью зайти на камеру удаленно, минуя защиту). Ниже, приведены рекомендации, для улучшения защиты такого оборудования:
Заблокируйте все неиспользуемые порты (firewall на роутере)
Заблокируйте telnet-порт (часто содержит root-пароль, который нельзя изменить, список ниже)
Используйте отдельную подсеть для камер видеонаблюдения
Исключите физический доступ к портам сетевого оборудования
Не прописывайте в камере реальный шлюз, если не используете облачный сервис самой камеры
Отключите все сервисы в веб-интерфейсе камеры, которыми вы не пользуетесь
Удалите все наклейки с QR-кодом и серийным номером, с камер и видеорегистратора
Не передавайте QR-код и серийные номера третьим лицам, для настройки облачного просмотра
Смените все пароли по умолчанию, на устойчивые к подбору пароли
Установите последние версии прошивок (есть риск выхода из строя)
Не используйте такое оборудование на объектах с высокими требованиями к конфиденциальности

Оцените статью
Master Hi-technology
Добавить комментарий