Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1356 times and has 2 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
I had a (eyes wide open) dream on auto-logging in [RESOLVED]

We have a URL that allows us to insert the member name and verification code to get at the My Contribution page without logging in. With boinccmd we can send the membername/password to attach the project to a client, which can be easily scripted too. Now what I'm looking for is a URL that allows a password parameter too, something along the line of

h ttps://www.worldcommunitygrid.org/viewLogin.do?username=SekeRob&password=abacadabra

where the verification url format is
h ttps://www.worldcommunitygrid.org/verifyMember.do?name=SekeRob&code=aratherlonghexvalue

1) to break through the automation stallmate being in because different Internet Explorer versions respond differently to the sign-in form ... some accest to inject j_username/j_password/submit, some dont.
2) This allows to also break away from Internet Explorer, would it not be great to send a string to any webbrowser that has memname/mempw in it and sign in and jump to any MC page.
3) The get around not allowing membername/pw remembered by browser, any browser, i.e. cookies are always erased at exit of the web browser
4) Any other personal preference.

Asking on getting ?xml=true parm for other MC pages for multiple urls is a lot more work than just the single sign-in address with the password parm added, so scraping can be reliably automated and continued in 2017.

12 merit points for the tech who implements it.
----------------------------------------
[Edit 1 times, last edit by Former Member at Jan 23, 2017 4:07:11 PM]
[Jan 22, 2017 5:05:14 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: I had a (eyes wide open) dream on auto-logging in

NM

After a small epiphany, initiating some further code dissecting using the element inspector, here's the url to use to log in by hyperlink injection

h ttps://www.worldcommunitygrid.org/j_security_check?j_username=SekeRob&j_password=abacadabra

Problem solved! (For good I hope, and do not forget to remove the space between h and ttps ;P)

Does one dare asking why this could never have been shared by any tech... another Trumped secret?
[Jan 22, 2017 5:26:23 PM]   Link   Report threatening or abusive post: please login first  Go to top 
toss
Senior Cruncher
New Zealand
Joined: Jan 3, 2007
Post Count: 220
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: I had a (eyes wide open) dream on auto-logging in

Thanks very much Rob

Most helpful
[Jan 23, 2017 3:38:17 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread