Friday, October 31, 2014

Helper for RAW STREAM and mimicking browser Lazarus, Freepascal ( Case: Login into GOOGLE )



 This where I learning using synapse and raw. ( note I dont have background on pascal or delphi )
  • http://forum.lazarus.freepascal.org/index.php?topic=12333.0
  • http://stackoverflow.com/questions/11471513/how-to-send-a-file-and-other-post-data-with-synapse
  • http://forum.lazarus.freepascal.org/index.php?topic=19685.0
  • http://stackoverflow.com/questions/8598401/delphi-synapse-how-to-check-the-size-of-the-response-with-ttcpblocksocket

http://stackoverflow.com/questions/23573799/amazon-mws-api-call-using-delphi-indy

As far I know, C# .net httpwebrequest is painfull when dealing with cookies. ( you can search in this blog, How hard to dealing with cookies ).

Then, just came to my mind we I dont move to socket programming. Its easier, RAW ( to be honest I just loved raw better than condom ) And just wrote what I need.

Basically I just ended up using synapse, Freepascal and lazarus for mimicking login into GOOGLE.

And Its weird, that I dont need using cookies to maintenance. Hey its just first step to RAW socket programming.