vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   I was hacked!! Help please with msql issue (https://vborg.vbsupport.ru/showthread.php?t=56542)

dano 08-27-2003 07:30 PM

I was hacked!! Help please with msql issue
 
OK, I was hacked today, and now I am getting this error. It will not allow you to open any forum at all:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT announcementid,startdate,title,user.username,user. userid,user.usertitle,user.cus tomtitle
FROM announcement
LEFT JOIN user
ON user.userid=announcement.userid
WHERE startdate<=1062016292 AND enddate>=1062016292
AND (forumid='30' OR forumid='1' OR forumid='-1')
ORDER BY startdate DESC
LIMIT 1
mysql error: Can't open file: 'announcement.MYD'. (errno: 145)

mysql error number: 1016

Date: Wednesday 27th of August 2003 01:31:32 PM

I went in to PHP MyAdmin and I tried to "repair" the tables, but it just said:

Error

SQL-query :

SELECT *
FROM `announcement`
LIMIT 0, 30

MySQL said:

Can't open file: 'announcement.MYD'. (errno: 145)
Back

assassingod 08-27-2003 07:36 PM

Even though you've tried it, run this query:

[SQL]
REPAIR TABLE announcement
[/SQL]

Or upload repair.php to your admin dir and run that.

dano 08-27-2003 07:42 PM

Quote:

Today at 09:36 PM assassingod said this in Post #2
Even though you've tried it, run this query:

[SQL]
REPAIR TABLE announcement
[/SQL]


OK, wow that did work this time. It was the way I was doing it I think. The board is back up, but in the admincp I can not click on the announcemnt buttons at all. I just get blank screens? Any ideas?

assassingod 08-27-2003 07:56 PM

No idea, checked that announcement.php is still in the admin dir?

NTLDR 08-27-2003 07:59 PM

You haven't been hacked (I doubt). The announcement table has become corrupt, take a look at the MySQL forum over at vBulletin.com for eva2000's post on how to fix table corruption with MySQL 4.x.


All times are GMT. The time now is 11:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02465 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete