jloyd / oculus

Automatically exported from code.google.com/p/oculus
0 stars 0 forks source link

command manager access in Application.java #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/oculus/source/browse/trunk/oculus/WEB-INF/src/oculus/Ap
plication.java#408

Here we need to let commands coming from the LAN to/from the CommandManager 
class. 

The swing tool lets one do: assumecontrol user pass

but doesn't actually connect, so isn't admin or driver and commands get 
dropped. Need to test for legit commands in xml like:

<oculus><user>brad</brad><pass>pass</pass><action>reboot</action><oculus>

as a futher check, only those matching the LAN address can inject commands. 
Note, these commands should execute even if anouther user is currently logged 
in. This is how sonar stops the bot etc.

Original issue reported on code.google.com by brad.zdanivsky on 1 Sep 2011 at 10:50

GoogleCodeExporter commented 9 years ago
opps... xml error there but you get the point

Original comment by brad.zdanivsky on 1 Sep 2011 at 11:06

GoogleCodeExporter commented 9 years ago

Original comment by brad.zdanivsky on 17 Nov 2011 at 12:57