Re: Against the Grain

Dave Hoover <[email protected]> Thu, 14 Nov 2019 05:31:52 +0000
Newsgroups gmane.education.ezproxy
Message-ID <BN8PR14MB29788D7FA197C89AE5F54003EA710@BN8PR14MB2978.namprd14.prod.outlook.com>
Penny

Since Against the Grain is a username/password resource,
we had successfully used a stanza similar to the one provided
below (substituting our account info)

Recent changes at Against the Grain went to using https:
so I thought it was a simple adjustment to change http to https
but then I noticed that they have added a Math Captcha to the
Subscriber login page and I have not found anyway around that.

Dave


Dave Hoover

Unix Systems Administrator

Integrated Information Systems


Once in a while you can get shown the light

in the strangest of places if you look at it right.

________________________________
From: Wimmer Christian <[email protected]>
Sent: Tuesday, December 19, 2017 2:57 PM
To: Dave Hoover <[email protected]>
Subject: AW: Against the Grain


This looks like a pretty normal login form. I'd suggest you try to use the easier Formvariable method to automate the login to this resource. You will probably have to add the two hidden inputs.


We don't subscribe to that vendor, but i'd start something like this:


Title Against the Grain
URL -Form=post againsthegrain http://www.against-the-grain.com/wp-login.php
FormVariable log=name123
FormVariable pwd=password123
FormVariable redirect_to=http://www.against-the-grain.com
FormVariable testcookie=1

There is a video and Powerpoint presentation from me in the EZproxy Community Center where i explain automated username/password logins with EZproxy: https://www.oclc.org/community/ezproxy.en.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.oclc.org%2Fcommunity%2Fezproxy.en.html&data=02%7C01%7Cdhoover%40LIBRARIES.RUTGERS.EDU%7C4d2afc2575a540dd432508d5471ac6d2%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636493102695455947&sdata=BmWfw9za8eD64GQ2fUSHVT7DtYsxJrnCy%2BNLTOfXlkI%3D&reserved=0>



________________________________
Von: EZproxy List <[email protected]> im Auftrag von Dave Hoover <[email protected]>
Gesendet: Montag, 18. Dezember 2017 20:49:44
An: [email protected]
Betreff: [EZPROXY-L] Against the Grain


Does anyone have an EZproxy configuration for

 Against the Grain


It is a username/password resource.


I was ale to use Find/Replace lines to feed the username/password

but did not know what to do to force the "Log IN" submit to happen.


The code on the login page contains:


<body class="login login-action-login wp-core-ui  locale-en-us">
                <div id="login">
                <h1><a href="http://www.against-the-grain.com" title="Against The Grain" tabindex="-1">Against The Grain</a></h1>

<form name="loginform" id="loginform" action="http://www.against-the-grain.com/wp-login.php" method="post">
        <p>
                <label for="user_login">Username or Email Address<br />
                <input type="text" name="log" id="user_login" class="input" value="" size="20" /></label>
        </p>
        <p>
                <label for="user_pass">Password<br />
                <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" /></label>
        </p>
                <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever"  /> Remember Me</label></p>
        <p class="submit">
                <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="Log In" />
                <input type="hidden" name="redirect_to" value="http://www.against-the-grain.com" />
                <input type="hidden" name="testcookie" value="1" />
        </p>
</form>


Any help would be appreciated.


Dave Hoover

Unix Systems Administrator

Integrated Information Systems


Once in a while you can get shown the light

in the strangest of places if you look at it right.

________________________________

To unsubscribe from the EZPROXY-L list, click the following link:
http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flistserv.oclclists.org%2Fscripts%2Fwa.exe%3FSUBED1%3DEZPROXY-L%26A%3D1&data=02%7C01%7Cdhoover%40LIBRARIES.RUTGERS.EDU%7C4d2afc2575a540dd432508d5471ac6d2%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C1%7C636493102695455947&sdata=k7udajYUrXhqlcC5U9cLs8IdFX9iKmJYUa77VAtpoUc%3D&reserved=0>


********************************************************************
If you wish to stop receiving messages from EZPROXY-L or otherwise amend your preferences,
you can do so <a href="https://www.oclc.org/forms/internet-subscription.en.html">here</a>.
Or email [email protected] including the relevant text below in the body of the email:
• To unsubscribe: "unsubscribe EZPROXY-L"
• To receive EZPROXY-L in digest form: "set EZPROXY-L digest"
• To set your options to no mail: "set EZPROXY-L nomail"
• To receive these messages in the future "set EZPROXY-L mail"
To contact the list owners directly please send your message to [email protected].
If you unsubscribe from EZPROXY-L, you will no longer be able to participate in any of its features, including the public forum.
To unsubscribe from all OCLC marketing email communications
(including all OCLC listervs, OCLC Connect emails, OCLC event notifications, product/service/cooperative updates and newsletters),
please email us at [email protected].