|
You last visited: Today at 01:51
Advertisement
SQL Tables Disappearing (Users_Master and Chars)
Discussion on SQL Tables Disappearing (Users_Master and Chars) within the Shaiya Private Server forum part of the Shaiya category.
06/15/2012, 12:57
|
#1
|
elite*gold: 0
Join Date: Dec 2009
Posts: 92
Received Thanks: 52
|
SQL Tables Disappearing (Users_Master and Chars)
Has anyone else had an issue with some sort of attack or bug that causes the SQL tables to drop? In my case it was the Users_Master and Chars tables, on two separate occasions. It feels like a PHP injection, but my skills in both SQL and PHP are sadly lacking, although I do my best to learn every single day.
If anyone else has had this issue, did you find out what caused it? Did you fix it? How did you stop it from happening again, assuming it's a malicious attack? How can I harden my PHP scripts to keep something like this from becoming a repeating issue, assuming it's an injection?
Thank you in advance for your advice- and please, no "If you don't know what the hell you're doing, don't run a server", because ALL of you were beginners once, and everyone has to start somewhere. It's not my fault that my "beginning" is happening in Shaiya's twilight days, when everyone attacks their neighbors to get a leg up and most worthwhile players have moved on... Anyway, all help is appreciated. Thanks.
|
|
|
06/15/2012, 13:15
|
#2
|
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
|
Make your database for localhost, has explained on a topic how to do that, someone that got your sql login credenials deleted your database, tables cannot disapair of its self.
|
|
|
06/15/2012, 13:22
|
#3
|
elite*gold: 0
Join Date: Dec 2009
Posts: 92
Received Thanks: 52
|
I thought the same thing, the first time it happened... then I changed the passwords to both the sa and Shaiya SQL logins, and also my Windows password. Then the exact same thing happened again. How, if all the passwords were new and different? That's when I started thinking it was probably some sort of injection.
Also, I saw at least 1 other person had this issue and called it a "bug", in this thread:
Quote:
Originally Posted by -ColdBloodShaiya-
what happened is that the MASTER_USER was deleted a bug but fixed now rofl
ok fixed the issue finally  only what 5mins haha but fixed it and back to normal now fixing drops and the server is fine to play 
|
I also searched around and saw another server, Shaiya Haven, with the same problem on their forums. So it seems like someone is going out of their way to do it to any vulnerable servers maybe? What's the weak link?
|
|
|
06/15/2012, 13:32
|
#4
|
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
|
The php scripts can be induced in error and show the SQL logins credenials then your an easy target make your db for localhost is the only way to be safe
|
|
|
06/15/2012, 16:50
|
#5
|
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
|
What treica is telling you is totally correct, as having the SQL as a local host is the safest way to go because you avoid outsiders coming into it.
As well if you say that you changed your password and everything and it happened again, if you believe someone is getting your credentials, do a scan on your host to make sure that you don't have any sort of keylogger on it, as with that you are able to get the password when you type it in.
|
|
|
06/15/2012, 22:23
|
#6
|
elite*gold: 0
Join Date: Apr 2012
Posts: 59
Received Thanks: 25
|
I got the same issue, 2 things i do.
1) I make SQL backup programmed automatically every hours
2) i work on my scripts to protect them and i search what servers got the same issue's and look at their websites to see what script's they use that are same to mine so i can know where i can be injected.
That's all i can tell you for now.
|
|
|
 |
Similar Threads
|
[Help]Disappearing Items
07/10/2012 - Shaiya - 17 Replies
Hello all, I have in recent weeks had a problem with items disappearing from players on my server. I have seen a post at some point covering this but I can't seem to find it. I'd like to be able to correct this without getting rid of the anti-dupe feature but I can't seem to come up with the answer no matter how much I look into it, and I don't ask for help until all resources are covered... (I love to learn it for myself & quickly usually:P )
Anyone have a clue how I can resolve this?
TY...
|
Guild Disappearing
06/07/2011 - EO PServer Hosting - 15 Replies
I keep having the issue where when I sign offline into the OffLine TG, when I sign on, often my legion disappears. My family stays, but Legion=bye-bye.
Thing is, the legion is still IN the database, it just doesn't register any characters to it.
I am unsure if it's relevant, but I noticed this always happens after that login bug, where it says you have the wrong password, then if you keep trying, it brings you to the char creation screen. I didn't go that far this time, but still show no...
|
SQL Database (Users_Master) - Administrative User Issue
03/13/2010 - Shaiya - 3 Replies
I know I already have another thread on this forum already, and it seems like I am merely sucking information from this website, but I would like to give back to this community in some way for giving me all the help it has already, even before I registered. Anyway...
I have recently set up a private Shaiya server with Hamachi as a networking placeholder for my public network (I receive an error when trying to use my own ISP-given IP, see other thread). I have set up user accounts for other...
|
|Help| Spawns Disappearing
08/31/2008 - EO PServer Hosting - 5 Replies
After starting up the NPC server, all the spawns appear as they should, but moments later they all disappear, except for the Gobi and Elven spawns.
In conclusion:
NPC Serv start
-Spawns OK
--(5 seconds later)
---All spawns (except Gobi and Elven) disappear
|
Disappearing
10/20/2006 - CO2 Exploits, Hacks & Tools - 9 Replies
I made this (sort of hack) it isnt great but i use it for guildwar, if you replace this file with your current Action.dat and you start up conquer you can run really fast, now this is still client side but when ur running circles, u disappear and nobody can see you but you can still see yourself so if anyone likes this just use it :P oh yeah its virus free or conquer has been messing around, just make sure you back up your old Action.dat if your going to play normally again oh yeah it sometimes...
|
All times are GMT +1. The time now is 01:53.
|
|