moderately simple macroing

Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

TheCatt wrote:Something like... a cookie? trap the cookies with curl.
I say "like a cookie" cos it's obviously some value that gets stored on my end that times out in fifteen minutes if I do not show activity, at which case I get logged out. When I go searching for cookies in the browser menus, I get something that appears to correspond to my login. But, for the damned life of me, I cannot find out where the fuck the cookie actually IS on my client. My buddy even found an app that'll determine the human readable text of the cookie. It appears just to be a couple alphanumeric values, no doubt some encryption of some encoding of my login creds, time, etc. It's some weird-ass ASP thing the host does in order to make it intentionally difficult should a customer decide to try &, god fucking forbid, get all the DB info on their own fucking sites. No, they will not send me a copy of the DB instance nor give me complete access to my DBs. No, they will not negotiate. No, the CEO will not be switching hosts anytime soon. My only option is to raid the 1000+ individual product pages & rip the info from them like the stillborn fetuses our sites are.
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
TPRJones
Posts: 13418
Joined: Fri May 21, 2004 2:05 pm
Location: Houston
Contact:

Post by TPRJones »

Well, if the Python can get one successful login at a time, can you just write it to keep logging in over and over and pull one item at a time in a loop?
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

Well, that previous statement wasn't entirely accurate, as my buddy recently said. He can get one page past the login page, but there's no way he can figure to give the cookie-like thing to Python so that it's there for server verification.
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
TheCatt
Site Admin
Posts: 57678
Joined: Thu May 20, 2004 11:15 pm
Location: Cary, NC

Post by TheCatt »

PM me the stuff, and I'll bet $ to donuts I can do it with curl.

It's never failed before... but I'm guessing it's possible.

You are using a headers viewer to determine what's being set, right? Something like the "Live HTTP Headers" add-on for Firefox?
It's not me, it's someone else.
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

He downloaded some app called Charles. Never heard of it. He was working the Python & I was working EZ Macros. Python can't remember state apparently & the consistency of EZ using simple keystrokes was a fucking joke. I'd've better odds letting a parrot peck at the fucking keyboard.

Maybe going drinking w\ him tonight after he finishes proselytizing.




Edited By Malcolm on 1193442747
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Post Reply