I'm trying to read my email on Simba through a browser, and I haven't been able to figure it out.
Is it even possible to read webpages that you have to log into?
Any help would be amazing.. Thanks
I'm trying to read my email on Simba through a browser, and I haven't been able to figure it out.
Is it even possible to read webpages that you have to log into?
Any help would be amazing.. Thanks
Well you could have it login with like TypeSend or something. And to get the page without reading it with any OCR you could GetPage, and then use other tools to retrieve the information from the downloaded page.
Feel free to ask me any questions, I will do my best to answer them!
Previously known as YouPee.
Sending emails through the browser? Why? You can send emails in Simba via Prosocks.
However, yes you can log into a webpage via Simba using POST calls & cookies. Just post your login information to the form url.
I am Ggzz..
Hackintosher
Or you can just use APPA, which is a browser connected to Simba.
Tuts: Run script from another script || [Lape] Exceeding limits of VariantInvoke()
Plugins: Fast multi-layer objects finding || Multithreading in tabs || Optimised motion detection || ETL - paint on any window||Magic Keyboard (Simba's DirectX input + input in background to any normal window)
Snippets: [RS] Ultimate Loot Grabber || ShowPalette() || APPA JS Interface
Sorry guys I should have been a bit more specific..
I'm already logged into my email - I just want to be able to get the page source. GetPage doesn't work for obvious reasons, but I've been unable to find another method..
Prosocks is something I was considering using, but I really don't understand anything about it. It all looks so incredibly complicated to me.. But if you're saying I can directly get the page source from my browser, then I'll certainly give it a shot. Thanks!
Haven't seen that. But again, for me personally it looks terribly complicated. I've only recently started programming & took a long break and am just starting back up again. I'll give it a try. Thanks!
EDIT: Been working on appa.. Only thing I'm stuck on is fill out the forms to log in.. Anyone know how?
EDIT2: Figured it out, never mind. Had the index numbers all wrong..
Last edited by skollstagg; 11-29-2015 at 01:06 AM.
Updated the syntax today. Should be way easier to understand/read. Might add a Wiki to the repo but I don't know. Should be easy enough to understand.
https://github.com/Brandon-T/ProSocks/releases/tag/v0.5
Pascal Code:Function ProMemoryStruct.toString(): String;
begin
SetLength(Result, self.size);
MemMove(self.memory^, Result[1], self.size);
end;
//Modified Obscurity's login function.
Function login(user: String; pwd: String): String;
var
sock: SSLSocket;
data: ProMemoryStruct;
begin
sock.Init(); //init can have multiple arguments. UserAgent, WritePtr, ReadPtr, ErrorPtr, etc.. all optional..
sock.setURL('https://villavu.com/forum/login.php');
sock.setSecurityPolicy(false, false, true); //in future releases, I might be switching these parameters around and making the false ones optional.
sock.setURLFollow(true);
sock.setHeader('Content-Type', 'application/x-www-form-urlencoded');
sock.addParameter('do', 'login', false); //last parameter is optional in v0.5+..
sock.addParameter('vb_login_username', user, false);
sock.addParameter('vb_login_md5password', md5(pwd), false);
sock.setCookies('cookies.txt', 'cookies.txt');
sock.doPost(data);
sock.setHeader('Content-Type', 'text/html');
sock.setURL('https://villavu.com/forum/private.php');
sock.clearParameters();
sock.doGet(data);
Result := data.toString();
sock.Free();
end;
begin
writeln(login('my username', 'my password');
end;
Last edited by Brandon; 11-29-2015 at 04:30 AM.
I am Ggzz..
Hackintosher
Thanks Brandon
I definitely plan to check out ProSocks. I need to educate myself on almost everything about it.. Don't even know what "sockets" are. Or SSL, TLS, SMTP, etc etc...
I did get everything working nicely using appa though, so very happy about that. Thanks to all who helped
There are currently 1 users browsing this thread. (0 members and 1 guests)