curl-users
Re: <button onclick="window.location='
Date: Fri, 9 Oct 2015 07:52:59 +0200
Daniel!
Thanks for help.
I tried "guessing" and it works.
~ # cat /jffs/tmp/c
#!/bin/sh
export LD_PRELOAD=/jffs/lib/libuClibc-0.9.27.so
curl http://172.31.151.1/login?dst=http://www.foo.si/hot-spot -d
"username=T-00%3A13%3A10%3A7C%3AD0%3A97"
export LD_PRELOAD=
I can now login onto hot spot.
------------ Marjan ----------
tel: +386 (0)4 5121 377
--------------------------------------
2015-10-08 22:49 GMT+02:00 Daniel Stenberg <daniel_at_haxx.se>:
> On Thu, 8 Oct 2015, Marjan Savli wrote:
>
> curl 7.14.0 (mipsel-unknown-linux-gnu) libcurl/7.14.0 OpenSSL/0.9.8d
>> zlib/1.2.2
>>
>
> Extremely old curl and OpenSSL versions...
>
> I was looking for an example on mailing list archive, but since I am
>> beginner in curl, I am asking for help.
>>
>
> 1. Fire up your browser (chrome or firefox)
> 2. Start their networking dev tools
> 3. Login manually
> 4. check the dev tool HTTP trace for how the HTTP requests looked like
> 5. now you get data from (4) to populate your curl command line
> 6. remember to use "--trace-ascii logfile.txt" with curl so that you can
> compare that with what you got in (4) to make sure you're on the right
> track
> 7. ...
> 8. profit!
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-09