Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky last edited by liv-in-sky

      suche tester für neue version des scriptes

      AApossis (24).gif

      AApossis (25).gif

      • setting muss einzeln kopiert werden, die setting blöcke sind unterschiedlich zum alten script
      • es müssen keine dp angelegt werden - alles unter: javascript.x.Tabellen@Liv.TestTabelleVIS.NMAPTabelleVIS . altes script stoppen für test
      • verschiedene bereiche - tabelle oder flexbox - umgeschaltet wird durch doppel-klick im tabellenbereich - grüner kasten - für tablet-user: dpklick geht in android nicht - man kann einen button dafür in der seitenleiste aktivieren
      • refresh - neues einlesen der tabelle - gelber pfeil - daher kann das schedule seltener sein
      • sortieren durch klick auf test in spalte - orange pfeile
      • suche : blauer pfeil - 2tes bild oben

      erklär.png


      https://github.com/liv-in-sky/nmap-ip-iobroker-script

      mit viel plat auf der seite - 2 spaltig:


      AApossis (25).gif

      Frank Zoellner 1 Reply Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active last edited by

        @liv-in-sky sagte in IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol:

        suche tester für neue version des scriptes


        nmap-neu-18.3.21-14

        Welches Skript?

        liv-in-sky 2 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @sigi234 last edited by liv-in-sky

          @sigi234 ist als file im spoiler - zu groß zum posten

          sigi234 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @sigi234 last edited by

            @sigi234

            hoffentlich geht es unter windows noch - habe aber bei der nmap abfrage nichts geändert

            1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @liv-in-sky last edited by

              @liv-in-sky sagte in IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol:

              @sigi234 ist als file im spoiler - zu groß zum posten

              File leer

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @sigi234 last edited by

                @sigi234

                jetzt bitte probieren

                Frank Zoellner 2 Replies Last reply Reply Quote 0
                • Frank Zoellner
                  Frank Zoellner @liv-in-sky last edited by

                  @liv-in-sky
                  Hallo, sieht ja toll aus.

                  Habe das Script bei mir reinkopiert und kriege einen Error in dieser Zeile:

                  for (let aa=0;aa<myArrMac.length;aa++) {myArrSingleMac.push(myArrMac[aa].replace("MAC Address: ",""))}
                  

                  mit der Fehlermeldung
                  (20246) at writeHTML (script.js.common.networkscan2:269:1)
                  (20246) at processTicksAndRejections (internal/process/task_queues.js:97:5)
                  (20246) at runMicrotasks (<anonymous>)
                  (20246) at script.js.common.networkscan2:288:27
                  (20246) script.js.common.networkscan2: TypeError: Cannot read property 'length' of null

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @Frank Zoellner last edited by

                    @frank-zoellner

                    da scheint es ein problem mit den mac adressen zu geben

                    könntest du mir bitte mit deinem nmap befehl auf der konsole das ergebnis posten - evtl ist der regrex, der die mac ausliest, nicht optimal

                    ich werd wohl noch eine sicherheitsabfrage dafür machen müssen

                    Frank Zoellner 1 Reply Last reply Reply Quote 0
                    • Frank Zoellner
                      Frank Zoellner @liv-in-sky last edited by

                      @liv-in-sky
                      avascript.0 (20246) script.js.common.networkscan2: Starting Nmap 7.70 ( https://nmap.org ) at 2021-03-18 21:05 CET Nmap scan report for speedport.ip (192.168.30.2) Host is up (0.00091s latency). Nmap scan report for 192.168.30.10 Host is up (0.0047s latency). Nmap scan report for 192.168.30.12 Host is up (0.0078s latency). Nmap scan report for 192.168.30.14 Host is up (0.00045s latency). Nmap scan report for nas (192.168.30.16) Host is up (0.0011s latency). Nmap scan report for PC192-168-30-20 (192.168.30.20) Host is up (0.00094s latency). Nmap scan report for PC192-168-30-104 (192.168.30.104) Host is up (0.012s latency). Nmap scan report for PC192-168-30-120 (192.168.30.120) Host is up (0.043s latency). Nmap scan report for PC192-168-30-138 (192.168.30.138) Host is up (0.00050s latency). Nmap scan report for PC192-168-30-150 (192.168.30.150) Host is up (0.011s latency). Nmap scan report for PC192-168-30-158 (192.168.30.158) Host is up (0.0053s latency). Nmap scan report for PC192-168-30-169 (192.168.30.169) Host is up (0.019s latency). Nmap scan report for PC192-168-30-170 (192.168.30.170) Host is up (0.0057s latency). Nmap scan report for PC192-168-30-188 (192.168.30.188) Host is up (0.030s latency). Nmap done: 256 IP addresses (14 hosts up) scanned in 2.95 seconds

                      sollte da die mac Adressen mit drin stehen ?

                      liv-in-sky 1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @Frank Zoellner last edited by

                        @frank-zoellner

                        ja bei mir sieht das so aus

                        hast du windows ?als iobroker ?

                        nutzt du root, sonst geht es nicht

                        bei mir

                        
                        Nmap scan report for 192-168-178-194-fritz-box.fritz.box (192.168.178.194)
                        Host is up (0.0053s latency).
                        MAC Address: F4:03:2A:46:49:1C (Unknown)
                        Nmap scan report for Unifi-Mesh.fritz.box (192.168.178.195)
                        Host is up (0.00074s latency).
                        MAC Address: E0:63:DA:B9:EC:2C (Unknown)
                        Nmap scan report for temptest.fritz.box (192.168.178.197)
                        Host is up (-0.059s latency).
                        MAC Address: 7C:9E:BD:07:62:F8 (Unknown)
                        Nmap scan report for NAS-FILE-Server.fritz.box (192.168.178.199)
                        Host is up (0.000093s latency).
                        MAC Address: F2:45:1F:33:7D:B5 (Unknown)
                        Nmap scan report for raspi4.fritz.box (192.168.178.200)
                        Host is up (0.00042s latency).
                        MAC Address: DC:A6:32:79:A0:BF (Unknown)
                        Nmap scan report for 192.168.178.201
                        Host is up (0.21s latency).
                        MAC Address: 9C:C7:A6:FF:A0:78 (AVM GmbH)
                        Nmap scan report for TasmoAdmin.fritz.box (192.168.178.235)
                        Host is up (0.000032s latency).
                        MAC Address: E2:5A:89:0C:4F:06 (Unknown)
                        Nmap scan report for iobroker59.fritz.box (192
                        

                        Frank Zoellner 1 Reply Last reply Reply Quote 0
                        • Frank Zoellner
                          Frank Zoellner @liv-in-sky last edited by

                          @liv-in-sky
                          neh das läuft in einem Docker unter linux ohne sudo...

                          liv-in-sky 1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Frank Zoellner last edited by

                            @frank-zoellner das müssen wir irgendwie hinbekommen, dass du den root nutzt

                            Frank Zoellner 1 Reply Last reply Reply Quote 0
                            • Frank Zoellner
                              Frank Zoellner @liv-in-sky last edited by Frank Zoellner

                              @liv-in-sky dann trag ich den wieder in sudoers list ein ...

                              liv-in-sky 1 Reply Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Frank Zoellner last edited by

                                @frank-zoellner

                                probier es mal

                                Frank Zoellner 1 Reply Last reply Reply Quote 0
                                • Frank Zoellner
                                  Frank Zoellner @liv-in-sky last edited by

                                  @liv-in-sky
                                  ich glaub es liegt eher am Docker...

                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Frank Zoellner last edited by

                                    @frank-zoellner

                                    hast du mal auf google gesucht - mit: "iobroker docker exec root command"

                                    vielleicht gibt es da was

                                    Frank Zoellner 1 Reply Last reply Reply Quote 0
                                    • Frank Zoellner
                                      Frank Zoellner @liv-in-sky last edited by

                                      @liv-in-sky
                                      ja ich google mich gar wund, wenn ich was hab meld ich mich

                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @Frank Zoellner last edited by liv-in-sky

                                        @frank-zoellner habe leider keine ahnung von docker

                                        @Thomas-Braun hast du ahnung von docker - wir müssten den nmap befehl mit root aufrufen - exec()

                                        Frank Zoellner Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • Frank Zoellner
                                          Frank Zoellner @liv-in-sky last edited by

                                          @liv-in-sky
                                          ich glaube nicht das es am root legit sonder eher das er über das Netz nicht die macs auslesen kann ?

                                          ich habe den Befehl auch in der shell des containers ausgeführt, da bin ich root oder auch als sudo Nmap alles das gleiche Ergebnis, keine mac Adressen...

                                          liv-in-sky 2 Replies Last reply Reply Quote 0
                                          • liv-in-sky
                                            liv-in-sky @Frank Zoellner last edited by

                                            @frank-zoellner

                                            bei mir ist das so - habe es getestet - als normaler user kommen keine mac adressen - als root schon

                                            root:

                                            
                                            Nmap scan report for temptest.fritz.box (192.168.178.197)
                                            Host is up (0.27s latency).
                                            MAC Address: 7C:9E:BD:07:62:F8 (Unknown)
                                            Nmap scan report for NAS-FILE-Server.fritz.box (192.168.178.199)
                                            Host is up (0.000093s latency).
                                            MAC Address: F2:45:1F:33:7D:B5 (Unknown)
                                            Nmap scan report for raspi4.fritz.box (192.168.178.200)
                                            Host is up (0.00034s latency).
                                            MAC Address: DC:A6:32:79:A0:BF (Unknown)
                                            Nmap scan report for 192.168.178.201
                                            Host is up (0.44s latency).
                                            MAC Address: 9C:C7:A6:FF:A0:78 (AVM GmbH)
                                            Nmap scan report for TasmoAdmin.fritz.box (192.168.178.235)
                                            Host is up (0.000025s latency).
                                            MAC Address: E2:5A:89:0C:4F:06 (Unknown)
                                            
                                            

                                            anderer user - selber befehl

                                            Nmap scan report for WemosHausTemperatur.fritz.box (192.168.178.186)
                                            Host is up (0.11s latency).
                                            Nmap scan report for Android-7.fritz.box (192.168.178.189)
                                            Host is up (0.0016s latency).
                                            Nmap scan report for 192-168-178-194-fritz-box.fritz.box (192.168.178.194)
                                            Host is up (0.0057s latency).
                                            Nmap scan report for Unifi-Mesh.fritz.box (192.168.178.195)
                                            Host is up (0.0012s latency).
                                            Nmap scan report for temptest.fritz.box (192.168.178.197)
                                            Host is up (0.23s latency).
                                            Nmap scan report for NAS-FILE-Server.fritz.box (192.168.178.199)
                                            Host is up (0.00025s latency).
                                            
                                            

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            413
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript template
                                            26
                                            493
                                            67014
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo