guino / Merkury1080P

Merkury1080P (CW017) Rooting and Customization
77 stars 16 forks source link

Out of ideas to get port 80, 8080 or 8090 open. #51

Open GroenZoom opened 8 months ago

GroenZoom commented 8 months ago

Dear Guino:

A few days ago i bought another SLC PTZ indoor camera in an Action store 3007325. Unfortunately all attempts to open a port 80, 8090 or 8090 for access through ppsfactory Tool.txt in the SD-card's rootailed completely. Only result with Nmap is that port 6668 is open, Onvif Device Manager yields no result. Have tried with several SD-cards. Do you have any reports or solutions about ppsfactory Tool.txt. not working anymore?

Thanks in advance for any suggestion Martin J.

mehmetahsen commented 8 months ago

@GroenZoom Firmware version 3.10.61 ?

GroenZoom commented 8 months ago

Haven't found the firmware version in Tuya app yet nor with Tuya ioT platform.

GroenZoom commented 8 months ago

Found it on IOT: "current_version": "3.10.61",

guino commented 8 months ago

@GroenZoom Someone with a non-rotating camera on version 3.10.57 was able to make it work with the steps from here: https://github.com/guino/LSCOutdoor1080P here's the discussion/information: https://github.com/guino/LSCOutdoor1080P/issues/4

The rotating and non-rotating cameras pictured use the same firmware, I have no way to affirm if it will work on 3.10.61 but there's a good chance it would since it worked for 3.10.57.

GroenZoom commented 8 months ago

Wager: thanks for the info and link, not found before. I will test and provide redults back here.Op 14 nov. 2023 01:25 schreef Wagner @.***>: @GroenZoom Someone with a non-rotating camera on version 3.10.57 was able to make it work with the steps from here: https://github.com/guino/LSCOutdoor1080P here's the discussion/information: guino/LSCOutdoor1080P#4 The rotating and non-rotating cameras pictured use the same firmware, I have no way to affirm if it will work on 3.10.61 but there's a good chance it would since it worked for 3.10.57.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

GroenZoom commented 8 months ago

ROM patcher Wagner a.o. Yes i can confirm firmware version 3.10.61 with ioT Platform. Yes with _ht_av_tuning.conf and shadow on an SD-card i can access the camera with Putty Telnet. Yes with the mmc files on the SD-card anyka_ipc is written to the SD-card when booting. No unfortunately MD5 is not 5ac1f462bf039ec3c6c0a31d27ae652a but see screen dump. More than gratefull for any suggestion or link into a alternative solution to use in Home Assistant. Bye Martin

GroenZoom commented 8 months ago

Attached the anyka_ipc file found with dummy extension zip added [anyka_ipc.zip](https://github.com/guino/Merkury1080P/files/13348997/anyka_ipc.zip)

guino commented 8 months ago

@GroenZoom did you try option 3 at all (https://github.com/guino/LSCOutdoor1080P#option-3----if-youre-not-on-21036) ? This option doesn't require matching md5 as you'd be running the version 2.10.36 (that works with the existing patch). The one person who had version 3.10.57 got it to work that way. There should be no 'visible' differences between using 2.10.36 (compared to 3.10.61).

GroenZoom commented 8 months ago

@Guino I'am gonna try that. BTW I have seen Nmap finding open ports 8080, 23, 24 next to 6668. Unfortunately the exact content of the SD-card then got lost and now only 23, 24 and 6668 are open. Keep trying.

GroenZoom commented 8 months ago

Found how I did it, continuing now with the patch

Discovered open port 8080/tcp on 192.168.2.187 Discovered open port 23/tcp on 192.168.2.187 Discovered open port 6668/tcp on 192.168.2.187 Discovered open port 24/tcp on 192.168.2.187

GroenZoom commented 8 months ago

Encountering serious problems to get binwalk running with Phyton on wim10. Pyinstaller won't install . Just decided a few months back to abort Linux station. Is ther an alternative to pull the bin apart?

GroenZoom commented 8 months ago

Option3, step 3 binwalk -e -M 165966791961ed11009a7.bin opens a window asking which application should be used to open this file?? Previous steps where all succesfull and binwalk.ex is placed in C:\windows/System32.

guino commented 8 months ago

@GroenZoom send me an email (my email is in my github profile) and I will gladly help you with binwalk.

GroenZoom commented 8 months ago

Is this what i should accomplish?

Discovered open port 554/tcp on 192.168.2.187 Discovered open port 23/tcp on 192.168.2.187 Discovered open port 8080/tcp on 192.168.2.187 Discovered open port 24/tcp on 192.168.2.187 Discovered open port 6668/tcp on 192.168.2.187 Discovered open port 8090/tcp on 192.168.2.187

guino commented 8 months ago

Seems right -- rtsp (554), http server (8080), telnet (23/24) I don't think we have anything else left.

GroenZoom commented 8 months ago

Working like a charm, Thanks very much!

Martin

Van: Wagner Verzonden: woensdag 15 november 2023 22:10 Aan: guino/Merkury1080P CC: GroenZoom; Mention Onderwerp: Re: [guino/Merkury1080P] Out of ideas to get port 80, 8080 or 8090open. (Issue #51)

Seems right -- rtsp (554), http server (8080), telnet (23/24) I don't think we have anything else left. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

GroenZoom commented 8 months ago

Hmmm? Ports are there and open but http://admin:admin@IP:8080..... or http://admin:056565099@IP:8080..... are refused. Has that to do with httpd.conf /:user:password. port 8080 responds asking login and password? neither are accepted. For the time beiing I have not found the right url for the rtsp stream.

guino commented 8 months ago

@GroenZoom the url for RTSP should just be: rtsp://IP/main_ch like rtsp://192.168.0.123/main_ch On port 8080 the http server we setup will work with the user/password defined in httpd.conf (default user: user password: password), so you can try: http://user:password@IP:8080/ On port 8090 is the device's own http server which we only use for getting initial information (and can't be disabled). For PTZ control you should be able to browse to http://user:password@IP:8080/ptz.html (assuming ptz.html and motor files are on the SD card).

Please notice: ~I have had issues with VLC (linux) not playing the RTSP feed correctly on these devices recently~ but ffmpeg (ffplay) and mplayer work just fine, so it will depend on your client what will or will not work. Interestingly VLC on the iOS worked just fine.

EDIT: was just missing some optional VLC plugins on my new machine.