Sign in to follow this  
Followers 0
motosingh

sending pin on to VPN client

6 posts in this topic

Trying to send pin 1111 to VPN, I tried using send but didn't work.. Any clues how would I achieve this..

$profile='connect "profile 1" user test'
ShellExecute("vpnclient.exe",$profile,@ProgramFilesDir & "\Cisco systems\VPN client","open")
sleep(1000)
$activate_status = WinActivate(@ProgramFilesDir & "\Cisco systems\VPN client\vpnclient.exe")
send("1111(enter}")
sleep(1000)
ControlSend("[CLASS:WinConsoleClass", "","","y")
Sleep(1000)

post-72811-0-46494500-1339455865_thumb.g

Share this post


Link to post
Share on other sites



Any clues guys??

Share this post


Link to post
Share on other sites

Hi motosingh,

please wait at least 24 hours before bumping a thread.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

I'm sure the VPN client prevents to automatically enter the pin code. It's a security measure.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

I'm sure the VPN client prevents to automatically enter the pin code. It's a security measure.

I wrote a script for my Cisco VPN that works, but I think my Cisco is different from his. My class shows up as a QWidget, not a WinConsoleClass. Plus I wasn't sure if helping him would violate the rules (kind of on the verge of hacking because it enters the pin code).


RAID Calculator | Software Installer

The truth has been suppressed since the dawn of time.

Share this post


Link to post
Share on other sites

I'm as well not sure if this violates the rules (might be a gray area). But I'm sure I won't help the OP to bypass a safety function.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0