The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with Post hash
ok. so i am making my forums a standalone "poster" so a user can post topics without having to be on the forums. well i have successfully gotten logged in through my application and obtained the security token and but where i am stucc at is with the post hash.
what is the format for obtaining a post hash and what credentials do i need to have in order to create the posthash? i know the login is md5(pass & salt) which successfully logs me in. but idk how to md5 the post hash. everything i've hashed gives me different hashes |
#2
|
||||
|
||||
Do a search in your files for "$posthash" and you should find it.
PHP Code:
|
#3
|
|||
|
|||
i dont understand php code? i need the md5 hash what is the salt and what is the userid? is the userid the userid "loggedin" = 2 or the actual users login name?
what is the md5 method? is it md5(posttime & userid & salt) or what? maybe a sample md5 hash sequence so i can actually see what data is being hashed. |
#4
|
||||
|
||||
I'm not understanding what you are asking. md5 is explained here - http://php.net/manual/en/function.md5.php Have you never come across an md5 checksum for files before? It's the same sort of thing. All I can really do it point you to the function.
the userid is the the user.userid field from the database and the salt is the user.salt field from the database. |
#5
|
|||
|
|||
i am trying to use pure winsocc to create an "auto" poster for my forums so i do not have to be on site to post. i log in fine with it n when i try to post using my program it the data " a security token is missing" although i have the security token included in my paccet so i assume it needs the correct posthash is needed. what i meant by the userid and salt. can u post a sample userid and salt? i dont know if by userid u mean the id being logged in with. or the cookie given bacc by the forums bbuserid=2. and salt. is this is the session hash or the security token? just need a sample so i can see if what i have as the "salt" and "userid" r even the right data to use
--------------- Added [DATE]1301007469[/DATE] at [TIME]1301007469[/TIME] --------------- nevermind. i got it figured out. ty anyways |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|