mIRC Home    About    Download    Register    News    Help

Print Thread
Static login to phpboard??????? #189926 13/11/07 03:44 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline OP
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
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?


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: Static login to phpboard??????? [Re: Lpfix5] #189928 13/11/07 04:16 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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).


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: Static login to phpboard??????? [Re: argv0] #189935 13/11/07 06:30 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline OP
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Actually, im trying to make the login info static, not to post, just to dump info.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: Static login to phpboard??????? [Re: Lpfix5] #189938 13/11/07 06:49 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline OP
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
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??


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }