Discussion:
AW: Stanza for "iQ media"
Fischer Markus
2014-10-07 14:46:26 UTC
Permalink
Looking into the source you can see something like this

<input name="__RequestVerificationToken" type="hidden" value="V-roe0LMYKNqZhcigCgxxifijSszC58OwKMpEA1KfwFB4w4gDPhIzlrJKp3PgXE-U2G_1Cv_BlnxY8V5pWn6FN3rKFLtrzjm3Z9RoWHNTNcABzWEpzKWQpPCX0tF7TUQ9X004Q2" />

Which probably is required to be passed as a variable, but it is likely be generated on the fly by the server. I wonder if EZProxy can deal with this situation?

Maybe you are more lucky with a find/replace statement?

Markus Fischer

Von: Roland Samieske [mailto:***@mail.cuny.edu]
Gesendet: Dienstag, 7. Oktober 2014 16:22
An: EZProxy discussion list
Betreff: [ezproxy] Stanza for "iQ media"

Hello:

Does anybody have a working stanza for "iQ media" at http://www.iqmediacorp.com/

I thought this might work:

T iQ Media
U -Form=post iqmedia http://www.iqmediacorp.com/SignIn/
FormVariable LoginID=xxxxxxx
FormVariable Password=yyyyyyy

But it produces these errors:

Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Thanks.

-----------------------------------------------------------------------------
Roland Samieske | University Systems Librarian

CUNY - Office of Library Services | 555 W 57 St - Room 1037 | New York, NY 10019

646.664.8202 | ***@cuny.edu<mailto:***@cuny.edu>


You are currently subscribed to ezproxy as: ***@bz-gs.so.ch<mailto:***@bz-gs.so.ch>.
To unsubscribe, send request to ***@itec.suny.edu<mailto:***@itec.suny.edu>

---
You are currently subscribed to ezproxy as: gee-***@m.gmane.org.
To unsubscribe, send request to ***@itec.suny.edu
Graham, Stephen
2014-10-07 14:47:51 UTC
Permalink
Roland - it looks like the form contains some session information in a hidden element (i.e. __RequestVerificationToken) which is different every time and is needed for the authentication to be successful. You could try a find and replace?

T iQ media
U http://www.iqmediacorp.com

Find name="LoginID" style="" type="text" value=""

Replace name="LoginID" style="" type="text" value="THELOGINID"

Find name="Password"

Replace name="Password" value="PASSWORD"
Find </form>

Replace </form><script>document.getElementById('btnLogin').click();</script>



That might work..... probably needs a bit of tweaking?



Stephen

From: Roland Samieske [mailto:***@mail.cuny.edu]
Sent: 07 October 2014 15:22
To: EZProxy discussion list
Subject: [ezproxy] Stanza for "iQ media"

Hello:

Does anybody have a working stanza for "iQ media" at http://www.iqmediacorp.com/

I thought this might work:

T iQ Media
U -Form=post iqmedia http://www.iqmediacorp.com/SignIn/
FormVariable LoginID=xxxxxxx
FormVariable Password=yyyyyyy

But it produces these errors:

Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Thanks.

-----------------------------------------------------------------------------
Roland Samieske | University Systems Librarian

CUNY - Office of Library Services | 555 W 57 St - Room 1037 | New York, NY 10019

646.664.8202 | ***@cuny.edu<mailto:***@cuny.edu>


You are currently subscribed to ezproxy as: ***@herts.ac.uk<mailto:***@herts.ac.uk>.
To unsubscribe, send request to ***@itec.suny.edu<mailto:***@itec.suny.edu>

---
You are currently subscribed to ezproxy as: gee-***@m.gmane.org.
To unsubscribe, send request to ***@itec.suny.edu

Loading...