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)
-   -   Warning Hack V1.5 (https://vborg.vbsupport.ru/showthread.php?t=65336)

msimplay 06-13-2004 02:55 PM

Quote:

Originally Posted by redlabour
Sorry this Hack is a Security Hole it self !

Mods can bann Admin, Co-Admins can bann the Admin too - even the ID File is locked.

Please fix or add this as a security fix.

After i banned my with a test Adminaccount is still can?t access the AdminCP after i unbanned me !

So my wife (witch is a Admin too) trys to unlock me and set me back to the Adminstatus. But this is impossible beacuse my User is saved by $undeletetableusers in config.php.

What the hell can happen if someone banns us both ?

No thanx - this is a uninstall !!! :ermm:

use if conditionals in templates so the menu for warning to be disabled on staff or via hierachy

quite a complex if conditional but worthit

Mamochka 06-13-2004 04:18 PM

redlabour

My version 1.0.1 haven't this "Mods can bann Admin, Co-Admins can bann the Admin too - even the ID File is locked." problem.

redlabour 06-13-2004 04:27 PM

And what did i have to do if i want install yours above the other one ?

Mamochka 06-13-2004 05:13 PM

redlabour
Deutsch:
Löschen Sie bitte vorherige version von dieser Hack. Dann installieren Sie meine Version.
English:
Delete above version,then install my version.
Thx for your passion.

redlabour 06-13-2004 05:21 PM

@Mamochka - thanx ! ;) @Mamochka - danke ! ;)

@all - if you don?t wan?t to uninstall the old Version (what i can?t understand) then you can rescue your account after one Mod has banned you with this query :

Code:

UPDATE user SET usergroupid = 6 WHERE userid = 1;
If your Administratoraccount is still UserID 1 and the Admingroup GroupID 6 ! ;)

Wolffman 06-13-2004 07:21 PM

After I click the submit button I get this:

Code:

Database error in vBulletin 3.0.1:

Invalid SQL: insert into pmtext values ('','14','Wolffman','You have been warned','You have been warned for the post: Your Post. Your warning level is now: 3. This action was taken for the following reason: . Please reply back if you have a dispute. Wolffman','a:1:{i:136;s:4:\"test\";}','4','1087157947','1','1')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Any suggestions?

msimplay 06-13-2004 07:50 PM

Quote:

Originally Posted by Wolffman
After I click the submit button I get this:

Code:

Database error in vBulletin 3.0.1:
 
 Invalid SQL: insert into pmtext values ('','14','Wolffman','You have been warned','You have been warned for the post: Your Post. Your warning level is now: 3. This action was taken for the following reason: . Please reply back if you have a dispute. Wolffman','a:1:{i:136;s:4:\"test\";}','4','1087157947','1','1')
 mysql error: Column count doesn't match value count at row 1
 
 mysql error number: 1136

Any suggestions?

check this post

https://vborg.vbsupport.ru/showpost....3&postcount=21

Wolffman 06-13-2004 07:58 PM

Quote:

Originally Posted by msimplay

I'm kinda new at this, where exactly is he modifying those lines in that post?

msimplay 06-13-2004 08:07 PM

Quote:

Originally Posted by Wolffman
I'm kinda new at this, where exactly is he modifying those lines in that post?

warn.php

Wolffman 06-13-2004 08:12 PM

Quote:

Originally Posted by msimplay
warn.php

Thanks, I'll try it out.


All times are GMT. The time now is 12:23 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.02316 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (5)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