Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
IRC Manager (for mIRC) Details »»
IRC Manager (for mIRC)
Version: 2.0.3, by TyleR TyleR is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-11-2005 Last Update: 01-13-2006 Installs: 21
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Well, this is just a port of Velocd's hack from 3.0.x, released here

  • Thanks To
    • meissenation: For your help with the mIRC part of the hack, updating it to hopefully crush a bug.

This is in Beta Stage!!!!
  • Updates
    • January 12th, 2006
      • Fixed irconline.php to parse the information correctly through the $vbulletin->input->clean_array_gpc array..
    • January 14th, 2006
      • Changed out the fixes by ozzy for the mIRC file, and reverted the vbulletin inputs into regular _POST variables.

So, feedback, suggestions, bugs, post em.

- Tyler

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 01-13-2006, 02:57 AM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Codeman05
just reinstalled. Dosen't appear to have helped, still not updating.
Working for anyone else?
did you make sure the irckey was the one you had pre-set in mIRC, after overwriting irconline.php?
Reply With Quote
  #53  
Old 01-13-2006, 02:59 AM
Codeman05 Codeman05 is offline
 
Join Date: Oct 2002
Location: Tx
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep sure did
Reply With Quote
  #54  
Old 01-13-2006, 03:10 AM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hrm, still works great for me. not sure what the dealio is.
Reply With Quote
  #55  
Old 01-13-2006, 09:59 PM
Man1c M0g's Avatar
Man1c M0g Man1c M0g is offline
 
Join Date: Jan 2004
Location: Portsmouth, UK.
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still get the same error too, about the 'vbusers socket in use'. Any update on an eggdrop version of the script? It'd solve these issues in a snap...
Reply With Quote
  #56  
Old 01-13-2006, 11:35 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it updating, though? The socket in use I would try to guess is a good thing, as it would hopefully mean that it's infact communicating with the website... that's just a pure guess though. Unfortunately, I don't understand the concept of sockets at all, and I've tried quite a few IRC servers asking for help on the socket scripting and they all said it's way too advanced for much of anyone to understand.
Reply With Quote
  #57  
Old 01-13-2006, 11:57 PM
ozzy10 ozzy10 is offline
 
Join Date: Aug 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to get it working
in irconline.php
find
PHP Code:
$vbulletin->clean_gpc_array 
and change to
PHP Code:
/* 
$vbulletin->clean_gpc_array
*/ 
then upload the file again

then in the mirc file ircon_rm.txt find this
Code:
on *:sockopen:vbusers:{
  sockwrite -n $sockname POST %vbfilepath HTTP/1.1
  sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
  sockwrite -n $sockname Host: %vbserver
  sockwrite -n $sockname Connection: close
  sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
  sockwrite -n $sockname Content-Length: %socksize
  sockwrite -n $sockname $crlf
  sockwrite -t $sockname %sockstring

  if (%ops) sockwrite -t $sockname %ops
  if (%halfops) sockwrite -t $sockname %halfops
  if (%voiced) sockwrite -t $sockname %voiced
  if (%users) sockwrite -t $sockname %users
}
and change to this
Code:
on *:sockopen:vbusers:{
  sockwrite -n $sockname POST %vbfilepath HTTP/1.1
  sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
  sockwrite -n $sockname Host: %vbserver
  sockwrite -n $sockname Connection: close
  sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
  sockwrite -n $sockname Content-Length: %socksize
  sockwrite -n $sockname $crlf
  sockwrite -t $sockname %sockstring

  if (%ops) sockwrite -t $sockname %ops
  if (%halfops) sockwrite -t $sockname %halfops
  if (%voiced) sockwrite -t $sockname %voiced
  if (%users) sockwrite -t $sockname %users
  sockclose $sockname
}
then find this
Code:
on *:sockopen:vbmisc:{
  sockwrite -n $sockname POST %vbfilepath HTTP/1.1
  sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
  sockwrite -n $sockname Host: %vbserver
  sockwrite -n $sockname Connection: close
  sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
  sockwrite -n $sockname Content-Length: $len(%sockstring)
  sockwrite -n $sockname $crlf
  sockwrite -t $sockname %sockstring
}
and change to this
Code:
on *:sockopen:vbmisc:{
  sockwrite -n $sockname POST %vbfilepath HTTP/1.1
  sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
  sockwrite -n $sockname Host: %vbserver
  sockwrite -n $sockname Connection: close
  sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
  sockwrite -n $sockname Content-Length: $len(%sockstring)
  sockwrite -n $sockname $crlf
  sockwrite -t $sockname %sockstring
  sockclose $sockname
}
and save
and all should work fine again and stop the sock errors
I hope this helps everyone as it fixed it for me

you can view it working HERE

what was happening is the sock was staying open for some reason so adding the sockclose after stops the error
because its after all the rest it does the sock open and sends the info then closes the sock straight away
If you need any more info on sockets give me a shout
Reply With Quote
  #58  
Old 01-14-2006, 02:14 AM
Codeman05 Codeman05 is offline
 
Join Date: Oct 2002
Location: Tx
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, gonna try that now
Reply With Quote
  #59  
Old 01-14-2006, 02:22 AM
Codeman05 Codeman05 is offline
 
Join Date: Oct 2002
Location: Tx
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I'm getting this error now:
/sockopen: 'vbusers' socket in use (line 131, ircon_al.txt)
Reply With Quote
  #60  
Old 01-14-2006, 02:49 AM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy10
to get it working
in irconline.php
find
PHP Code:
$vbulletin->clean_gpc_array 
and change to
PHP Code:
/* 
$vbulletin->clean_gpc_array
*/ 
then upload the file again
Highly un-recommended unless you want your site open to vulnerability, plus it will cease the use of the information being put into the tables.
Reply With Quote
  #61  
Old 01-14-2006, 03:21 AM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, i've reverted my change using the $vbulletin->input->clean_array_gpc() stuff, going back to normal _POST variables, since it uses the irckey, and hopefully no-one knows it, you're file should be safe from vulnerability.

Thanks ozzy for the ircon_rm.txt fix. ( i have not personally tested it, sorry)

- Tyler
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 07:05 AM.


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.05886 seconds
  • Memory Usage 2,318KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (4)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
  • (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