New module for drawing network maps
-
Hellow, i would like to introduce you new netxms module:
http://www.visualnet.org/netxmsMaps_0.1.4.rar
With it you can draw maps like in microsoft visio (just drag & drop objects to canvas and make lines from one object to another).
It supports:
-straight,curved and other connector types
-object resizing, adding image,changing transparancy
-auto-generating node tree (like in netxms console)
-node templates support (just apply template to node and its parameters will be applied to node)
-support fetching and applying to image node status
-supporting fetching and appying to node last DCI value ( as line or number)
....It supports all database types on which netxms working. (tested only with mysql)
Client application is cross-plaform (tested only on microsoft windows)Screenshot:
http://www.visualnet.org/example.png -
-
Thanks for contributions.
Note for users: netxms access rights are not used (right now); only login/password combination is checked against server's database.
-
Some SQL-related things:
$result = $mdb2->query("select item_id,name,description,polling_interval from items where node_id='{$_POST['node_id']}'");Queries like this are unsafe on any DB which allows stacked queries (postgres, sqlite - almost all except mysql).
It can be easily exploited to run multiple queries: just set node_id to something like this:
'; update users set system_access=524287; select 'This will run 3 queries:
select item_id,name,description,polling_interval from items where node_id=''; update users set system_access=524287; select '' -- to prevent execution error -
-
That's from rcp.php.
You escaping all input for insert/update queries, for missed it in few selects:
*) fetch_node_status: $_POST['node_id']
*) fetch_dciList: $_POST['node_id']
*) fetch_dci_value: $_POST['item_id'] and $_POST['node_id']
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login