in reply to Detect logon ID from Browser
With the getpwuid command in Perl (or unix command line) you can get your login. I suppose the script could send this information in an encrypted signed hash as a cgi parameter to your server-side cgi program.
The information could be sent by having the client-side script open this composed URL in netscape. I sometimes use the following to open a picture in netscape.. probably this wouldn't be secure if you can read the source or replace it with your own script, so no guarantees. Also the URL would go out as cleartext if you are not running ssl.
cat /sbin/nsopen #!/usr/bin/perl $in = shift; $cmd = "netscape -remote \'openURL(" . $in . ")\'"; system $cmd;
Update: I was thinking that this was a closed environment where you are running the server and everyone is logged in to it already. Otherwise, as Zaxo mentioned this is probably not a snooper script you will be able to get people to install. Was thinking of X based gui clients for astronomy or the mysql gui. Maybe not applicable to what you want to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Detect logon ID from Browser
by TexasTess (Beadle) on May 16, 2002 at 08:07 UTC | |
by TexasTess (Beadle) on Jul 08, 2002 at 00:51 UTC |