mIRC Homepage
Posted By: Lpfix5 Static login to phpboard??????? - 13/11/07 03:44 PM
Doesn't matter which ever data I try to dump I always get (Please login DUMP) from the site rather then the PHPBoard info.

Is there something I have to set into a variable and sockwrite to the board?
Posted By: argv0 Re: Static login to phpboard??????? - 13/11/07 04:16 PM
Originally Posted By: Lpfix5
Is there something I have to set into a variable and sockwrite to the board?


Probably?

I imagine you're writing a socket script to post to a forum... These sites usually use cookies to validate that you're a browser and not just a socket script trying to automate forum posts. This means you have to send specific data to the socket to validate your connection. While you can still code around this in general, I don't think this is the right place to be asking about how the HTTP protocol works-- you're better off searching that on google (hint: the search terms are in bold).
Posted By: Lpfix5 Re: Static login to phpboard??????? - 13/11/07 06:30 PM
Actually, im trying to make the login info static, not to post, just to dump info.
Posted By: Lpfix5 Re: Static login to phpboard??????? - 13/11/07 06:49 PM
Hmmm would I be correct in saying that my username and password are perhaps stored with a hash calculation to encrypt the data?

because example

Set-Cookie: bbsessionhash=ea7b45a2696342929xxxxxxxx53ccb44; path=/; domain=xxxxxx.com; HttpOnly

This was dumped from the PhpBoards, this is maybe why I can't write the sock info to phpboard as normal data and keep it's connection alive.

Think I might need to do an hash formula based around my info like

bbuserid=HASH of lpfix 19182??
© mIRC Discussion Forums