logo       

Re: Media Icon - Registry Controllable?: msg#00515

network.openvpn.user

Subject: Re: Media Icon - Registry Controllable?

Hi John,

It ends up that I have a few scripts, but attached is the main one that
starts it up. Again, this is still growing as it currently does not do any
checks to see that OpenVPN liked the password, etc... Autoit is from :

http://www.autoitscript.com/AutoIt/

I packaged the install using ISTool so if you would like I could wrap
everything up. I won't send it here as it may not be wanted. Basically the
setup package from ISTool gets called from Autorun with /verysilent so the
user doesn't have to click anything. That spawns AutoIt with openvpn.aut
which asks via a dialog box for a password. Then, if a password is
entered, OpenVPN is installed (and the TAP device) if it isn't found, then
it is started with a config and cert off the CD where it passes the
password to the log screen. Then it hides this window.

Other small aut scripts are for shuting down OpenVPN and asking the user
if they wish to uninstall it, showing the logging screen and hiding the
logging screen.

Hope someone finds it usefull,
JES

On Mon, 28 Jun 2004, John Favorite wrote:

> I would be interested in seeing your script. You can email me
> directly.. or post it to the list if you like.
>
> -=John
>
> On Mon, 28 Jun 2004 21:51:25 -0300 (ADT), James MacLean
> <macleajb@xxxxxxxxxxx> wrote:
> >
> > Hi Folks,
> >
> > I've been trying Autoit3 to script a simple frontend to OpenVPN which,
> > among other things, hides the logging window once the password is passed
> > to the certificate. My current goal is to give the user a CD with the cert
> > on it, password protected and have them guard it like they do their own
> > keys. We do this with another port forwarding system using Zebedee.
> >
> > I currently have Autorun.inf get the user's password, install OpenVPN,
> > startit (not check if the password was entered correctly), and put a stop
> > icon on the desktop. It also asks the user if they wish to uninstall
> > OpenVPN when they disconnect. Crude, but might actually work :).
> >
> > I can pass the current script along if anyone is interested in possibly an
> > odd way to please users :).
> >
> > Anyway, I'd like to see the network icon be gone when users are not using
> > OpenVPN and have the network icon there when it is active. I know I can
> > manually go into the properties for the TAP driver and turn on the icon
> > when connected, but I am wondering if I can hide/show this media status
> > icon from a registry setting or something easy ;)?
> >
> > thanks,
> > JES
> > --
> > James B. MacLean macleajb@xxxxxxxxxxx
> > Department of Education
> > Nova Scotia, Canada
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by Black Hat Briefings & Training.
> > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> > digital self defense, top technical experts, no vendor pitches,
> > unmatched networking opportunities. Visit www.blackhat.com
> > _______________________________________________
> > Openvpn-users mailing list
> > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/openvpn-users
> >
>

--
James B. MacLean macleajb@xxxxxxxxxxx
Department of Education
Nova Scotia, Canada

Attachment: openvpn.aut
Description: Autoit3 script for OpenVPN

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise