Uridium Posted July 25, 2009 Posted July 25, 2009 Thought this might come in handy for some people it shows staff whos been trying to access pages they shouldnt be looking at LOGS the users name and ID and staff have choice from Option to Jail the person... SCREENIE Will post script once i have them together,,, Quote
Strats Posted July 25, 2009 Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Love it. Can't wait to get this. Quote
Feky Posted July 25, 2009 Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED nice cant wait for this+1 Quote
Uridium Posted July 25, 2009 Author Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED SQLS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now open up global_func.php and add this near bottom. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. NOW CALL THIS FILE denied.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now open up staff.php and add this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. PART 2 NEXT Quote
Uridium Posted July 25, 2009 Author Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED now open sglobals.php and where you see the die(403); statement overwrite the whole function with. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Use the method that you did here on pages that DECLINE users less than level 2 and that should be it.. Quote
plintu Posted July 25, 2009 Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED illusions, this it yet another great mod by you!!! Quote
Nicholas Posted July 25, 2009 Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED sweet, i might acturally use this mod. looks quite handy! thanks illusions! Quote
Strats Posted July 25, 2009 Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Perfect thanks! Quote
shrek1609 Posted July 25, 2009 Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED heres a question i've secured against my game against sql injections... BUT is there anyway to check the url to see if its being tampered with, and do an auto fed ? perhaps check for certain words like union ? reason i say is i check raw access logs every so often and find a few attempted injections Quote
? Sparks ? Posted July 25, 2009 Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Noyce +1 :-D Quote
Uridium Posted July 25, 2009 Author Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED This can probably be done but bare in mind its MCC and injections into it are like a sieve lol Quote
Uridium Posted July 25, 2009 Author Posted July 25, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED *FOOTNOTE* This mod is not intended to give exact Replication of a Hack attempt from outside of the game. but it will give you an idea of which users from within the game that are trying to access your pages that are only intended for staff viewing. Quote
Dave Posted July 27, 2009 Posted July 27, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Someone trying to view staff.php isn't technically a "hacking attempt", You should really make this mod check if for instance if $_GET['ID'] is numeric and if not then record them as "trying" to "hack" your site. Quote
Jordan Palmer Posted July 27, 2009 Posted July 27, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Someone trying to view staff.php isn't technically a "hacking attempt", You should really make this mod check if for instance if $_GET['ID'] is numeric and if not then record them as "trying" to "hack" your site. But why are they viewing the staff page's? +1 Illisions Quote
Uridium Posted July 27, 2009 Author Posted July 27, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED *FOOTNOTE* This mod is not intended to give exact Replication of a Hack attempt from outside of the game. but it will give you an idea of which users from within the game that are trying to access your pages that are only intended for staff viewing. Quote
Strats Posted July 27, 2009 Posted July 27, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED This is great for silly people that try to get into staff pages. Quote
PHP Scene Posted July 27, 2009 Posted July 27, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED If you're using v2, a good idea is to log MySQL errors via the database (simple modifications to the database class file), therefore you could fix bugs and catch people trying to modify queries to perform SQL injection (just an idea). Quote
endo Posted August 5, 2009 Posted August 5, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED would be a good idea php scene i may put this together if i get time Quote
Jordan Palmer Posted August 5, 2009 Posted August 5, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED If you're using v2, a good idea is to log MySQL errors via the database (simple modifications to the database class file), therefore you could fix bugs and catch people trying to modify queries to perform SQL injection (just an idea). I have done something like this.. It's great as I can who and what time they're tampering :-D Quote
endo Posted August 5, 2009 Posted August 5, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED dont suppose you want to post it pudda save me some time lol Quote
Jordan Palmer Posted August 5, 2009 Posted August 5, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Maybe xD depends how bored I get :lol: Quote
PHP Scene Posted August 6, 2009 Posted August 6, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Here, built a small logging modication, sends an event to the admin with the ID 1 change it if you wish, any suggestions or issues you face post it here. Run query: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open: class/class_db_mysql.php Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. thanks. Quote
Uridium Posted August 6, 2009 Author Posted August 6, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Cheers for the addon matey +1 Quote
toufail Posted August 10, 2009 Posted August 10, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED Here, built a small logging modication, sends an event to the admin with the ID 1 change it if you wish, any suggestions or issues you face post it here. Run query: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open: class/class_db_mysql.php Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. thanks. sorry guys but i cant find Open: class/class_db_mysql.php page in my game can you help me out Quote
Nickson Posted August 10, 2009 Posted August 10, 2009 Re: [MMCODES V2] HACKING ATTEMPTS LOGGED It's the only folder that came with rest of the files, so upload it again and you'll be fine. If you do not have this, then contact them. But note that this class/class_db_mysql.php is related to the mcc engine, other engine may not use this. 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.