Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2008, 10:26 AM
Spybot S&D Spybot S&D is offline
 
Join Date: Jun 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User Atuh Check?

Well, I was working on a program (in vb.net). I was trying to make the program check to see if you have 100 posts before it loads up, and if you don't, it shuts down.

What I tried to get it to do, was login to my VBull site, go to the member's profile, and check the required posts.

This is the login url I tried:
Code:
http://templeofwarcraft.net/forum/login.php?do=login&vb_login_username=USERNAME&vb_login_password=PASSWORD
I was wondering how I could go about doing this? That URL will NOT log me in

I was also wondering of there was some sort of midification for vbull that would act as an authorization system? There is one for phpbb.


Thanks,
Alex
Reply With Quote
  #2  
Old 02-15-2008, 11:27 PM
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin uses POST to submit values to the login page. You will have to use post not get.
Reply With Quote
  #3  
Old 03-01-2008, 12:38 PM
Spybot S&D Spybot S&D is offline
 
Join Date: Jun 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've used post and get commands, neither worked.
Reply With Quote
  #4  
Old 03-02-2008, 04:06 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Login with a browser and catch what is being sent. I think you will find that the password will be sent MD5 encrypted .
Reply With Quote
  #5  
Old 03-03-2008, 10:24 AM
Spybot S&D Spybot S&D is offline
 
Join Date: Jun 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done this before without encrypting it, and it worked :P

But if you can get me the login string and the encryption meathos (single md5?) , I can make it hash the strings, then send it
Reply With Quote
  #6  
Old 03-03-2008, 02:38 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The password encryption has been asked many times in this forum do a search for it. (Hint: Search for "Password Hash")
Reply With Quote
  #7  
Old 03-04-2008, 04:12 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Usually:
Code:
Client -> Password is MD5 hashed (once) using JS -> Password sent to server -> Script adds salt and hashes MD5 again.
Reply With Quote
  #8  
Old 03-04-2008, 10:04 PM
Spybot S&D Spybot S&D is offline
 
Join Date: Jun 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. My friend Ricky made a HTTP Wrapper for vb.net. It supports post and get commands. I want to check to see if it logged in or not. What url would I use to login?

example:

mysite.com/login.php?username=Alex&password=Bob

thanks,
Alex
Reply With Quote
  #9  
Old 03-05-2008, 04:50 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As said before, vBulletin uses POST to send information. Last time I went into that [art of the code, I believe it even rejects any logins using GET.
Reply With Quote
  #10  
Old 03-05-2008, 12:07 PM
Spybot S&D Spybot S&D is offline
 
Join Date: Jun 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just said, I could use post.. And I will. The question i'm wondering is the URL I need to know to send the post data.
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:59 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.04126 seconds
  • Memory Usage 2,239KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete