NiJo
Joined: 12 Nov 2005 Posts: 73
|
Posted: Wed Oct 11, 2006 11:59 pm Post subject: |
|
|
I got it guys
Well, it actually quite Logical. We just have to keep sending the cookies.
I grabbed firefox and kept playing with the login page: I noticed that when you failled login, It was redirected to a login.php Sub-Page. but when you Did Login correctly, It was redirected to the index.php Page.
So thats actually it. of corse it does not dl anything those times PhiLho, because it isn't login.php that you got, it's index.php. If you send the cookie after, while trying to access the index, You are logged in
You have to: Login and save cookie, forget SID. And then send the cookie to future sites ( -b ).
It also works Like you did, just visit URL and save cookie, and than send that cookie to login.php while Filling. No diference, The cookie will update to "Logged-In" after
I made lots of tests with this little AHK code:
| Code: | FileDelete, AHKcookies.txt
FileDelete, AHK.html
FileDelete, AHK2.html
run, cmd.exe, %A_ScriptDir%,, PID
sleep 1000
send curl -d "username=USER&password=PSSWD&login=Log+in" -c AHKcookies.txt -o AHK.html http://www.autohotkey.com/forum/login.php
send {Enter}
sleep 800
send curl -b AHKcookies.txt -o AHK2.html http://www.autohotkey.com/forum/index.php
send {Enter}
sleep 3500
Process, Close, %PID% |
Well, Gona try in the other site now, But it has that encrypted java...  |
|