{"id":15584291,"url":"https://github.com/ableinc/anyconnectvpncli","last_synced_at":"2025-03-29T08:44:53.585Z","repository":{"id":98807568,"uuid":"504579955","full_name":"ableinc/anyconnectvpncli","owner":"ableinc","description":"A developer work from home tool for connecting to your company's VPN using Cisco's AnyConnect Tool","archived":false,"fork":false,"pushed_at":"2022-09-22T12:51:52.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T23:31:27.080Z","etag":null,"topics":["cisco-anyconnect","cli-tool","developer-tool","vpn","vpn-client","work-from-home"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ableinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-17T15:13:24.000Z","updated_at":"2023-10-15T03:10:19.000Z","dependencies_parsed_at":"2023-05-25T12:45:17.063Z","dependency_job_id":null,"html_url":"https://github.com/ableinc/anyconnectvpncli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fanyconnectvpncli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fanyconnectvpncli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fanyconnectvpncli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fanyconnectvpncli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ableinc","download_url":"https://codeload.github.com/ableinc/anyconnectvpncli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246162117,"owners_count":20733355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cisco-anyconnect","cli-tool","developer-tool","vpn","vpn-client","work-from-home"],"created_at":"2024-10-02T20:40:37.063Z","updated_at":"2025-03-29T08:44:53.566Z","avatar_url":"https://github.com/ableinc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cisco's AnyConnect VPN CLI Tool\n\n**Developer Work From Home Tool!**\n\nAnyConnect is a VPN tool that many organizations use for their work computers. If you're like me and hate the process of waiting for the application to open, grabbing a security code (not required for everyone), waiting for the network to establish and blah blah blah, this tool can do all that from the command line.\n\n## How it works\n\nUsing a bash script with your credentials pre-filled, it will use AnyConnect's built-in CLI tool to connect to your company's VPN. You can modify this as you please.\n\n## Configuration (PLEASE READ FIRST)\n\nIf you do not want your password stored on your machine:\n\n1. Please uncomment lines 4 \u0026 5, then comment line 7 \u0026 8.\n\nIf you do not require a security code to login:\n\n1. Please comment out lines 3 \u0026 9 and uncomment line 10.\n\nMake sure to change \"[YOUR-VPN-HOST-NO-BRACKETS]\" to your VPN host on line 10.\n\n## How To Use\n\nRun in your terminal:\n\n```bash\nsh vpn.sh\n```\n\nThat's it!\n\n## Not sure you VPN host?\n\nRun this command in your terminal:\n\n```bash\nsh vpn.sh\n```\n\nThen type \"hosts\" when prompted. From there you'll get a list of available hosts. Please refer to the Configuration section above for implementation.\n\n## Changelog\n\n***v1.0.2***\n\nYour password must now be base64 encoded. This is done for security reasons, so that your password isn't sitting on your system in plain text. You can determine your the base64 string for your password by running this on your linux/unix system:\n```bash\necho 'YOUR-PASSWORD-HERE' | base64\n```\n\n***v1.0.1***\n\nIssue: Variable strings with \"%\" character.\n\nReason: printf is a shell built into Bash, similar to C printf(). printf uses special characters for string formatting. When a string contains a \"%\", that is not being used for formatting purposes, the printf command does not know how to handle it. Thus, requiring a specific format to instantiate the variable string.\n\nFix: Use the printf FORMAT [ARGUMENT] structure. i.e print \"%s\" $variable\n\n***v1.0.0***\n\nInitial release.\n\n## Add script to your PATH? \n\nThis Stackoverflow post will guide you step by step: [Add bash script to PATH](https://stackoverflow.com/questions/20054538/add-a-bash-script-to-path)\n\n\n## Want to collaborate?\n\nIf you want to collaborate on a code project, please [send me an email (click me)](mailto:douglas.jaylen.work@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fableinc%2Fanyconnectvpncli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fableinc%2Fanyconnectvpncli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fableinc%2Fanyconnectvpncli/lists"}