Find Invisible Users In Gmail


Finding who is invisible is something that I always wanted to do.It’s always fun to ping a person who feels none can see him/her online. While studying XMPP protocol I found out that even when the person is offline the chat client knows that person is online.
The Chat Client should know who all are really online at any given time.This is because even when the person is invisible he/she should have a buddy list showing online users.

Ah!! Guess you did’nt understand a word till now.Let me try making it simpler.

Let’s assume two users A and B are online now.Both A and B are Available (ie the chat client shows them online).Both A and B has a list of online users in his chat client(eg:google talk,gmail inbox chat,pidgin). Now this online users need to be kept constantly updated. This is done by the XMPP protocol(this is the protocol used by google for it’s chat).Now even if B is invisible still it needs to keep it’s online users list updated as it needs to show B the online users.
So whenever B logs into his account it initially sends a presence notification to all the users in it’s contacts list saying that B is online as “Please show me online in our online user list”.
All online users respond back with their online status and status message.
This is where the invisible people shows up.The chat server replies back with their status. The only difference in them is that they respond with their status as “Unavailable“.
So my aim was to find out all users that respond back to me with Unavailable status and display them.
Ok enough of explanation of how it works let’s see the code

#!/bin/perl

use strict;
use Net::XMPP;

my $sttime=time;
print "Username:$ARGV[0]n";
my $username = "$ARGV[0]";
my $password = "$ARGV[1]";

my $resource = "SNIFFER";

my $hostname = 'talk.google.com';
my $port = 5222;
my $componentname = 'gmail.com';
my $Contype = 'tcpip';
my $tls = 1;

my %online;
my $Con = new Net::XMPP::Client();
$Con->SetCallBacks(presence=>&presence_ch);

my $status = $Con->Connect(
hostname => $hostname, port => $port,
componentname => $componentname,
connectiontype => $Contype, tls => $tls);

if (!(defined($status))) {
print "ERROR:  XMPP connection failed.n";
print "        ($!)n";
exit(0);
}

# Change hostname
my $sid = $Con->{SESSION}->{id};
$Con->{STREAM}->{SIDS}->{$sid}->{hostname} = $componentname;

# Authenticate
my @result = $Con->AuthSend(
username => $username, password => $password,
resource => $resource);

if ($result[0] ne "ok") {
print "ERROR: Authorization failed: $result[0] - $result[1]n";
exit(0);
}
else
{
print "Logged in Sucessfull!nInvisible Users:n";
}
$Con->PresenceSend(show=>"Available");
sub presence_ch
{
my $p=0;
my $x;
my $presence = pop;
my $from = $presence->GetFrom();
$from =~ s/([a-zA-Z@.]*)/(.*)/$1/;
if($presence->GetType() eq "unavailable")
{
if (exists $online{$from})
{
delete($online{$from});
}
else
{
$online{$from}=$presence->GetType()."!!" .$presence->GetStatus();
print $from."n";
}
}
else
{
$online{$from}=$presence->GetType()."!!" .$presence->GetStatus();
}
}
my $currtime;
while(1)
{
$currtime=time;
if($currtime-$sttime>10)
{last;}
my $res=$Con->Process(1);
if(!(defined($res))){ last;}}

XMPP protocol needs SSL encryption.So you need to install the perl modules for it.So before trying out the code make sure u have the following modules:

  • IO ::Socket ::SSL (>=0.81)
  • XML ::Stream
  • Net ::XMPP
  • Authen ::SASL

To install the packages open the CPAN shell using the command

sudo perl -MCPAN -e 'shell'

Followed by

install <module name>

for each of the module listed above
Also you need to install the package send-xmpp and it’s dependecies

sudo apt-get install send-xmpp

Run the program by running it as

perl invi.pl <username> <password>

If you need Windows Version of the tool, check the Comment #39
Worked?? Did’nt work?? Comment me


, , , , , , ,

  1. #1 by Vivek on September 21, 2008 - 9:19 am

    kollaam..nice…good explanation…try cheythu nokaam ….

  2. #2 by Jan on November 15, 2008 - 1:56 pm

    Hey Srijith

    I tried your code with ActivePerl on Windows and keep getting this error:

    You requested that XML::Stream turn the socket into an SSL socket, but you don’t have the correct version of IO::Socket:
    :SSL v0.81. at D:/Perl/site/lib/XML/Stream/Node.pm line 547

    Can you please help resolve this?

  3. #3 by R Srijith on November 16, 2008 - 12:57 am

    you need to use send-xmpp package in linux to avoid that error.
    I am not sure how to install it in windows.But feel there should be a package for it in windows too. Let me see and will get back to you.

  4. #4 by Jan on November 16, 2008 - 7:00 pm

    Thanks!! Would appreciate if you could let me know.

  5. #5 by Su_j on December 22, 2008 - 1:35 am

    Good work done…
    Now lets see if i can get more out of it…

  6. #6 by Anonymous on March 21, 2009 - 1:31 am

    Hi Srijith…..I can’t able to open this…..while trying to open this site itz coming as HTTP 5000 Internal server error…..can’t I view the invisible people anymore…..is this site not working…..

  7. #7 by R Srijith on March 21, 2009 - 2:06 am

    if you tried the online version then it is not working right now. The server I have been using is not allowing communication via post 5222. You can use the program by running the program from your system using the code i posted in this post.

  8. #8 by sharath on May 24, 2009 - 12:03 pm

    I am using almost the same code to check the invisible users on gtalk & it is working fine for me.

    If I am behind the proxy server of type http, $Contype = 'http'; will work with the same port i.e. 5222;

    if I am directly connecting to internet without any proxy then $Contype must be 'tcpip'

    if I am behind a https proxy server then $Contype = 'http' ; with $port = 443; and the

    connect system call will change to

    #the rest of the parameters u have is same.
    $ssl=1;
    $tls=1;
    Connect(hostname => $hostname,
    port => $port,
    componentname => $componentname,
    connectiontype => $connectiontype,
    tls => $tls,
    ssl => $ssl);

  9. #9 by J.K on January 16, 2010 - 7:42 pm

    does this code only can be use in linux
    how to use this others who dont have linux?
    Could you send me explanation on my mail
    cuz i am begginer and dont understand this much
    about code and other stuff
    thanks

  10. #10 by Srijith R on January 17, 2010 - 12:24 am

    You can try using active perl to do it in windows. Try that method and tell me if u get stuck somewhere

  11. #11 by asdfasdf on February 6, 2010 - 1:10 am

    come on guys..i guess its a script to trap us..

  12. #12 by Srijith R on February 6, 2010 - 9:31 am

    If you know perl just read through the code and then you will understand what i am doing. And I am giving the code and telling you to run. Not asking you to enter user name password.

  13. #13 by unknown on February 17, 2010 - 10:59 pm

    i am getting the following error

    syntax error at invi.pl line 21, near “&”

    i installed all the modules and sendxmpp package also.

  14. #14 by Srijith R on February 17, 2010 - 11:21 pm

    Oops there was an error in code that triggered that error “&” was represented as “&” when i recently edited the code. Thanks for pointing it out to me. have fixed it

  15. #15 by ufo on February 18, 2010 - 7:49 pm

    I get the following error:

    Can’t call method “GetFrom” on an undefined value at invi.pl line 57

  16. #16 by unknown on February 18, 2010 - 8:27 pm

    ya I some how figured it out yesterday. but there are two new problems now

    I am getting error like this

    Can’t call method “GetFrom” on an undefined value at invi.pl line 57.

    and I am behind a ‘http’ proxy server in my campus which allows only these settings in pidgin

    connection port : 443
    and force old (port 5223) ssl checked

    In Net::XMPP documentation i have seen that for connectiontype = ‘http’ headers are needed to talk through a web proxy

    plzzz can u help me with this

  17. #17 by Srijith R on February 20, 2010 - 11:37 pm

    Its essential for the connection port to be 5222. I myself was not able to run it behind an squid server. I feel you need to open 5222 for this script. So I cant really help you in that.

  18. #18 by Simone on February 23, 2010 - 10:03 am

    i’m very interested in this script – is there any way of making the online version of this available again?

  19. #19 by Srijith R on February 23, 2010 - 10:06 am

    Well issues i had last time was I could’nt find a server that opens 5222 port for running this script and people suspecting that I am stealing passwords. So if you could suggest a solution for this I can create the online version

  20. #20 by ss44 on February 25, 2010 - 4:23 am

    I also get the “Can’t call method “GetFrom” on an undefined value” any suggestions?

  21. #21 by jj on February 27, 2010 - 3:37 pm

    Hi sreejith,

    Good logic. I installed all the modules and i am getting the following problem.
    ERROR: XMPP connection failed.
    (Operation now in progress)
    I am sitting behind a http server. Could you help me in debugging this.

    Thanks

  22. #22 by Srijith R on February 27, 2010 - 11:48 pm

    Its because u r behind an HTTP server. It needs to be from 5222 port when it reaches google server. Could you try without HTTP server. or try tunneling it outside

  23. #23 by Vishnu on February 28, 2010 - 8:55 pm

    I get similar error…

    Can’t call method “GetFrom” on an undefined value at /home/vishnu/Workshop/xmpp/invi.pl line 57.

    I have no proxy…

  24. #24 by Srijith R on February 28, 2010 - 9:26 pm

    I am sorry there was a small error in the script when i recently changed the script. I have corrected it now please try now and tell me

  25. #25 by Vishnu on February 28, 2010 - 11:32 pm

    Yes it’s working, perfect…. Thank you. It’s adipoli machu…

  26. #26 by Lovy Singhal on March 8, 2010 - 9:47 pm

    Hi thr! Followin is d error tht I m g8in. Will appreci8 help 4m u.

    Username:xyz
    ERROR: XMPP connection failed.
    (Invalid argument)

    TIA

  27. #27 by Srijith R on March 8, 2010 - 10:13 pm

    is ur username xyz? and did u pass password also as mentioned in the blog?

  28. #28 by Lovy Singhal on March 15, 2010 - 12:27 am

    No, it displayed my actual username in place of xyz and yes, I did pass the password too. FYI, I m behind a proxy server, if that is of any relevance.

  29. #29 by howzzzat on March 27, 2010 - 3:18 pm

    Hi Srijith,

    A nifty piece of code indeed! :)
    I wanted to point out that when I log in using the script, I’m logged in as visible (maybe for less than a second). Still is there a way to log in as invisible and get other invisible contacts :p

    Thanks

  30. #30 by Offshore Web Development on April 24, 2010 - 4:39 pm

    Hey.. great script ..
    Carry on with such great work.

  31. #31 by Vyom on April 25, 2010 - 5:21 pm

    Can you please make the online version up. I am finding difficulty doing in windows. Difficult installing send-xmpp, IO ::Socket ::SSL (>=0.81) and XML ::Stream. Used Actvie state perlmanager.

  32. #32 by Karthik on May 5, 2010 - 8:43 am

    Hey I am new to PERL on Windows. Can somebody give a step-by-step direction to detect invisible users on Google chat?

    Thanks

  33. #33 by Srijith R on May 5, 2010 - 10:24 am

    I Thought my blog post is descriptive. If you could explain what you are not understanding I could help you out in that. And I hav’nt worked in active perl. So not very good in that.

  34. #34 by Shar on May 8, 2010 - 3:09 pm

    I get a similar error to this-
    You requested that XML::Stream turn the socket into an SSL socket, but you don’t have the correct version of IO::Socket:
    :SSL v0.81. at D:/Perl/site/lib/XML/Stream/Node.pm line 547

    Great code-but to really be useful you need to be a little more low level.I managed to somehow install activePERL on Win and also install the packages..But I wasnt able to install send-xmpp(no clue) although I did download a TAR file..

    Please help out

  35. #35 by azy on May 13, 2010 - 10:50 am

    hiii..this is a nice work reli…i cn undrstnd d coding but i duno where 2 do dis coding…pls can anybody tel me pls..i love 2 see ma invisible buddies…

    tnq
    bye

  36. #36 by Rupert on May 14, 2010 - 9:35 am

    are
    * IO ::Socket ::SSL (>=0.81)
    * XML ::Stream
    * Net ::XMPP
    * Authen ::SASL
    avail in windows.. I don’t know much but I can’t seem to get it to work. you couldn’t find a server that opens the correct port for your online one, but would you be able to send me an exec that would allow me to run it from home?

  37. #37 by Thaha on May 18, 2010 - 7:30 pm

    I installed Active Perl for WAMP in XP and is working fine..
    But I couldnt find the module IO ::Socket ::SSL. and when I try to run the script I get the ” Internal Server Error”.

    Please help me..

  38. #38 by Ashish Kumar on May 21, 2010 - 12:20 pm

    Superb job, awesome script…and thanks sharath as well, ur tweak got it working for me in my college!

  39. #39 by vyompv on June 2, 2010 - 8:28 pm

    I got it worked at last in Windows. [i tried in Windows XP]
    Guys download the perl from here http://strawberryperl.com/ [38MB file] and then from the programs menu take the command prompt from strawberry perl. And then type->cpan [ i have tried with normal command prompt it works smooth]
    install these modules: [format to type inside cpan prompt->install ]
    IO::Socket::SSL
    XML::Stream
    Net::XMPP
    Authen::SASL
    All will get installed without error [as it does in linux]

    After that download send-xmpp from here http://sendxmpp.platon.sk/ [download this file sendxmpp-0.0.8.tar.gz.] .Hope you already have Winrar for extracting that file. [may be it works with zip, i didnt check it]
    Extract the send-xmpp file and via command prompt go to that folder where its extracted and then do these commands:
    1)perl Makefile.PL
    2)dmake
    3)dmake install

    Thats it. Now copy the above script [be careful while copying hope you don't make mistake] and paste in NOTEPAD [not wordpad] and save as “invi.pl” [Save as type All files and ANSI encoding. [save the file with quotes]
    and then take the command prompt to the place where you kept that file and then type->perl invi.pl
    I got the result without any error :). Hope you also enjoy the output.

    And not to mention thanks to Srijith; he has done a great job. :)

  40. #40 by vyompv on June 2, 2010 - 8:32 pm

    I think it will work in windows 7. Well i tried with windowx XP 32 bit. If its 64bit change the appropriate download of perl from http://strawberryperl.com/.

  41. #41 by vyompv on June 3, 2010 - 8:57 pm

    Type perl invi.pl username password to run the program. I have put in my previous post with ” it didnot get printed.

  42. #42 by hs on June 4, 2010 - 3:50 pm

    Excellent excellent excellent…..Both the script as well as the 39th comment by vyompv. Both have been very descriptive and helpful and all works fine on my Win XP machine. Only 1 thing I would like to know (if possible)…the moment I run the script, I get online for a minute and then get offline…is there a way to edit the code and just check the invisible users without getting online? Even if thats not possible, no issues…..yet its really really helpful code…..Hats off…!! :)

  43. #43 by vyompv on June 5, 2010 - 9:14 pm

    Hi Sreejith well i was trying to convert the whole thing in java [rate myself a beginner]. I am very new to perl but some how managed to make out the things. After a lot of google and a lot search i made the java code to enter into the gtalk and get all the visible and away users making myself in invisible mode.
    As you told Presence->gettype “unavailable”. For me all the offline users also come under this.
    Presence class with getstatus method returns null for me for all the unavailable users.
    May be i did not understand your code properly can you please tell me the exact place where you differentiate offline and invisible user. The class and the method which you used for that.

    I got in invisible mode by taking presence type as unavailable and then sending that packet using connection.

    I checked the perl docs of NET::XMPP i couldnt figure out the difference in offline and invisible. Tried a lot for a day but couldn’t figure it out. Thanking you for the reply.

  44. #44 by Harry on June 6, 2010 - 11:08 am

    Thank you both vyompv and Srijith. Between the two of you it worked perfectly!!

    Is there anyway to invite an invisible user to a video chat?

  45. #45 by Nisanth Issac on June 6, 2010 - 9:41 pm

    First of all, hats off to you for this wonderful script. But the problem is that I couldn’t run it. I am using ubuntu 10.04 and contains perl v5.10.1. I tried to install all the four packages specified above but all of them gave the result as “Cannot install , don’t know what it is.”. Also I have a file invi.pl containing your code and don’t know how to run it.

  46. #46 by Srijith R on June 6, 2010 - 11:35 pm

    I am not sure how that error comes. Try installing it from the installation folder. Which is ~/.cpan/bundles folder.

  47. #47 by vyompv on June 8, 2010 - 9:00 am

    Nishanth
    There is a small change in the package names u type ->
    IO::Socket::SSL
    XML::Stream
    Net::XMPP
    Authen::SASL

    Copy paste these things :). i

    LOL i hope you would have kept a space in between in the package name.
    Enjoy the output.

    Srijith you need to remove that space [people would be copying that and and trying to install. Even i made the same mistake :( .

  48. #48 by Kar on June 12, 2010 - 12:13 am

    I have been working with the instructions in #39 and have installed all the modules and extracted sendmxpp but the command prompts don’t seem to be recognizing “perl” or “dmake” commands. Anybody know why?

  49. #49 by vyompv on June 12, 2010 - 11:05 am

    :) :) :) I made the code in java :). Took a bit of time to figure it out as i rate myself a beginner in coding. I have used the smack package to communicate to google talk [that went easy]. After that, was the trouble; for using the package correctly for finding the invisible users, though Srijith explanation was good enough for layman.
    Connecting through google talk and then communicating via invisible mode went well.
    There was a word callback in his code, to figure out that i took a bit of time; its called “Packet” in the smack package.

    Since its in Java and smack package my code works well in all the google like chat [where the private companies use their own domain name and host their mail in google [gmail]].
    The code also keeps ourselves invisible.

    May be Srijith can tweek his code to make ourselves invisible. In my code i have first logged in invisible mode and then kept a listener for packet [callback] .

    Well that was a great idea by Srijith to find invisible users.

    To run the java code is pretty difficult for layman, i cannot give the explanation the way in which Srijith did. In java we need to download package and then put the things which will not work and lot of error can occur. So i am thinking to make a jar running application [which a lay man can run easily] and put in my blog later, so for sometime i am not even publishing my code.

    Thanks Srijith it was a great idea and i learnt a lot from your code.

    Nammude keralam valaratte !!!! [in malayalam language spoken in kerala[india]]

  50. #50 by Nisanth V Issac on June 12, 2010 - 6:02 pm

    Hi Srijith, Vyompv
    thank u both for the support. But ‘prasnagal theeruniila’ hi hi.At first i got ERROR: XMPP connection failed and now ERROR: Authorization failed: . I was not logged in to the account through any other software when I executed the script. Please help me get rid of this error.

    Nammude keralam valaratte !!!!

  51. #51 by vyompv on June 13, 2010 - 11:45 am

    Kar -> your installation might have gone wrong [you have mentioned that you have installed all the modules]. So is the CPAN command working?? Custom installation for the folder has worked for me but since its not working for you, try in the default folder “C:Program Files”. You will get a folder in the start menu-> program files; try their the command prompt of perl. [after installing strawberry check whether you got the perl/cpan commands{command prompt should recognize}].Else you check it out in strawberry . In some places i have read usage of nmake instead of dmake, hope that will not be ur problem as the perl itself is not coming for you.

  52. #52 by vyompv on June 13, 2010 - 12:02 pm

    Nishanth->was all your installation successful? [where ever it is Windows/linux]. After that MAKE SURE you COPY the code correctly [without mistakes] [if in windows u need to be more CAREFUL, even while SAVING the file]. Check step by step no error will come as its not depended on any of your already present software/files [if in windows]. Perl compilation is in C language directly talks with hardware. So no trouble you will find. Some where something wrong you are doing,check it out. Hope you are trying in home [where the port 5222 is opened], so no chance of that port getting blocked. Hoping you/others have not tweeked the internet connectivity. In short if gtalk program works in your pc then this will be :). Things can occur that gtalk fails but not this code :).Hope you enjoy it.[Mainly in windows;as packages you are installing new. Installation should be successful].

    Enjoy the output. :)

  53. #53 by Nisanth Issac on June 13, 2010 - 5:59 pm

    Hi Vyompv
    thank you for the reply. The problem was mine only. I was using username@gmail.com for user name. Now its working perfectly. Great work by Srijth. Also waiting for your Java application. Wish you good luck!!

  54. #54 by Nisanth Issac on June 14, 2010 - 10:19 pm

    I have a strange observation. I am using Empathy chat client. In this software when the options ‘view offline contacts’ and ‘sort by status’ were selected most of the invisible userS(not all) were found at the bottom of the list disturbing the alphabetic order of offline contacts. There were some other contacts too which broke the order. These contacts though actually offline at that time, were invisible during my previous logins. I also created another google account and blocked me in that. Then this contact appeared at the very bottom of the list. Is there any thing in it to be observed further?

  55. #55 by vyompv on June 15, 2010 - 11:26 pm

    Nisanth i dont know about it as i didnt use it. But one thing which i observed is that if you have logged out from gmail chat but logged in to see your mail [or use any other mail alert client] then this program/even my code will show the person as invisible user. This is not the problem of the code but problem from gmail as they should not send the presence notification or try to look their buddies presence when the user is logged out from chat.
    Can you please confirm on this.
    Some other guy has made a pidgin half invisible scanner to see the users in invisible mode and he called half scanner since this problem is present and some other reason also he said.
    Nisanth check whether can you guess the invisible users with that [may be you can find]

  56. #56 by Nidhin on June 17, 2010 - 7:48 pm

    i GOT THIS ERROR

    C:invi>perl invi.pl
    syntax error at invi.pl line 6, near “my ”
    Global symbol “$sttime” requires explicit package name a
    syntax error at invi.pl line 13, near “my ”
    Global symbol “$hostname” requires explicit package name
    Global symbol “$hostname” requires explicit package name
    Global symbol “$sttime” requires explicit package name a
    Execution of invi.pl aborted due to compilation errors.

    • #57 by Srijith R on June 19, 2010 - 8:45 pm

      I think its something to do with you perl. Think perl is not running or something. Try some hello world program and check if perl is fine or not

  57. #58 by Nidhin on June 17, 2010 - 7:56 pm

    Vishnu :
    Yes it’s working, perfect…. Thank you. It’s adipoli machu…

    Please tell me how…?

  58. #59 by Tasha on June 21, 2010 - 6:49 pm

    Hello guys and Vyompv,i’m totally beginer in this so i have to ask u some beginners stuff..
    As i have never met with strawberryperl so i need to ask many stuff.
    VYOMPV explained in the post#39 how do script for Windows.
    Well,I istalled stawberryperl[http://strawberryperl.com (38mb file)],
    then clicked->all programs->strawberry perl->comand prompt,and typeed’cpan’ ,then
    said:”install these modules:(on what way i install it??,typing 1st intsall and copy paste all
    install->IO::Socket::SSL->enter
    istall->XML::Stream->enter
    install->Net::XMPP->enter
    install->Authen::SASL->enter
    how?typing ‘instal and press enter,then type IO::Socket::SSL etc??
    i’m confused:(
    Pls helppp

  59. #60 by dolly on June 23, 2010 - 3:50 pm

    hi all ,
    i m in a strict need to find invisible users,.biggest prob is google has tighten security
    and i not at all familiar with languages and programming.
    so plz anyone can help me here…

  60. #61 by Tasha on June 23, 2010 - 7:31 pm

    When i read my silly question i cant stop smiling’how install modules lol lol lol…Evrth works ok,all modules,just need extract 2nd part more about what vyompv typed and i hope it will work ok what vyompv typed.
    I” ll write am i did evrt correct
    regards

  61. #62 by Luis on June 24, 2010 - 5:40 am

    Thanks. Great!
    Another alternative is to use pidgin and open the XMPP console (it first has to be activated in ‘plugins’) looking for lines after ‘changing status to offline and then back to available.

  62. #63 by Luis on June 24, 2010 - 8:03 am

    Apparently, my previous comment didn’t get through complete, maybe because the xml fragment it looked like html. So here it goes again. Besides this great program, one could look at the XMPP console of pidgin (after activating it via plugins) and find lines with the fragment
    presence from=… type=’unavailable’/
    after changing status to offline and then back to available. The from=field corresponds to the invisible users.

  63. #64 by Tasha on June 27, 2010 - 11:21 pm

    plz anyone can help me here,vyompv typed about this in the post #39.
    ”Extract the send-xmpp file and via command prompt go to that folder where its extracted and then do these commands:1)perl Makefile.PL2)dmake3)dmake install
    When i type via command promt,C:UsersTashaDesktopsendxmpp-0.0.8>perl Makefile.PL2 cant work and wrote” perl MAxfile.PL2” isn’t recognized as an internal or external,or i need type sth as’cd’before perl MAkefile.PL2 or what to work well??

  64. #65 by Tasha on June 28, 2010 - 7:57 pm

    Thanks a lot vyompv.
    I did it on ur way(u decribed in ur blog) and everything works well.Thanks for u sharing it with us:)
    Still,dont know why cant do it via perl command prompt.When i take a command prompt(perl command line) starts with:C:Windowssystem32 and after type just ”perl” ->starts a new row for typing…what then?
    I have Windows7 32 bit

  65. #66 by vyompv on June 28, 2010 - 9:57 pm

    Tasha :
    Thanks a lot vyompv.
    I did it on ur way(u decribed in ur blog) and everything works well.Thanks for u sharing it with us:)
    Still,dont know why cant do it via perl command prompt.When i take a command prompt(perl command line) starts with:C:Windowssystem32 and after type just ”perl” ->starts a new row for typing…what then?
    I have Windows7 32 bit

    Tasha Type “perl -version” … it should print something like this “This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-x86-multi-thread”..
    Then “dmake -version” …it should print something like this “Usage:
    dmake [-P#] [-{f|K} file] [-{w|W} target ...] [macro[!][[*][+][:]]=value …] [-v[cdfimrtw]] [-m[trae]] [-ABcdeEghiknpqrsStTuVxX] [target ...]“.

    If upto here its fine then check whether in the directory sendxmpp which you extracted have a file named “Makefile.PL” if not extract the zip file again else type “perl Makefile.PL”.. An output should be shown like this “Writing Makefile for sendxmpp”. After that type “dmake” and then later “dmake install”. All the other things should go fine.

    If you have problems till the steps which i said check whether you have 64 bit installed or not ? If any special error is thrown then let me know. It should work in all PCs.

    Happy using the program . And learn new things daily :). Thank you for visiting my blog.

  66. #67 by Tasha on June 29, 2010 - 5:11 am

    Vyompv,now works both ways thanks to u,i installed again perl and did it without any problems:)
    Manyyyyy thanks Vyompv for ur patiently and great explanation every details:)
    kiss;)
    Thank u for ur great blog!
    btw do u have some idea for invisible skype users?

  67. #68 by vyompv on June 30, 2010 - 11:45 am

    :) Ask Srijith to find he will have more information. He is working in Yahoo… he will have more information. Well from my side “Skype uses a proprietary Internet telephony (VoIP) network based on peer-to-peer architecture. The protocol has not been made publicly available by Skype and official applications using the protocol are closed-source.” –From Wikipedia .
    Well Gtalk is in XMPP protocol and smack was there to do which supported gtalk. So i could do; for me i need to learn or grow to that level to do the same for skype. :) Happy using the program..

  68. #69 by Tasha on July 1, 2010 - 6:16 pm

    I’m waiting for it :-)

  69. #70 by SVK on July 8, 2010 - 12:05 pm

    i have downloaded the strawbeery msi file. and installed it. then i went to the dos/command prompt of my windows XP system and typed Cpan

    at the prompt i keyed in INSTALL IO:Socket::SSL………………. as shown below , but its giving me error

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:Documents and Settingssurekha>cpan

    cpan shell — CPAN exploration and modules installation (v1.9456)
    Enter ‘h’ for help.

    cpan> io::socket::SSL
    Catching error: “Can’t locate object method “SSL” via package “io::socket” (
    perhaps you forgot to load “io::socket”?) at C:/strawberry/perl/lib/CPAN.pm li
    ne 375, line 1.cJ” at C:/strawberry/perl/lib/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan> install io::Socket:SS
    Fetching with LWP:
    http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
    Fetching with LWP:
    http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
    Fetching with LWP:
    http://cpan.strawberryperl.com/modules/03modlist.data.gz
    Creating database file …

    Gathering information from index files …
    fetch_info() failed! at C:strawberryperlvendorlib/CPAN/SQLite/Index.pm line
    57, line 1.
    Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62,
    line 1.
    CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l
    ine 329, line 1.
    Catching error: “system C:\strawberry\perl\bin\perl.exe -MCPAN::SQLite::META
    =setup,update -e setup failed: 5632 at C:\strawberry\perl\vendor\lib/CPAN/SQ
    Lite/META.pm line 323.cJ” at C:/strawberry/perl/lib/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    Creating database file …

    Gathering information from index files …
    fetch_info() failed! at C:strawberryperlvendorlib/CPAN/SQLite/Index.pm line
    57, line 1.
    Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62,
    line 1.
    CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l
    ine 329, line 1.
    Lockfile removed.
    system C:strawberryperlbinperl.exe -MCPAN::SQLite::META=setup,update -e setu
    p failed: 5632 at C:strawberryperlvendorlib/CPAN/SQLite/META.pm line 323.

    C:Documents and Settingssurekha>cpan

    cpan shell — CPAN exploration and modules installation (v1.9456)
    Enter ‘h’ for help.

    cpan> install IO::Socket:SSL
    Creating database file …

    Gathering information from index files …
    fetch_info() failed! at C:strawberryperlvendorlib/CPAN/SQLite/Index.pm line
    57, line 1.
    Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62,
    line 1.
    CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l
    ine 329, line 1.
    Catching error: “system C:\strawberry\perl\bin\perl.exe -MCPAN::SQLite::META
    =setup,update -e setup failed: 5632 at C:\strawberry\perl\vendor\lib/CPAN/SQ
    Lite/META.pm line 323, line 1.cJ” at C:/strawberry/perl/lib/CPAN.pm line 3
    91
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    Creating database file …

    Gathering information from index files …
    fetch_info() failed! at C:strawberryperlvendorlib/CPAN/SQLite/Index.pm line
    57, line 1.
    Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62,
    line 1.
    CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l
    ine 329, line 1.
    Lockfile removed.
    system C:strawberryperlbinperl.exe -MCPAN::SQLite::META=setup,update -e setu
    p failed: 5632 at C:strawberryperlvendorlib/CPAN/SQLite/META.pm line 323, line 1.

    C:Documents and Settingssurekha>install XML::Stream
    ‘install’ is not recognized as an internal or external command,
    operable program or batch file.

    C:Documents and Settingssurekha>cpan

    cpan shell — CPAN exploration and modules installation (v1.9456)
    Enter ‘h’ for help.

    cpan> INSTALL IO::Socket::SSL
    Unknown shell command ‘INSTALL’. Type ? for help.

    cpan> xml::Stream
    Catching error: “Can’t locate object method “Stream” via package “xml” (perh
    aps you forgot to load “xml”?) at C:/strawberry/perl/lib/CPAN.pm line 375, line 2.cJ” at C:/strawberry/perl/lib/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan> Net::XMPP
    Catching error: “Can’t locate object method “XMPP” via package “Net” at C:/s
    trawberry/perl/lib/CPAN.pm line 375, line 3.cJ” at C:/strawberry/perl/lib/
    CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan> Authen::SASL
    Catching error: “Can’t locate object method “SASL” via package “Authen” (per
    haps you forgot to load “Authen”?) at C:/strawberry/perl/lib/CPAN.pm line 375,
    line 4.cJ” at C:/strawberry/perl/lib/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan>

    vyompv :I got it worked at last in Windows. [i tried in Windows XP]Guys download the perl from here http://strawberryperl.com/ [38MB file] and then from the programs menu take the command prompt from strawberry perl. And then type->cpan [ i have tried with normal command prompt it works smooth]install these modules: [format to type inside cpan prompt->install ]IO::Socket::SSLXML::StreamNet::XMPPAuthen::SASLAll will get installed without error [as it does in linux]
    After that download send-xmpp from here http://sendxmpp.platon.sk/ [download this file sendxmpp-0.0.8.tar.gz.] .Hope you already have Winrar for extracting that file. [may be it works with zip, i didnt check it]Extract the send-xmpp file and via command prompt go to that folder where its extracted and then do these commands:1)perl Makefile.PL2)dmake3)dmake install
    Thats it. Now copy the above script [be careful while copying hope you don't make mistake] and paste in NOTEPAD [not wordpad] and save as “invi.pl” [Save as type All files and ANSI encoding. [save the file with quotes]and then take the command prompt to the place where you kept that file and then type->perl invi.plI got the result without any error . Hope you also enjoy the output.
    And not to mention thanks to Srijith; he has done a great job.

  70. #71 by SVK on July 9, 2010 - 10:58 am

    i still get the same erroros when i try to run the command in command prompt .i am using windows XP

  71. #72 by vyompv on July 9, 2010 - 11:13 pm

    :( :( :( SVK :(:(:(

    Even i am getting the same error by typing the way in which you type. Copy paste my package name and command, the alphabet cases [small or upper matters] a lot. Why do you want to waste your energy by typing it, I have clearly written so that you can copy paste it.

  72. #73 by vyompv on July 9, 2010 - 11:25 pm

    SVK only for you this is type CPAN [as you did] after getting the prompt type these one by one
    install IO::Socket::SSL
    install XML::Stream
    install Net::XMPP
    install Authen::SASL
    I am sorry please don’t type copy paste [now dont ask me how to copy paste in command prompt :(; i know its not that easy] ok even that

  73. #74 by SVK on July 10, 2010 - 1:25 pm

    asu said i copied the commnads instead of typing , i get this msg

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:Documents and Settingssurekha>cpan

    There seems to be running another CPAN process (pid 2988). Contacting…
    Other job not responding. Shall I overwrite the lockfile ‘C:strawberrycpan.lo
    ck’? (Y/n) [y] y

    cpan shell — CPAN exploration and modules installation (v1.9456)
    Enter ‘h’ for help.

    cpan> IO::Socket::SSL
    Catching error: “Can’t locate object method “SSL” via package “IO::Socket” a
    t C:/strawberry/perl/lib/CPAN.pm line 375, line 1.cJ” at C:/strawberry/per
    l/lib/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan> XML::Stream
    Catching error: “Can’t locate object method “Stream” via package “XML” at C:
    /strawberry/perl/lib/CPAN.pm line 375, line 2.cJ” at C:/strawberry/perl/li
    b/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan> Net::XMPP
    Catching error: “Can’t locate object method “XMPP” via package “Net” at C:/s
    trawberry/perl/lib/CPAN.pm line 375, line 3.cJ” at C:/strawberry/perl/lib/
    CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan> Authen::SASL
    Catching error: “Can’t locate object method “SASL” via package “Authen” (per
    haps you forgot to load “Authen”?) at C:/strawberry/perl/lib/CPAN.pm line 375,
    line 4.cJ” at C:/strawberry/perl/lib/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    cpan> install IO::Socket::SSL
    Fetching with LWP:
    http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
    Fetching with LWP:
    http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
    Fetching with LWP:
    http://cpan.strawberryperl.com/modules/03modlist.data.gz
    Creating database file …

    Gathering information from index files …
    fetch_info() failed! at C:strawberryperlvendorlib/CPAN/SQLite/Index.pm line
    57, line 1.
    Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62,
    line 1.
    CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l
    ine 329, line 1.
    Catching error: “system C:\strawberry\perl\bin\perl.exe -MCPAN::SQLite::META
    =setup,update -e setup failed: 5632 at C:\strawberry\perl\vendor\lib/CPAN/SQ
    Lite/META.pm line 323.cJ” at C:/strawberry/perl/lib/CPAN.pm line 391
    CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
    App::Cpan::_process_options(‘App::Cpan’) called at C:/strawberry/perl/li
    b/App/Cpan.pm line 364
    App::Cpan::run(‘App::Cpan’) called at C:strawberryperlbin/cpan line 8

    Creating database file …

    Gathering information from index files …
    fetch_info() failed! at C:strawberryperlvendorlib/CPAN/SQLite/Index.pm line
    57, line 1.
    Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62,
    line 1.
    CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l
    ine 329, line 1.
    Lockfile removed.
    system C:strawberryperlbinperl.exe -MCPAN::SQLite::META=setup,update -e setu
    p failed: 5632 at C:strawberryperlvendorlib/CPAN/SQLite/META.pm line 323.

    C:Documents and Settingssurekha>install XML::Stream
    ‘install’ is not recognized as an internal or external command,
    operable program or batch file.

    C:Documents and Settingssurekha>install Net::XMPP
    ‘install’ is not recognized as an internal or external command,
    operable program or batch file.

    C:Documents and Settingssurekha>install Authen::SASL
    ‘install’ is not recognized as an internal or external command,
    operable program or batch file.

    C:Documents and Settingssurekha>

    is this the right way

  74. #75 by vyompv on July 11, 2010 - 10:52 am

    SVK : You have typed it correctly this is the right way you have typed …… cpan> install IO::Socket::SSL [other way of typing are wrong].
    I don’t know what went wrong. Well i say my way of installing perl.

    Try “upgrade” [under prompt CPAN>upgrade]
    it would take some time to complete.Don’t stop that in between.
    then try “reload index”[under prompt CPAN>reload index]
    Try now the command of install [which i have posted before]

    Still after doing that if its not working then uninstall and reinstall. And this time don’t type wrong commands. Your indexing fetch of the perl has failed thats the reason you are getting the error.

    Please do reply back. I am using the same Windows command prompt which you are using so it should work. Guarantee!!!!

  75. #76 by vyompv on July 11, 2010 - 10:54 am

    Well i say my way of installing… i forgot to metion above->
    I am not even administrator while installing [office laptop].
    I have installed even in D prompt.

    You being in administrator and in C prompt it should work. Error chance is low.

  76. #77 by vyompv on July 11, 2010 - 12:01 pm

    SVK…..Upgrade taking a long time.

    Just uninstall, delete the folders reinstall the whole thing after a complete download of packages.

  77. #78 by s j on July 20, 2010 - 10:19 pm

    i also did the whole thing but at the end i keep getting an error
    “You requested that XML::Stream turn the socket into an SSL socket, but you don’t
    have the correct version of IO::Socket::SSL v0.81. at C:/strawberry/perl/site/l
    ib/XML/Stream/Node.pm line 549″
    plz help!!!

  78. #79 by E on July 20, 2010 - 11:09 pm

    Is there a way to get the XMPP (that you can configure for pidgin) for adium on mac?

  79. #80 by Rafael on July 27, 2010 - 12:50 am

    Hi Srijith,

    Thanks! It works on my ubuntu machine.

    To clarify to others who may have problems:
    install sendxmpp instead of send-xmpp
    single colons are used instead of double colons when installing perl packages (e.g. “install XML:Stream”).

    Now there are some things I would like to ask (sorry I haven’t tried perl programming or xmpp before).

    Using the program sets my status on gtalk as visible, this may be unwanted when I’m currently logged in as invisible. Can my user status be set to “Unavailable” in the script?

    I’m using bash, so I don’t want my password being left in the bash history. I tried to modify the script to get the username and password from stdin prompt () instead of command line arguments (argv[]). However, it fails to authenticate using a prompted login. Currently my username and password are hard coded in the script, and it works. Any suggestions here?

    It would be nice if program updates the output at a time interval (5 seconds or so). Even if it just dumps everything in the terminal (does not erase the previous output). And then wait for a keypress (ReadKey) to exit.

    Again, sorry for asking too much. I just find your script very useful and interesting and the only one of its kind.

    Thanks and keep up the great work!

    -Rafael

  80. #81 by DeJean on August 13, 2010 - 10:39 am

    Passwords containing special characters pose issues. I had an ‘Authorization failed’ up till the moment I changed my Gmail password to something more simple. Given the script is written in perl, I expect a ‘$’ sign in the password causes the failure, but I also had a ‘%’ and a ‘?’ in it.

  81. #82 by Saugat on August 25, 2010 - 5:04 am

    Hi Srijith, Vyompv
    thank u both for your support. Well I am getting an error while i am trying to run the script. I quoated it below. also when i am tring to run te command perl makefile.pl, it throws a warning as net::XMPP 1 not found. Though my install command worked successfully. I am using w7 64 bit & downloaded the 64 bit version of straberryperl.

    [i]H:sendxmpp>perl invi.pl
    Can’t locate Net/XMPP.pm in @INC (@INC contains: C:/strawberry/perl/site/lib C:/
    strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at invi.pl line 4.
    BEGIN failed–compilation aborted at invi.pl line 4.[/i]

  82. #83 by jazz on August 26, 2010 - 2:30 am

    I tried the script using Strawberry on
    W7 64 bit but keep getting this error msg

    You requested that XML::Stream turn the socket into an SSL socket, but you don’t have the correct version of IO::Socket:
    :SSL v0.81. at C:/Strawberry/perl/site/lib/XML/Stream/Node.pm line 549

    pls help me.it finds to be quit intersting

  83. #84 by vyompv on August 28, 2010 - 12:17 pm

    Saugat, jazz and others…

    After you have installed all your modules check whether it was properly installed and do compare with my version of package.
    To do that in the CPAN prompt type “m (Module name)” -> Module name is all the modules that you have installed. You should get a proper result for all.

    I am pasting the snippet of my result for all the modules.

    cpan> m Net::XMPP
    Fetching with LWP:
    http://cpan.strawberryperl.com/authors/id/H/HA/HACKER/CHECKSUMS
    Module id = Net::XMPP
    CPAN_USERID HACKER (Eric Hacker )
    CPAN_VERSION 1.02
    CPAN_FILE H/HA/HACKER/Net-XMPP-1.02.tar.gz
    UPLOAD_DATE 2007-03-31
    MANPAGE Net::XMPP – XMPP Perl Library
    INST_FILE D:PerlstrawberryperlsitelibNetXMPP.pm
    INST_VERSION 1.02

    cpan> m IO::Socket:SSL
    Module id = IO::Socket::SSL
    CPAN_USERID SULLR (Steffen Ullrich )
    CPAN_VERSION 1.33
    CPAN_FILE S/SU/SULLR/IO-Socket-SSL-1.33.tar.gz
    UPLOAD_DATE 2010-03-17
    MANPAGE IO::Socket::SSL — Nearly transparent SSL encapsulation for IO:
    :Socket::INET.
    INST_FILE D:PerlstrawberryperlvendorlibIOSocketSSL.pm
    INST_VERSION 1.33

    cpan> m XML::Stream
    Module id = XML::Stream
    DESCRIPTION Module for handling XML Streams
    CPAN_USERID DAPATRICK (Darian Anthony Patrick )
    CPAN_VERSION 1.23
    CPAN_FILE D/DA/DAPATRICK/XML-Stream-1.23.tar.gz
    UPLOAD_DATE 2010-01-08
    DSLIP_STATUS RdpOl (released,developer,perl,object-oriented,LGPL)
    MANPAGE XML::Stream – Creates an XML Stream connection and parses retur
    n data
    INST_FILE D:PerlstrawberryperlsitelibXMLStream.pm
    INST_VERSION 1.23

    cpan> m Net::XMPP
    Module id = Net::XMPP
    CPAN_USERID HACKER (Eric Hacker )
    CPAN_VERSION 1.02
    CPAN_FILE H/HA/HACKER/Net-XMPP-1.02.tar.gz
    UPLOAD_DATE 2007-03-31
    MANPAGE Net::XMPP – XMPP Perl Library
    INST_FILE D:PerlstrawberryperlsitelibNetXMPP.pm
    INST_VERSION 1.02

    cpan> m Authen::SASL
    Module id = Authen::SASL
    DESCRIPTION SASL authentication framework
    CPAN_USERID GBARR (Graham Barr )
    CPAN_VERSION 2.15
    CPAN_FILE G/GB/GBARR/Authen-SASL-2.15.tar.gz
    UPLOAD_DATE 2010-06-02
    DSLIP_STATUS RmpOp (released,mailing-list,perl,object-oriented,Standard-Perl
    )
    MANPAGE Authen::SASL – SASL Authentication framework
    INST_FILE D:PerlstrawberryperlsitelibAuthenSASL.pm
    INST_VERSION 2.15

    cpan>
    ____________________________________

    Well this doesnt check whether you have installed send-xmpp.
    For send-xmpp installation verification; check the directory where you have installed perl and see whether you can see following files under this directory structure [note i have installed in 'd:' drive yours path might be different]
    d:Perlstrawberryperlsitebinsendxmpp
    d:Perlstrawberryperlsitebinsendxmpp [Ms-Dos batch file]
    d:Perlstrawberryperlsitelibautosendxmpp.packlist

    If all the above is fine and the version of each module matches with the above, then probably your copied script might be wrong. [copy properly and try again]
    If all the above mentioned is not correct with yours installed. Uninstall strawberry and install everything again. And make sure that you dont type wrong command and destroy your working perl.

    To check your perl version type “perl -v” in the command prompt
    My output is like this:
    “This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-x86-multi-t
    hread

    Copyright 1987-2010, Larry Wall”

  84. #85 by jazz on September 10, 2010 - 9:41 pm

    hi,vyompv
    i tried the module check commands and found dat SSL is not installed properly.As u said i uninstalled the whole perl and started from the begining..and when am trying to install the install the ssl the followng is comng..let me show it below..

    Warning: Prerequisite ‘Net::SSLeay => 1.21′ for ‘SULLR/IO-Socket-SSL-1.33.tar.gz
    ‘ failed when processing ‘FLORA/Net-SSLeay-1.36.tar.gz’ with ‘make_test => NO’.
    Continuing, but chances to succeed are limited.
    cp SSL.pm bliblibIOSocketSSL.pm
    SULLR/IO-Socket-SSL-1.33.tar.gz
    C:strawberrycbindmake.EXE — OK
    Running make test
    C:strawberryperlbinperl.exe “-MExtUtils::Command::MM” “-e” “test_harness(0,
    ‘bliblib’, ‘blibarch’)” t/*.t
    t/01loadmodule.t ……….. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at C:strawberrycpanbuildIO-Sock
    et-SSL-1.33-oiR25tbliblib/IO/Socket/SSL.pm line 18.
    BEGIN failed–compilation aborted at C:strawberrycpanbuildIO-Socket-SSL-1.33
    -oiR25tbliblib/IO/Socket/SSL.pm line 18.
    Compilation failed in require at t/01loadmodule.t line 14.
    BEGIN failed–compilation aborted at t/01loadmodule.t line 14.
    t/01loadmodule.t ……….. Dubious, test returned 2 (wstat 512, 0×200)
    Failed 4/4 subtests
    t/02settings.t …………. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at C:strawberrycpanbuildIO-Sock
    et-SSL-1.33-oiR25tbliblib/IO/Socket/SSL.pm line 18.
    BEGIN failed–compilation aborted at C:strawberrycpanbuildIO-Socket-SSL-1.33
    -oiR25tbliblib/IO/Socket/SSL.pm line 18.
    Compilation failed in require at t/02settings.t line 4.
    BEGIN failed–compilation aborted at t/02settings.t line 4.
    t/02settings.t …………. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/acceptSSL-timeout.t …… Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at C:strawberrycpanbuildIO-Sock
    et-SSL-1.33-oiR25tbliblib/IO/Socket/SSL.pm line 18.
    BEGIN failed–compilation aborted at C:strawberrycpanbuildIO-Socket-SSL-1.33
    -oiR25tbliblib/IO/Socket/SSL.pm line 18.
    Compilation failed in require at t/acceptSSL-timeout.t line 3.
    BEGIN failed–compilation aborted at t/acceptSSL-timeout.t line 3.
    t/acceptSSL-timeout.t …… Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/auto_verify_hostname.t … Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/auto_verify_hostname.t line 4.

    BEGIN failed–compilation aborted at t/auto_verify_hostname.t line 4.
    t/auto_verify_hostname.t … Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/cert_no_file.t ……….. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/cert_no_file.t line 14.
    BEGIN failed–compilation aborted at t/cert_no_file.t line 14.
    t/cert_no_file.t ……….. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/compatibility.t ………. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at C:strawberrycpanbuildIO-Sock
    et-SSL-1.33-oiR25tbliblib/IO/Socket/SSL.pm line 18.
    BEGIN failed–compilation aborted at C:strawberrycpanbuildIO-Socket-SSL-1.33
    -oiR25tbliblib/IO/Socket/SSL.pm line 18.
    Compilation failed in require at t/compatibility.t line 5.
    BEGIN failed–compilation aborted at t/compatibility.t line 5.
    t/compatibility.t ………. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/connectSSL-timeout.t ….. no testlib at t/connectSSL-timeout.t line 3.
    t/connectSSL-timeout.t ….. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/core.t ………………. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/core.t line 6.
    BEGIN failed–compilation aborted at t/core.t line 6.
    t/core.t ………………. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/dhe.t ……………….. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/dhe.t line 11.
    BEGIN failed–compilation aborted at t/dhe.t line 11.
    t/dhe.t ……………….. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/inet6.t ……………… Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/inet6.t line 5.
    BEGIN failed–compilation aborted at t/inet6.t line 5.
    t/inet6.t ……………… Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/memleak_bad_handshake.t .. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/memleak_bad_handshake.t line 6
    .
    BEGIN failed–compilation aborted at t/memleak_bad_handshake.t line 6.
    t/memleak_bad_handshake.t .. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/nonblock.t …………… Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/nonblock.t line 6.
    BEGIN failed–compilation aborted at t/nonblock.t line 6.
    t/nonblock.t …………… Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/readline.t …………… Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/readline.t line 14.
    BEGIN failed–compilation aborted at t/readline.t line 14.
    t/readline.t …………… Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/sessions.t …………… Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/sessions.t line 5.
    BEGIN failed–compilation aborted at t/sessions.t line 5.
    t/sessions.t …………… Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/start-stopssl.t ………. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at C:strawberrycpanbuildIO-Sock
    et-SSL-1.33-oiR25tbliblib/IO/Socket/SSL.pm line 18.
    BEGIN failed–compilation aborted at C:strawberrycpanbuildIO-Socket-SSL-1.33
    -oiR25tbliblib/IO/Socket/SSL.pm line 18.
    Compilation failed in require at t/start-stopssl.t line 4.
    BEGIN failed–compilation aborted at t/start-stopssl.t line 4.
    t/start-stopssl.t ………. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/startssl.t …………… Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/startssl.t line 6.
    BEGIN failed–compilation aborted at t/startssl.t line 6.
    t/startssl.t …………… Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/sysread_write.t ………. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/sysread_write.t line 9.
    BEGIN failed–compilation aborted at t/sysread_write.t line 9.
    t/sysread_write.t ………. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run
    t/verify_hostname.t …….. Can’t locate Net/SSLeay.pm in @INC (@INC contains:
    C:strawberrycpanbuildIO-Socket-SSL-1.33-oiR25tbliblib C:strawberrycpanb
    uildIO-Socket-SSL-1.33-oiR25tblibarch C:/strawberry/perl/site/lib C:/strawber
    ry/perl/vendor/lib C:/strawberry/perl/lib .) at t/verify_hostname.t line 4.
    BEGIN failed–compilation aborted at t/verify_hostname.t line 4.
    t/verify_hostname.t …….. Dubious, test returned 2 (wstat 512, 0×200)
    No subtests run

    Test Summary Report
    ——————-
    t/01loadmodule.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: Bad plan. You planned 4 tests but ran 0.
    t/02settings.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/acceptSSL-timeout.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/auto_verify_hostname.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/cert_no_file.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/compatibility.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/connectSSL-timeout.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/core.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/dhe.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/inet6.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/memleak_bad_handshake.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/nonblock.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/readline.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/sessions.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/start-stopssl.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/startssl.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/sysread_write.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/verify_hostname.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    Files=18, Tests=0, 1 wallclock secs ( 0.13 usr + 0.14 sys = 0.27 CPU)
    Result: FAIL
    Failed 18/18 test programs. 0/0 subtests failed.
    dmake.EXE: Error code 130, while making ‘test_dynamic’
    SULLR/IO-Socket-SSL-1.33.tar.gz
    C:strawberrycbindmake.EXE test — NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
    reports SULLR/IO-Socket-SSL-1.33.tar.gz
    Running make install
    make test had returned bad status, won’t install without force
    Failed during this command:
    FLORA/Net-SSLeay-1.36.tar.gz : make_test NO
    SULLR/IO-Socket-SSL-1.33.tar.gz : make_test NO

    cpan> force cmd

    cpan> force cmd FLORANet-SSLeay-1.36.tar.gz
    Warning: Cannot cmd FLORANet-SSLeay-1.36.tar.gz, don’t know what it is.
    Try the command

    i /FLORANet-SSLeay-1.36.tar.gz/

    to find objects with matching identifiers.

    cpan> force cmd FLORA/Net-SSLeay-1.36.tar.gz
    Panic: obj[--- !!perl/hash:CPAN::Distribution
    CALLED_FOR: F/FL/FLORA/Net-SSLeay-1.36.tar.gz
    CHECKSUM_STATUS: OK
    CONTAINSMODS:
    Net::SSLeay: 1
    Net::SSLeay::Handle: 1
    ID: F/FL/FLORA/Net-SSLeay-1.36.tar.gz
    RO:
    CPAN_USERID: FLORA
    CPAN_VERSION: 1.36
    DESCRIPTION: Secure Socket Layer (based on OpenSSL)
    archived: tar
    build_dir: C:strawberrycpanbuildNet-SSLeay-1.36-8EOueU
    incommandcolor: 0
    localfile: C:strawberrycpansourcesauthorsidFFLFLORANet-SSLeay-1.36.tar.
    gz
    make: !!perl/hash:CPAN::Distrostatus
    COMMANDID: 2
    FAILED: ''
    TEXT: YES
    TIME: 1284132976
    make_test: !!perl/hash:CPAN::Distrostatus
    COMMANDID: 2
    FAILED: 1
    TEXT: NO
    TIME: 1284133034
    negative_prefs_cache: 2
    prefs: {}
    prereq_pm:
    build_requires: ~
    requires:
    ExtUtils::MakeMaker: 6.42
    MIME::Base64: 0
    reqtype: r
    unwrapped: !!perl/hash:CPAN::Distrostatus
    COMMANDID: 2
    FAILED: ''
    TEXT: YES
    TIME: 1284132937
    writemakefile: !!perl/hash:CPAN::Distrostatus
    COMMANDID: 2
    FAILED: ''
    TEXT: YES
    TIME: 1284132951
    ] cannot meth[cmd]

    cpan> fforce cmd FLORA/Net-SSLeay-1.36.tar.gz
    Panic: obj[--- !!perl/hash:CPAN::Distribution
    CALLED_FOR: F/FL/FLORA/Net-SSLeay-1.36.tar.gz
    CONTAINSMODS:
    Net::SSLeay: 1
    Net::SSLeay::Handle: 1
    ID: F/FL/FLORA/Net-SSLeay-1.36.tar.gz
    RO:
    CPAN_USERID: FLORA
    CPAN_VERSION: 1.36
    DESCRIPTION: Secure Socket Layer (based on OpenSSL)
    incommandcolor: 0
    negative_prefs_cache: 2
    ] cannot meth[cmd]

    cpan>

    pls help me…

  85. #86 by vyompv on September 12, 2010 - 8:55 pm

    Jazz…
    From the output what you have pasted i understand that you have already downloaded and now it tries to install it; is it so? Was the output you pasted is it complete one?

    I have not myself tried in Windows 7 but i searched in the strawberry the issues regarding IO::Socket is solved from the version above Strawberry perl 5.10.
    Download the latest perl [choose the correct one while downloading]. I have not tried even the 64 bit version. But i think none should have a problem.

    Can you do a fresh installation ? uninstall Strawberry and then remove [manually] all the folders connected with Strawberry. [Search and find out the folders]. Make sure you delete all the folders connected with it mainly the place wher you have installed the folder. I hope you have downloaded the latest perl 5.12.1.0.

    When you install any of the module it should first download the module from internet and then try to install. All the modules will be downloaded from internet and installed. All the modules will be installed smoothly, make sure you dont make mistake while typing. Also install the modules in order.

    All the best. If still unable to do so and you are in a need to find invisible users then search internet with a better keywords.

  86. #87 by shanmukh on September 23, 2010 - 4:49 pm

    could u pls help in the error. all installation
    are successfull

    Use of uninitialized value $args{“file”} in lc at C:/strawberry/perl/site/lib/Ne
    t/XMPP/Debug.pm line 154.
    Use of uninitialized value $ENV{“HOME”} in concatenation (.) or string at invi.p
    l line 209.
    cannot read /.sendxmpprc: No such file or directory

  87. #88 by ssh on September 24, 2010 - 12:49 am

    Hi, Im having a little issue withe the ssl side of things:
    # perl invi.pl bla bla
    Username:bla
    Invalid or unreadable path specified for ssl_ca_path. at /usr/local/share/perl/5.10.0/XML/Stream.pm line 753.

    how can i configure the ssl_ca_path?

    thanks
    ssh

  88. #89 by archit- the devil on September 28, 2010 - 4:16 am

    with the gr8 help of person (on commnt no #39) i reached almost up to the end
    but when i gave command ” perl invi.pl ” the following error occured-

    cant locate object method “perl” via pacakage “MakeFile” (perhaps to forget to load “MakeFile” ?) at invi.pl line 1.

    i am using windows 7.

    help & regards !!

  89. #90 by Adhi on September 30, 2010 - 11:17 am

    IM receiving the below error while executing type->perl invi.pl

    syntax error at invi.pl line 2, near “02″
    “use” not allowed in expression at invi.pl line 3, near “03 ”
    “use” not allowed in expression at invi.pl line 4, near “04 ”
    Illegal octal digit ’8′ at invi.pl line 8, at end of line
    Illegal octal digit ’9′ at invi.pl line 9, at end of line
    syntax error at invi.pl line 32, near “32 }”
    syntax error at invi.pl line 46, near “46 }”
    syntax error at invi.pl line 50, near “50 }”
    Illegal declaration of subroutine main::presence_ch at invi.pl line 52.

  90. #91 by Srijith R on September 30, 2010 - 11:33 am

    Are you sure perl is working fine? seems to be issue with perl not working. Just verify that

  91. #92 by vyompv on October 1, 2010 - 8:48 pm

    shanmukh, archit- the devil and others .. I have written and commented here from scrap to the end how to check teh modules whether they are installed properly of not and also answered many issues in the comment for installing and running this program in windows xp.
    I never got an error while installing nor anytime. Please make sure to read all my comments written here [by vyompv] for windows perl. There are 2 pages for this comment, please make sure you read all. I have written how to check whether your installation was proper or not and make sure you have tried it.
    In no way you will find this installation failure, only thing you need to try bit harder. Happy installation in windows and running this program :)

  92. #93 by Gautam on October 4, 2010 - 8:21 pm

    Hi Srijith,

    Beautfiul piece of code. Thanks to you and Vyom. This is a nice tool to play around with.

    I’ve covered you both on my blog:

    http://www.techbuzz.in/how-can-i-check-find-invisible-users-in-gtalk-gmail-chat-google-talk.php

    Cheers,

  93. #94 by vyompv on October 8, 2010 - 10:31 pm

    Hi Srijith
    :( This code cracked google fixed it. Any other way ? :)

  94. #95 by mehul on October 9, 2010 - 5:11 am

    hey i tried the code and everything and it worked but i can’t see any buddy in the invisible list.. i asked my friend to go invisible and then i tried it but i didn’t got any feeds…or info saying that my buddy was invisilbe.. do u have any idea..

  95. #96 by akshat on October 11, 2010 - 11:52 am

    Now, this script is not working since last 5 days…..:(

  96. #97 by Srijith R on October 11, 2010 - 11:54 am

    The script doesn’t seem to work with Google fixing the loophole i used to get invisible users. I will try finding new method to get the same. Keep checking here for any updates

  97. #98 by Kiran on October 12, 2010 - 3:25 am

    Hi Srijith, Vyompv
    me too getting an error like: Authorization failed.
    could you pls send me the file, script in notepad (invi.pl)

  98. #99 by vjjoe on October 19, 2010 - 12:19 am

    Hi Srijith, Any update on this? Have you figured out a way?Thanks!

  99. #100 by max on October 22, 2010 - 3:53 am

    hey do u think there is any chance of getting this code working again ????

  100. #101 by dolly on October 23, 2010 - 1:16 am

    hi srijith and vyompv
    hope u will fix it soon…plz help

  101. #102 by Srijith R on October 24, 2010 - 12:45 pm

    Hey I dont see a way to fix it currently. There is not distinction between offline and invisible that i can notice currently. I will try to get a method.

  102. #103 by vjjoe on October 28, 2010 - 5:53 am

    hey, don’t invisible user need to constantly ping everyone to get their status? or it is the available user who broadcast their status to the world? if it is the first case,is there a way to find out the users who keep on pinging you but not visible? i am not sure if that make sense, i am not technical. thanks

  103. #104 by Yogesh on November 4, 2010 - 11:16 am

    Well, look at the bright side guys .. you made GOOGLE change THEIR code :)
    Good job ;)
    Cheers

  104. #105 by a2l on November 4, 2010 - 12:17 pm

    hii srijith,

    wat vjjoe said is correct… right..?? so there must b some way…. hope you ll find it soon…. :-)

  105. #106 by a2l on November 5, 2010 - 6:13 am

    Hey wat I hve understood is presence->GetType() is not returning any value….. so wat??? ;)

  106. #107 by dolly on November 8, 2010 - 9:41 pm

    hey what i hv seen is it is working for ids logged from orkut but not gmail…it can help u may b

  107. #108 by dolly on November 8, 2010 - 9:48 pm

    and here is a python script may b its using some other hole in security , don’t know working or not ..

    http://securityoverride.com/forum/viewthread.php?thread_id=692&rowstart=0

  108. #109 by vyompv on November 14, 2010 - 2:07 pm

    HI Srijith and others

    There is one final way to find invisible users on gmail. Check out this new way.

    http://vyompvblog.blogspot.com/2010/06/find-invisible-users-of-gtalk-gmail.html

    Check out before it gets patched by Google.

  109. #110 by Vijay on December 11, 2010 - 12:38 pm

    hey, thanks. Srijith & vyompv
    by the way wats ur age guys ?

    • #111 by Srijith R on December 13, 2010 - 8:18 am

      Why does it matter?

  110. #112 by Saurabh on March 27, 2011 - 4:46 am

    Hi,

    After putting invi.pl username password

    i m getting this

    sendxmpp version 0.0.8, Copyright (c) 2004,2005 Dirk-Jan C. Binnema
    usage: sendxmpp [options]
    or refer to the the sendxmpp manpage

    How will i get the information?? Please help sir..

  111. #113 by gargi on July 4, 2011 - 5:35 pm

    Hi. I have followed all stpes mentioned in #39. but when i enter my username it not type anything after USername field. but it gives “ERROR: Authorization failed” error and my username is entered in after path name where we typed perl invi.pl. Can anyone please help me to solve this error and find invisible person?

    • #114 by Srijith R on July 5, 2011 - 8:59 am

      I can help you solve the authentication issue but still the script doesn’t show invisible users now. Google has changed the way it notifies the invisible users. I need to figure out a new way to find invisible users.

  112. #115 by Harshdeep on August 9, 2011 - 6:37 pm

    Hello, I checked out the #39 comment. But didn’t get it. how to install those packages on windows. install is not recognized as command by windows??

    Can you please tell me how to do the same..
    Thanks in advance.

  113. #116 by Harshdeep on August 9, 2011 - 7:46 pm

    ERROR: XMPP connection failed.
    (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

    • #117 by Srijith R on August 10, 2011 - 8:12 am

      The Way google used XMPP changed. I need to change the script to work on the changes

  114. #118 by RJ on August 23, 2011 - 2:53 am

    any update on the new version of the script??or any other way to find invisible users in gmail?

  115. #119 by Cait on October 13, 2011 - 2:34 am

    I read about your script to find invisible users in gmail. Were you able to update it?

    Thanks,
    Caity

    • #120 by Srijith R on October 13, 2011 - 2:53 am

      Hi Cait,
      I don’t see there is a difference in the messages send from google for invisible vs offline. Currently I don’t see a method. But will post one as soon as I find another way to get it.

  116. #121 by Ravi on November 11, 2011 - 1:25 pm

    Hi Srijith R,

    first i thank you for your excellent work.
    Every thing working fine, it logs in, but its not displaying anything after showing the message “Invisible users: ”
    and returing back to cmd path i am running on win xp.

    Pls reply if i am doing any mistake.

  117. #122 by Arun on November 18, 2011 - 8:11 pm

    Ahh.. I’m not patient enough to work this much! :D
    Is there any workaround without manually using this script but using some clients like empathy?

    For finding the people who have blocked us there is a trick using empathy! right?

  118. #123 by Arun on November 18, 2011 - 8:14 pm

    Also one more thing sreejith, now I think facebook is also using XMPP for its chat!
    So may be you will be able to make a similar thing for it ! :)

  119. #124 by Mohan on November 26, 2011 - 7:35 pm

    Hi, I’m able to run the script successfully in winXP. But I’m not seeing Invisible users list as expected.

  120. #125 by Kannan on December 1, 2011 - 8:40 pm

    I am getting the following error while installing
    IO::Socket::SSL

    the program can’t start because libeay32_.dll is missing from your computer.Try reinstalling the program to fix this problem.”

  121. #126 by STeve on December 5, 2011 - 8:29 pm

    Well I dont think there is a “smart” way now to do this. The only way is by the “go off record” and ping method. This is kinda silly.

    Anyway, the reason is.. when a person goes invisible google sets the presence info in its server (IQ format) with “invisible” attribute to true. But when it broadcasts the presence stanza it doesnt give out that info. It just gives whether the person is available or unavailable. and if available the status is also attached. (default and dnd (busy)).

    Ive tried this. Ive created a java code using smack to listen to presence changes of my contacts. and when when a contact goes invisible I get the “unavailable” presence packet only. And this info is stored on the server and hence even if the user is offline the presence info is available. So the user is effectively offline when they are invisible.

    But the google talk doc lies something. It says “when a user updates it presence the presence info is sent to all contacts “UNLESS” the user is invisible!! ”

    I thought I could use this. But when I listened to the server it seem to send presence info all the time. So theres no way as of now.

    But if someone can think outta the box we can crack this.

  122. #127 by Mangesh on January 16, 2012 - 11:47 am

    I tried it so many times but following error occurs:-

    “use” not allowed in expression at invi.pl line 2, at end of line
    syntax error at invi.pl line 2, near “use strict”
    BEGIN not safe after errors–compilation aborted at invi.pl line 4.

    • #128 by Srijith R on February 2, 2012 - 10:00 pm

      I think there is something wrong with your perl installation or how you run it. If “use strict” is the only line which gives an issue. You can remove that line. Its not essential to run the code.

  123. #129 by Pankaj on March 13, 2012 - 11:23 pm

    done same as instructed above in comment#39 on windows
    but giving error

    ERROR: Authorization failed: -

  124. #130 by a on May 28, 2012 - 10:42 pm

    This doesn’t work anymore (testing with my own two accounts).

  125. #131 by Lucio on March 28, 2014 - 7:53 am

    I am in fact delighted to glance at this webpage posts which carries lots of useful
    information, thanks for providing these kinds of data.

  126. #132 by Johnc184 on August 8, 2014 - 7:22 pm

    I just ought to tell you which you have written an exceptional and distinctive post that I really enjoyed reading. Im fascinated by how nicely you laid out your material and presented your views. Thank you. gddgcagfdbee

(will not be published)


  1. Invisible users – A pattern study « TUX
  2. Find if a user is invisible in Gtalk | TechnoSpeaks