I am unable to get it to work- seemingly some problem with proxy.  This is
the error report:


/usr/lib/python2.6/dist-packages/xmpp/auth.py:24: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead
  import sha,base64,random,dispatcher,re
/usr/lib/python2.6/dist-packages/xmpp/auth.py:26: DeprecationWarning: the
md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "gchat.py", line 14, in <module>
    raise IOError('Can not connect to server.')
IOError: Can not connect to server.


On Fri, Aug 6, 2010 at 12:15 PM, Nandeep Mali <[email protected]> wrote:
>>
>>> On Fri, Aug 6, 2010 at 9:23 AM, Tha.Suresh <[email protected]>
>>> wrote:
>>> [...]
>>> > # Google Talk
>>> > FROM_GMAIL_ID = raw_input("Enter gmail ID:")
>>> > GMAIL_PASS = getpass.getpass("Enter Password:")
>>>
>>> Again, this doesn't really matter. `getpass` just doesn't display the
>>> password, but its connecting via the non-SSL port 5222 as far as I can
>>> see. Hence its very easy to read all the communication that happens.
>>> 5223 is the port used for SSL communications on Jabber (am not sure
>>> what is the port used by Gmail).
>>>
>>>
>>
>> If you look to the code , it mention  5223 port, So we can think this is
>> secure. Just try to run wireshark/ethereal to capture and search your
>> password if it send password in plaintext.
>> -- Close all network applications, Start packet capture application , run
>> script, and stop packet capturing, search for password and username.
>>
>> Thanks
>>
>> --
>> ┌─────────────────────────┐
>> │    Narendra Sisodiya
>> │    http://narendrasisodiya.com
>> └─────────────────────────┘
>> --
>> l...@iitd - http://tinyurl.com/ycueutm
>>
>
> On Fri, Aug 6, 2010 at 4:12 PM, Narendra Sisodiya <
[email protected]> wrote:

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to