vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Boardstatistic Version 2 (https://vborg.vbsupport.ru/showthread.php?t=66783)

TRStealth 12-12-2004 12:49 AM

I'm getting a problem with this, lately, I've been getting emailed (About 600 of them actually) with a problem caused by this hack:

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT ID,Zaehler
FROM statistik_referer
WHERE Referer ='Direkter Zugriff'
ORDER BY ID DESC

mysql error: Got error 127 from table handler

mysql error number: 1030

Date: Sunday 12th of December 2004 02:42:26 AM
Script: http://www.enclave1.net/forums/showt...lastpost&t=591
Referer:
Username: Unregistered
IP Address:

I'm not really sure how to fix it.

Smitty 12-12-2004 01:42 AM

I've seen Direkter Zugriff in the database and have scrolled through 70,000+ entries deleting the 'crap'. I've been deleting the Direkter Zugriff references as well as some type of spam.

PcFreak 12-12-2004 02:53 AM

Quote:

Originally Posted by kall
Something everyone may want to know:

This script's main file is now being targetted by referrer spambots.

They go straight for statistik.php?do=referrer and your referrer links get filled with porn sites' URLs.

Thank you.
Good to know this!

The best way to delete all referers is, to use the function empty the statistk_referer table, directly in the mysql.

Or use a query like this:
PHP Code:

Truncate TABLE 'statistik_referer' 

.

PcFreak

Smitty 12-12-2004 03:14 AM

I saw a couple of posts on this but didn't thik much of it until I was doing some maintenance and took a looksie. I was really, really p*$$ed off. I edited the referrer template and disabled those stats. They're mostly google anyway.

It was even kinda creepy. I was going through the referrer and domain database tables with phpMyadmin deleting some entries for the bot entries. I was then checking the server logs with a log analysis app. While I was doing this those bots came!

Oh, well. Anything for an inbound link from another site, eh?

I plan to just leave that page disabled. I doubt my users care about that page anyway.

I do hope this is upgraded - it is a very nice hack. This has been a minor inconvenience.

Takamine334 12-12-2004 06:14 PM

I must have missed something because I've been getting this since December 5th when I installed this hack

Smitty 12-12-2004 06:48 PM

You know spammers. Where there's a will...

I went through my logs and this is relatively new - a week or so for me. I went through the entire database fields domain & referrers and checked and dumped all entries. Now I'll watch for a while. But I am keeping that page 'restricted - That is I edited the template as I said above so where there are typically the stats it just says disabled due to URL spam bots. I assume it's really a person doing this rather than a script or bot but you never know.

Trosun 12-13-2004 08:35 PM

My stats still doesn't track googlebot.

I've changed the functions_statistik.php as Onkel Tom spesified in post #332

Smitty 12-13-2004 09:20 PM

Thankis for the tip!

Takamine334 12-13-2004 11:47 PM

Wish someone could answer my question

PcFreak 12-14-2004 05:50 AM

Quote:

Originally Posted by Takamine334
Wish someone could answer my question

Code:

Step 7)
=========
Now let's activate the statistics and count of visitors

Open Template "phpinclude_start" in your AdminCP

====================================================================
add the following code at the end of the template in the last line!:
====================================================================

//## vB Statistics by PcFreak Start ##

include("./statistik_counter.php");

// ## vB Statistics by PcFreak End ##

;)
PcFreak


All times are GMT. The time now is 11:34 AM.

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.01506 seconds
  • Memory Usage 1,742KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete