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
Proxy Hack v1.0 Details »»
Proxy Hack v1.0
Version: 1.00, by Takara Takara is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-06-2002 Last Update: 06-08-2002 Installs: 101
 
No support by the author.

Ooook,

Well, this hack is a little thing to give you vB admins and moderators some more information about the users using proxys on your board (mainly, thier IP address).

The following version is upto date and works with vb 2.2.8 and whatever else. This version was updated by Stadler to work with 2.2.8. I cannot provide support personally for ANY versions here. And I do not know what support Stadler can give you.

So, download the 2.2.8 update here

----------------

Everything below has to do with super old versions that don't matter.. because they are super old! You don't want them, so don't even read it!


STOP READING! hehe, anyway. I repeat:

VERSION 2.2.8 ABOVE ^
VERSION 2.2.5 BELOW

enjoy

--------------

Screenshots are in the posts to follow.

Let me know how you like it, or ways I could improve it. ^_^ :bunny:

Edit: Non intrusive version
This little edit simply adds the proxy info to the getip template. So when mods/admins click the "IP Logged" button/graphic if there is any proxy info, it will tell them instead of in postbit.

Get it here

Attachment: Non Intrusive Version Screenshot

Normal, version:

Show Your Support

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

Comments
  #12  
Old 05-07-2002, 11:31 AM
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Location: :bunny:
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Webmasta XT
if thats someones real IP address they can get hacked, anywayz nice hack man, get it hacked and hack, LOL!
Its my IP, and I dont really care

Quote:
Originally posted by Sparkz
Umm, why would posting a picture of the IP make any difference?
There are tools out there that let you probe as many IP's as you want. Any real hackers/crackers will use tools like that. And if someone are really out to get you, it doesn't matter what kind of security-precautions you make
Indeed, anyone that really wants to do me some harm wouldnt rely on some stupid pic I posted I dont worry about it, I really dont care infact. lol

I sit on irc 24/7, host a fiew bots aswell as several other servers with this computer. People for some reason think that as soon as an IP is posted on the internet someone is going to hack that person out of nowhere. Silly ppl ;p :bunny:
Reply With Quote
  #13  
Old 05-07-2002, 11:52 AM
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Location: :bunny:
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Jawelin
Just an addendum: I noticed often I had better results with the HTTP_FORWARDED env var instead of HTTP_X_FORWARDED_FOR you used. I mean, first was filled, the second one no...
Ah, I actually wasnt aware of that, but its easyily correctable by replacing:

PHP Code:
    if (getenv("HTTP_X_FORWARDED_FOR")!="") {
        
$proxyip=getenv("HTTP_X_FORWARDED_FOR");
    } else {
        
$proxyip="";
    } 
with

PHP Code:
    if (getenv("HTTP_X_FORWARDED_FOR")!="") {
        
$proxyip=getenv("HTTP_X_FORWARDED_FOR");
    } else {
        if (
getenv("HTTP_FORWARDED")!="") {
            
$proxyip=getenv("HTTP_FORWARDED");
        }
        
$proxyip="";
    } 
I've updated the install file and tested it, works fine. Thanks ^^ :bunny:
(btw, is there an easyer way to do the second check? not quite sure, elseif didnt seem to fit the bill)
Reply With Quote
  #14  
Old 05-07-2002, 12:28 PM
bluecat's Avatar
bluecat bluecat is offline
 
Join Date: Apr 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. I've installed a few hacks but am not sure what this means or how to do it, in your instructions txt. Can you or anyone explain. Thank you.

### Run the Following SQL Query

ALTER TABLE post ADD proxyip VARCHAR(16) not null AFTER ipaddress;
Reply With Quote
  #15  
Old 05-07-2002, 12:52 PM
DWZ's Avatar
DWZ DWZ is offline
 
Join Date: Dec 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you think its possible to make this tie in with the show IP button we already have?

So nothing is showen on postbit, but when I or a mod click the "IP: Logged" link, where it normaly shows the IP address of the personl, it says the message you already have...
Reply With Quote
  #16  
Old 05-07-2002, 01:23 PM
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Location: :bunny:
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by bluecat
Hi. I've installed a few hacks but am not sure what this means or how to do it, in your instructions txt. Can you or anyone explain. Thank you.

### Run the Following SQL Query

ALTER TABLE post ADD proxyip VARCHAR(16) not null AFTER ipaddress;
You have to login to your shell and run it via the mysql program, or install one of the hacks around here that let you execute queries via your admin CP

Quote:
Originally posted by DWZ
Do you think its possible to make this tie in with the show IP button we already have?

So nothing is showen on postbit, but when I or a mod click the "IP: Logged" link, where it normaly shows the IP address of the personl, it says the message you already have...
Yea, sure. I can do it shortly ^^
Reply With Quote
  #17  
Old 05-07-2002, 01:25 PM
bluecat's Avatar
bluecat bluecat is offline
 
Join Date: Apr 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #18  
Old 05-07-2002, 03:23 PM
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Location: :bunny:
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was the asked for integration with the current one. Its more or less the same, you dont have to edit postings.php. For this one it wont display Proxy Detected in the postbit, instead it just displays the proxy info, if any when you click the get IP link.

have fun
Reply With Quote
  #19  
Old 05-07-2002, 03:57 PM
lordnet's Avatar
lordnet lordnet is offline
 
Join Date: Mar 2002
Location: Bahrain
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack man

my best wich...

LORD
Reply With Quote
  #20  
Old 05-07-2002, 04:22 PM
Allstar DC Allstar DC is offline
 
Join Date: Apr 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to make an addon that also ban's
the use of proxies to login??
Reply With Quote
  #21  
Old 05-07-2002, 04:53 PM
Ren Ren is offline
 
Join Date: Nov 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack Takara and thanks for taking the time to make it.
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 01:07 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.12212 seconds
  • Memory Usage 2,316KB
  • 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
  • (2)bbcode_php
  • (5)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
  • (3)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