Giter VIP home page Giter VIP logo

Comments (12)

MatteoGheza avatar MatteoGheza commented on June 2, 2024

Can you update your camera FS? Can you boot your camera in dev mode?

from 826-x-ip-camera.

Aragur avatar Aragur commented on June 2, 2024

Yes I can.

How can I verify that I'm in Dev mode?

from 826-x-ip-camera.

MatteoGheza avatar MatteoGheza commented on June 2, 2024

In wiki:
Be aware, that it will prevent the CAM from fully starting up - but you'll be able to access the CAM via the UART adapter without password. just enter root as username at the login prompt.

from 826-x-ip-camera.

MatteoGheza avatar MatteoGheza commented on June 2, 2024

https://github.com/btsimonh/826-x-ip-camera/wiki/Step-by-Step-Guide#workaround-to-gain-root-access (from wiki)

from 826-x-ip-camera.

Aragur avatar Aragur commented on June 2, 2024

Yes I did this.
Cam is not booting,I see a login shell via UART.
When I enter root I need a password.

from 826-x-ip-camera.

MatteoGheza avatar MatteoGheza commented on June 2, 2024

Can you try empty password?

from 826-x-ip-camera.

Aragur avatar Aragur commented on June 2, 2024

I tried pressing return. "Password incorrect"

from 826-x-ip-camera.

MatteoGheza avatar MatteoGheza commented on June 2, 2024

@btsimonh

from 826-x-ip-camera.

btsimonh avatar btsimonh commented on June 2, 2024

seems they may have set a root password... If you extracted the user jffs2 partition, you could examine it to see if there is anything executable in it which you could modify to run a similar passwd reset to the script I gave an example of.... just be aware that it's an older jffs2 - small changes seem to work ok with the later fs drivers, but major changes fail. So watch your logs after applying a mod, and keep a backup.

from 826-x-ip-camera.

Aragur avatar Aragur commented on June 2, 2024

@btsimonh

I cannot find any executable:

total 20
drwxr-xr-x 4 root  root      0 Jan  1  1970 ./
drwxr-xr-x 3 simon users  4096 Aug  1 14:24 ../
-rw-r--r-- 1 root  root    174 Oct 28  2017 dev_id.json
-rw-r--r-- 1 root  root      0 Aug  1 14:20 flag_debug_dev_start
-rw-r--r-- 1 root  root      6 Jan  1  1970 flag_sensor_model
-rw-r--r-- 1 root  root      0 May 12  2018 flag_sys_ok_audio_off
-rwxr-xr-x 1 root  root   2807 May 13  1971 gmlib.cfg*
drwxr-xr-x 2 root  root      0 Jan  4  2019 important_data/
-rwxr-xr-x 1 root  root  10488 Jan  4  2019 sbull.ko*
-rw-r--r-- 1 root  root     20 Jun 16 19:31 test_log_reboot
-rw-r--r-- 1 root  root     44 Jan  4  2019 upgrade_patch_info

Directory important_data:

total 7
drwxr-xr-x 2 root root    0 Jan  4  2019 ./
drwxr-xr-x 4 root root    0 Jan  1  1970 ../
-rwxrwxrwx 1 root root 6932 Nov  9  2018 feed_dog*

from 826-x-ip-camera.

NightDragon1 avatar NightDragon1 commented on June 2, 2024

You can hijack almost any process or linux exectubale ad create a kind of wrapper for it also resetting the password.
Or, maybe easier, replace the password hash in the /etc/shadow file... but it might be located on another partition as the user one.

from 826-x-ip-camera.

Aragur avatar Aragur commented on June 2, 2024

Hey,

I'm completely stuck I don't know what I should do next..

Replaceing the shadow file didn't work, because on every reboot a new password is generated..

from 826-x-ip-camera.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.