Tremulous Forum
Community => Servers => Topic started by: Greudin on February 20, 2007, 04:19:28 pm
-
Salut,
This is a web rcon script for admins. It looks like :
(http://tremulous.bricosoft.com/images/trem-webrcon.png)
The sources... buttons need some fixin :
http://maps.bricosoft.com/tremulous-webrcon.phps
I did nothing, just altered Ozh's one for Quake3 :
http://FrenchFragFactory.net/ressources/webrcon/
hf,
PS: hope Dasprid will add it to Tremstats :)
-
Meh, i coded my own, but that one sure looks nice.
Does it display the output when you type something like status?
-
Meh, i coded my own, but that one sure looks nice.
Does it display the output when you type something like status?
Not the raw output of status, its a html table.
You can modify it to an ajax thingy!
-
Meh, i coded my own, but that one sure looks nice.
Does it display the output when you type something like status?
Not the raw output of status, its a html table.
You can modify it to an ajax thingy!
Not too bad, good find/work :)
-
sounds dangerous
<3
-
yes what does it actually do for admins??
-
yes what does it actually do for admins??
its an rcon tool, so its really for the server owner or anyone else with rcon.
-
theres a nifty program ive been using called rcon unlimited... works with all q3 based games including tremulous :)
-
You DO realize, that "rcon unlimited" is a _programm_ and not a web-front-end for rcon, right?
-
Smokey, can I have yours? <3
-
Smokey, can I have yours? <3
Like everything else i make, its not finished and kinda broken :)
So no :P
-
Hmm shit wtf do I do? hmmmm
-
And here's my own, simple, WebRemoteConsole :
http://fr.tremulous.net/dev/webconsole.phps
After setting up your server's ip address, port and rcon password...
Type in any rcon command and hit Send, you'll get back the output.
Commands you type in and their outputs are logged :
1) Until you close the webpage.
2) In a logs.txt file (You might need to create it and give editing right to www-data or change the chmod to 777, if you don't the script will work anyway, you just won't log everything).
I'll take any improvement ideas.
-
And here's my own, simple, WebRemoteConsole :
http://fr.tremulous.net/dev/webconsole.phps
After setting up your server's ip address, port and rcon password...
Type in any rcon command and hit Send, you'll get back the output.
Commands you type in and their outputs are logged :
1) Until you close the webpage.
2) In a logs.txt file (You might need to create it and give editing right to www-data or change the chmod to 777, if you don't the script will work anyway, you just won't log everything).
I'll take any improvement ideas.
store md5 of password?
-
Well, I guess I could always store a md5 of password somewhere...
But unless you wanna have to type it in every time you access the webconsole, then I'd still have to leave it in plain somewhere. And if you actually do type it every time, then there's no use in storing it at all. *Geez*, I could also not store the ip address nor port and host a public TremWebRemoteConsole for every ServerAdmin (providing their own ip, port and rcon password) to use ! But that's not the point now, is it ?
Very worse that could happen is other users from your WebServer accessing your file. If this happens, either that server is poorly configured, or they have so much power they could shutdown your TremServer anyways.
-
Why not just use .htaccess?
-
Well that's what I use... Protect this script any way you like. Clearly it's not to be available to the public, and tools to restrict webaccess already exists. If asked I can put up a tutorial on how to use the .htaccess file...