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
Silly Gag Hack - IP Spoofing Details »»
Silly Gag Hack - IP Spoofing
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-23-2003 Last Update: Never Installs: 2
 
No support by the author.

As many of you know, I have a little April Fool's joke in the works. I used this as part of that joke and am releasing it in case anybody else feels silly or in case somebody is really concerned about their own privacy.

Normally, when a user is online, his IP address shows up to admins. His IP is also logged when he posts. Well, if one admin is playing a joke on another admin, having that IP showing is suboptimal. Therefore, this hack hardcodes a value for IP and for the resolved hostname in the who's online page and posts for a specific member.

To install this code, you should be able to know how to find a members's userid and know how to read php enough to customize this hack with your own values for userid, ip address, and host.

If the user in question has already made posts that you would like to convert to the hard-coded IP, a simple query will handle that for you: (This step is OPTIONAL)

UPDATE post set ipaddress='X' where userid=Y;

(replace X and Y with the appropriate values)

The hack is included in the text file. It's working on my board as we speak

No screenshots necessary

Show Your Support

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

Comments
  #2  
Old 03-24-2003, 03:02 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just may install this after I get my own hack to work........

/me licks the install button just incase
Reply With Quote
  #3  
Old 03-24-2003, 03:07 PM
Fi_InCogNiTo Fi_InCogNiTo is offline
 
Join Date: Jan 2003
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:02 PM Oricon said this in Post #2
Oricon licks the install button just incase
How does it taste? :laugh:

I may install this later. Thanks for the release.
Reply With Quote
  #4  
Old 03-24-2003, 03:27 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Fi_InCogNiTo it kinda test like that stuff..... you know the stuff in some of those april fools joke candies....

This is going to be great joke I think If my plan works...
Reply With Quote
  #5  
Old 03-24-2003, 10:48 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm interested but I don't have a static IP.
Reply With Quote
  #6  
Old 03-25-2003, 01:04 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't need one for this hack. You just make one up.
Reply With Quote
  #7  
Old 03-25-2003, 07:52 AM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I 'sort of' have it working. The host doesn't show (but that may be me). In the reply/thread the IP shows how I want it but I get the attached [edit: attachment deleted (was showing a session number)] error come up for a second before it shows. Perhaps I should try something other than 123.456.789?

The online.php thing just isn't working at all for me, mind. My original code has an extra line at the bottom (vB 2.2.9);

PHP Code:
if ($WOLresolve && $usergroupdef['canwhosonlineip']) {
   
$userinfo[$key][ipaddress] = $user[host];
   
$userinfo[$key][hostaddress] = @gethostbyaddr($user[host]);  
} else {
   
$userinfo[$key][ipaddress] = $user[host];
   
$userinfo[$key][hostaddress] = @gethostbyaddr($user[host]); 

Reply With Quote
  #8  
Old 03-25-2003, 01:12 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like you have it hacked to resolve IP addresses whether it is turned on or not That second line in your else clause is resolving the IP even though WOLresolve is turned off.

Wipe that whole block out and replace it with the code in the text file.

Amy
Reply With Quote
  #9  
Old 03-26-2003, 01:46 PM
maoz440 maoz440 is offline
 
Join Date: Nov 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooh - nice hack! I'm running 2.29 though, do you see any problems with installing?
Reply With Quote
  #10  
Old 03-26-2003, 01:53 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. I don't.
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 02:47 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.08512 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete