Cannot login into server using wget.. Please help!

Post Reply
mukanga
Posts: 5
Joined: Fri Nov 26, 2010 12:54 am

Cannot login into server using wget.. Please help!

Post by mukanga »

I tried so many ways so far but i can't login into the server to get some webpages..
For example, i tried

Code: Select all

wget --post-data="spw=[my_spw]&id=148"www.hacker.org/challenge/chal.php
But at the end of the downloaded page it says "not logged in". I don't understand.. :?
I also tried to post-data with username and password, and whit the get method but none of them worked..
Can somebody help me?
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

Looking here it sounds like you still need the user parameter e.g.
user=CodeX&spw=18468048cbf2b488b312288937ec0687&id=119
mukanga
Posts: 5
Joined: Fri Nov 26, 2010 12:54 am

Post by mukanga »

That way it doesn't work to. I've tried to use option --no-cookies --header "Cookie: (data)" and it finally worked :D

Thank you anyway
Post Reply