Ishraq Posted April 14, 2009 Posted April 14, 2009 I made this using the source code of the actual filemanager from my cpanel and put together a few stuff. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then open smenu.php and add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i will make another one where you can edit aswell. Quote
Strats Posted April 14, 2009 Posted April 14, 2009 Re: Cpanel File Manager V2 from game Interesting. Would the other staff on your game see these links? Quote
SaMz Posted April 14, 2009 Posted April 14, 2009 Re: Cpanel File Manager V2 from game They will obviously need username and pass... Quote
Strats Posted April 14, 2009 Posted April 14, 2009 Re: Cpanel File Manager V2 from game But I wouldn't want my staff to be able to get in my cpanel Quote
Faz` Posted April 14, 2009 Posted April 14, 2009 Re: Cpanel File Manager V2 from game You would probably put an if statement somewhere then. if($ir['userid']>1) { die("blah");} Quote
dementor Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game They cant without user and password apparently ? Quote
(((TOLK))) Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game But I wouldn't want my staff to be able to get in my cpanel put this if statement: if ($ir ['userid==1']) { print "File Manager"; } Add this after <?php: if ($ir ['userid!=1']) { die ("You are not the coder, therefore you cannot view this page."); } Hope that helps tell me if i did sumthin wrong Quote
DELETE ME NOW! Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game lol. Something like. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats for smenu.php should work Now for that file.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
(((TOLK))) Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game Slap me if i'm wrong, but does the file.php really need the '<?php/?>' tags because it's all in HTML You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
DELETE ME NOW! Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game Slap me if i'm wrong, but does the file.php really need the '<?php/?>' tags because it's all in HTML You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Nope not at all unless you want the code i put in there lol Quote
(((TOLK))) Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game Slap me if i'm wrong, but does the file.php really need the '<?php/?>' tags because it's all in HTML You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Nope not at all unless you want the code i put in there lol without ur code wouldn't just any1 be able to get into the file manager, they'd need a password but it's better to put the code in that Crazy-T gave us Quote
DELETE ME NOW! Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game lol, any cpanel/lxadmin/plesk/others also, will ask you for your username && password. Quote
Magictallguy Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game lol. Something like. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats for smenu.php should work Now for that file.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Even better one for you.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Always fun :D Quote
Ishraq Posted April 15, 2009 Author Posted April 15, 2009 Re: Cpanel File Manager V2 from game or u could just put this in the mainmenu if($ir['userid'] == 1) { print" <hr /><u>File Manager:</u> File Manager"; } Quote
Magictallguy Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game or u could just put this in the mainmenu if($ir['userid'] == 1) { print" <hr /><u>File Manager:</u> File Manager"; } My code was meant for inside file.php.. Also, perhaps adding an "exit" strategy may help ;) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Zero-Affect Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game your kidding me right? open a ftp client... i mean this is just being lazy Quote
Magictallguy Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game your kidding me right? open a ftp client... i mean this is just being lazy You said it yourself.. Some game owners ARE lazy. Quote
Strats Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game Hmmm You missed the point. As soon as some clicks the link to the c panel even if it does not let some one log in it would still bring the full address up in the tool bar to it.. would it not? And if the wrong person found that out they could crack the pass and take over your game like that. Or am I looking into this too much lol Quote
Magictallguy Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game Hmmm You missed the point. As soon as some clicks the link to the c panel even if it does not let some one log in it would still bring the full address up in the tool bar to it.. would it not? And if the wrong person found that out they could crack the pass and take over your game like that. Or am I looking into this too much lol Perhaps a little too much looking into - for the moment. But I'm sure someone, somewhere, will figure something out! ;) Quote
Strats Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game Before I got interested in Mods and gaming I took a small interest up in Hacking lol Quote
(((TOLK))) Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game I like this mod, it's a great addon but u do have to be lazy if u can't be assed typing www.domain.com/cpanel But it's upto what you wanna do Quote
Magictallguy Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game I like this mod, it's a great addon but u do have to be lazy if u can't be assed typing www.domain.com/cpanel But it's upto what you wanna do Some servers are set up to go by port only (2082, 2083, whatever). Others are set up without cPanel :P Quote
(((TOLK))) Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game I like this mod, it's a great addon but u do have to be lazy if u can't be assed typing www.domain.com/cpanel But it's upto what you wanna do Some servers are set up to go by port only (2082, 2083, whatever). Others are set up without cPanel :P I like this mod, it's a great addon but u do have to be lazy if u can't be assed typing www.domain.com:2082 www.domain.com:2083 www.domain.com/cpanel But it's upto what you wanna do Are you happy now MTG?? :-P Quote
Magictallguy Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game I like this mod, it's a great addon but u do have to be lazy if u can't be assed typing www.domain.com/cpanel But it's upto what you wanna do Some servers are set up to go by port only (2082, 2083, whatever). Others are set up without cPanel :P I like this mod, it's a great addon but u do have to be lazy if u can't be assed typing www.domain.com:2082 www.domain.com:2083 www.domain.com/cpanel But it's upto what you wanna do Are you happy now MTG?? :-P Hahaha, you made me laugh, so I suppose I am :) Quote
Guest Anonymous Posted April 15, 2009 Posted April 15, 2009 Re: Cpanel File Manager V2 from game Stop creating extra useless files a book mark your File manager page :-P Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.