An open API service indexing awesome lists of open source software.

https://github.com/curt-park/ivanti-secure-access-autorun


https://github.com/curt-park/ivanti-secure-access-autorun

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Ivanti Secure Access Auto-Run
It's only available for MacOS.
For more OS supports, you need to add commands in `commands.go`.

## Prerequisites
- Manually login at the beginning.
- [Set up iPhone to get SMS messages on Mac](https://support.apple.com/ko-kr/guide/messages/icht8a28bb9a/mac)
- `chmod +x *.applescript`
- `security add-generic-password -s 'auto.vpn' -a '' -w 'YourPW'`
- How to remove: `security delete-generic-password -s 'auto.vpn'`
- `security add-generic-password -s 'auto.otp.sender' -a '' -w 'PhoneNumberWithoutBlank'`
- How to remove: `security delete-generic-password -s 'auto.otp.sender'`

## Build
```bash
go build
sudo mv ivanti-secure-access-autorun /usr/local/bin
```

## Run
```bash
ivanti-secure-access-autorun
```

## How it runs
1. activates "Ivanti Secure Access" window.
2. clicks the connection button of the second item in the list.
3. gets the vpn password, and enters it.
4. waits and fetches the OTP from SMS.
5. type the OTP.

## Limitations
It only can
- click the connection button (named "연결") of the second item in the list.
- parse the OTP from texts with a specific format: [OTP: NUMBER] ...