|
-
May 20th, 2011, 11:48 AM
#1
[RESOLVED] Cisco VPN Client Group Secret
*EDIT
*I figured out the GroupPwd=
*For some reason SaveGroupPwd= was not in any of my pcf files.
*Just by chance since SaveUserPwd was in there I decided to add SaveGroupPwd=1 and it worked using GroupPwd and encrypted the password for me.
I'm not sure if this is the proper place for this, if not moderators please move it to the correct place.
Part of my C# project includes VPN connections.
Goal = No user Input
My program uses only 1 .pcf profile for all my VPN connections. It changes the info inside the pcf file.
There are 2 spots in the profile for the Group Secret
Code:
GroupPwd=
enc_GroupPwd=
I have written my cleartext secrets to GroupPwd and it keeps promting for the user to enter a Group Secret.
enc_GroupPwn is encrypted. If I create/edit my .pcf file within the vpn gui it will encrypt the password. So I copied it into my program that spits out its own .pcf file
This works and will not ask the user for the Secret.
Either - how can I make the GroupPwd= work with a cleartext password
or
Does anyone know what the algorithm is so I can have my app take the stored Secrets and spit out the proper encrypted Secret to place in the .pcf file.
Thanks in advance
Last edited by Omegadarkest; May 20th, 2011 at 12:48 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|