Author Topic: web rcon tool for admins  (Read 9976 times)

Greudin

  • Posts: 131
  • Turrets: +1/-1
    • http://tremulous.bricosoft.com
web rcon tool for admins
« on: February 20, 2007, 04:19:28 pm »
Salut,

This is a web rcon script for admins. It looks like :


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 :)
url=http://tremulous.bricosoft.com][/url]

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
web rcon tool for admins
« Reply #1 on: February 20, 2007, 04:24:28 pm »
Meh, i coded my own, but that one sure looks nice.


Does it display the output when you type something like status?

Greudin

  • Posts: 131
  • Turrets: +1/-1
    • http://tremulous.bricosoft.com
web rcon tool for admins
« Reply #2 on: February 20, 2007, 04:35:38 pm »
Quote from: "Smokey"
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!
url=http://tremulous.bricosoft.com][/url]

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
web rcon tool for admins
« Reply #3 on: February 20, 2007, 04:36:46 pm »
Quote from: "Greudin"
Quote from: "Smokey"
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 :)

vcxzet

  • Guest
web rcon tool for admins
« Reply #4 on: February 20, 2007, 04:57:57 pm »
sounds dangerous
<3

Ace1

  • Posts: 108
  • Turrets: +0/-0
web rcon tool for admins
« Reply #5 on: February 20, 2007, 05:01:03 pm »
yes what does it actually do for admins??
img]http://img515.imageshack.us/img515/6499/ace1ho5.jpg[/img]

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
web rcon tool for admins
« Reply #6 on: February 20, 2007, 05:11:25 pm »
Quote from: "Ace1"
yes what does it actually do for admins??

its an rcon tool, so its really for the server owner or anyone else with rcon.

[EVIL]Unknown

  • Posts: 263
  • Turrets: +1/-1
    • http://www.evil-clan.com
web rcon tool for admins
« Reply #7 on: February 20, 2007, 05:21:11 pm »
theres a nifty program ive been using called rcon unlimited... works with all q3 based games including tremulous :)
url=http://userbars.org][/url]


Caveman

  • Guest
web rcon tool for admins
« Reply #8 on: February 20, 2007, 07:03:11 pm »
You DO realize, that "rcon unlimited" is a _programm_ and not a web-front-end for rcon, right?

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
web rcon tool for admins
« Reply #9 on: February 20, 2007, 09:42:14 pm »
Smokey, can I have yours? <3
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
web rcon tool for admins
« Reply #10 on: February 20, 2007, 10:13:05 pm »
Quote from: "TinMan"
Smokey, can I have yours? <3

Like everything else i make, its not finished and kinda broken :)

So no  :P

-:GoDz:-Devil

  • Guest
web rcon tool for admins
« Reply #11 on: February 20, 2007, 10:22:08 pm »
Hmm shit wtf do I do? hmmmm

tv

  • Posts: 67
  • Turrets: +4/-1
    • Yggdrasil's Brotherhood (CY)
web rcon tool for admins
« Reply #12 on: February 20, 2007, 11:08:57 pm »
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.

vcxzet

  • Guest
web rcon tool for admins
« Reply #13 on: February 21, 2007, 05:18:14 am »
Quote from: "tv"
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?

tv

  • Posts: 67
  • Turrets: +4/-1
    • Yggdrasil's Brotherhood (CY)
web rcon tool for admins
« Reply #14 on: February 21, 2007, 07:33:42 am »
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.

Caveman

  • Guest
web rcon tool for admins
« Reply #15 on: February 21, 2007, 08:10:14 am »
Why not just use .htaccess?

tv

  • Posts: 67
  • Turrets: +4/-1
    • Yggdrasil's Brotherhood (CY)
web rcon tool for admins
« Reply #16 on: February 21, 2007, 02:38:44 pm »
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...