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)
-   -   Miserable Users for vB3 (https://vborg.vbsupport.ru/showthread.php?t=59727)

Eagle Creek 07-10-2005 09:40 PM

Quote:

Originally Posted by The Joint
this is my FAVORITE HACK!

Thank You Kura and Zzed! Excellent work!

Howdy!

I heared there was a vBulletin crack to bypass this hack. Anybody who knows about it??

rossco_2005 07-27-2005 09:17 PM

Installed :) Thanks a lot for this!

m0nde 07-28-2005 11:49 AM

Quote:

Originally Posted by bfoot045
I am still a beginner in PHP, but this may suffice (Use this code instead of the one above : (Put the IPs you want banned in the format it says below, between the ' and ' for the $ips variable.) :mad:

Code:

    // Miserable Hack for vB3
    // Ported by KuraFire to vB3, original vB2 version by Zzed
    // #######################################################
    // Put the id of your Miserable Usergroup here:
    $miserableid = 8;
    // Put the IP of the users you want to have this effect here
    /*
    * Example of how to input IPS into here: 127.0.0.1 OR 192.168.1.0 OR 125.455.854.555
    $ips = '';
 
// Check to see if the user is a Miserable User
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $miserableid) OR $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]!=$ips)
    {
        $glitch = rand(60, 120);
        for($x=0; $x<$glitch; $x++)
        {
            echo ' ';
            sleep(1);
        }
        $vboptions['floodchecktime'] *= 10;
        $glitch = rand(0, 100);
        if($glitch < 90)
        {
            $vboptions['enablesearches'] = 0;
        }
   
        $glitch = rand(0, 100);
      if ($glitch < 75)
      {
          eval('$headinclude = "' . fetch_template('headinclude') . '";');
          eval('$header = "' . fetch_template('header') . '";');
          eval('$footer = "' . fetch_template('footer') . '";');
          eval('$timezone = "' . fetch_template('timezone') . '";');
          eval('$gobutton = "' . fetch_template('gobutton') . '";');
          $vboptions['useforumjump'] = 0;
          eval(print_standard_error('error_toobusy'));
      }
 
        $glitch = rand(0, 100);
      if ($glitch < 80)
        {
            if ($glitch < 50)
            {
                exit;
            }
        $templatecache['headinclude'] = '<META HTTP-EQUIV=\"refresh\" CONTENT=\"5; URL=$vboptions[forumhome].php\" />' . $templatecache['headinclude'];
        }
    }
    unset($ids, $glitch, $miserableid, $x, $ips);


What you've done here would make everyone miserable...

I think you should change the following in the code above:
PHP Code:

if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $miserableid) OR $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]!=$ips

to this:
PHP Code:

if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $miserableid) OR $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"] == $ips

By using a NOT you're making all of your users, except the targeted ones, miserable.

- Sid

GoTTi 07-29-2005 05:39 PM

this isnt working for me.

Bounce 08-03-2005 08:40 PM

nice :squareeyed:

GoTTi 08-12-2005 04:49 AM

why is this not working for me???

im using it on 308. and when i test it out with another account, everything loads fine.

Eagle Creek 08-12-2005 10:33 AM

Quote:

Originally Posted by Da_GoTTi
why is this not working for me???

im using it on 308. and when i test it out with another account, everything loads fine.

Is there a 3.5 version?

kanYe 08-27-2005 12:18 AM

Quote:

Originally Posted by anne123456
This is brilliant!

Quick question-I tried it and was only getting white pages, I kept lowering that variable to 0 and still get white pages, but never a server busy page. I don't understand the code enough to know why this is...any ideas?

Same here. I don't like the emails being sent about the down pages.

crash resistant 09-13-2005 04:36 AM

brilliant.

If God made vb hacks this would be His.

GatorV 09-15-2005 12:06 AM

Great
/me clicks install.


All times are GMT. The time now is 11:19 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.01220 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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