Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
An alternative to banning: Miserable Users Details »»
An alternative to banning: Miserable Users
Version: 1.00, by Zzed Zzed is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-07-2003 Last Update: Never Installs: 151
 
No support by the author.

This hack is an alternative to banning a user. As the name suggests a user who
gets hit with this hack will become truly miserable while trying to access
your board.

So here is what really happens to a miserable user:

- There is a random 60-120 second delay each time they click on a link.
- 90% of times they have no search engine acccess.
- 75% of the times they get the server too busy error.

If they don't get the server too busy error:
- 50% of the times they may get a blank page
- 30% of the times they may get forwarded to the forum main page
- 20% of the time they may be able to see the page they asked for.

after doing all the math in actuality they have only a 5% chance of seeing the
page they clicked on. What kills them is the time they have to wait before
anything happens.

I actually once tracked a miserable user and watched him suffer for 2 whole
hours before he was able to make a simple post.

This hack is considered one of the most sadistic hacks on my board.

The hack allows you to make your user miserable via the admin CP. It also
allows you to search for all miserable users through the admin CP as well.

Also in showthread.php, it appends a red status that is only visibly to admins
and mods stating that a user is miserable.


Tables affected by this hack: user

Files affected by this hack: global.php, showthread.php, admin/user.php

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 03-16-2003, 05:50 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shouldn't that be?

PHP Code:
$DB_site->query("alter table user add miserable smallint(5) unsigned DEFAULT '0' NOT NULL;"); 
Reply With Quote
  #83  
Old 03-16-2003, 05:54 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought numeric fields are not required to be quoted but you can still quote them if you want.
Reply With Quote
  #84  
Old 03-16-2003, 06:09 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think they are required but there are a lot of users who get db errors without them sometimes. So, it is usually better to just use them and avoid all of the "Why did I get this db error?" messages.

And where is my "fix" you promised me? I'm shaking here, Zzed!
Reply With Quote
  #85  
Old 03-17-2003, 02:45 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so i take it the changes to the mysql db are to make the user group? cuz i am abit confused about how this works

-btw still havent had time to install
Reply With Quote
  #86  
Old 03-17-2003, 05:36 AM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:45 PM Faranth said this in Post #86
so i take it the changes to the mysql db are to make the user group? cuz i am abit confused about how this works


-btw still havent had time to install

No. The hack adds a new field to the user table to indicate whether a user is miserable or not. The default value for miserable is 0. When a user is made miserable a value of 1 is assigned to the miserable field.
Reply With Quote
  #87  
Old 03-17-2003, 05:48 AM
Hippycrack Hippycrack is offline
 
Join Date: Mar 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm still very new at hacking and I'm have a problem with this

################################################## ##########

From the MySQL prompt execute the following statement:

alter table user add miserable smallint(5) unsigned DEFAULT 0 NOT NULL;

################################################## ##########

I Create a new ,php file in your forums directory and copy the following lines in there. Save the file, execute it one time

PHP:

<?php

error_reporting(7);

require("./global.php");

$DB_site->query("alter table user add miserable smallint(5) unsigned DEFAULT 0 NOT NULL;");

?>

***and I got this error message.

Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in /www/n/nOpenworldz/htdocs/miserable.php on line 16

What do I do from here?
Reply With Quote
  #88  
Old 03-17-2003, 06:13 AM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the URL to your forums?

That file should be placed in the same directory that the URL points to.
Reply With Quote
  #89  
Old 03-17-2003, 11:36 AM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Is there a fix for this hack to work with the arcade hack. It seems that the $postbits .=getpostbit($post); is where the problem is in the showthread.php. The arcde hack starts there, I tried some get arounds but had no luck, it makes your posts error with and not show up. i asked one person I know and they said they couldn't see a fix.

Helpers

midz
Reply With Quote
  #90  
Old 03-17-2003, 09:04 PM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:36 AM midnightz said this in Post #88
Hello,

Is there a fix for this hack to work with the arcade hack. It seems that the $postbits .=getpostbit($post); is where the problem is in the showthread.php. The arcde hack starts there, I tried some get arounds but had no luck, it makes your posts error with and not show up. i asked one person I know and they said they couldn't see a fix.

Helpers

midz
I had the same prob. I just took that part out since i didn't care about having the arcade icons in the showthread. The arcade still works fine.
Reply With Quote
  #91  
Old 03-18-2003, 01:08 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have to manually change the data in the mysql db to make them a miserable user?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05433 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete