-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jun 09, 2016 at 10:14:53AM +0000, Bob wrote:
[...] > Hello Tomas & Jeremy, > > Finally I got the combination. The redirected links along with > username/password is not providing any cookie jar. So I went back to > the main page i.e. form page. I collected the cookie there, then > fire the curl with post data. > > curl -c mycookie -s "http://<link of form-page>/login.jsp" > > curl -X POST -c mycookie \ > -d username=<username> \ > -d password= <password> \ > http://<link of login-page>/login > > thanks to all of you for your kind support Ah. A pre-emptive session cookie. Turtles all the way down :-) regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAldZQvEACgkQBcgs9XrR2kZmUwCff1O/XAKtmMNMcPluldYsq0Zs c+YAn1ZQGkQ1S09kWio9xy6jJWVVl1uI =yP+h -----END PGP SIGNATURE-----