{"id":34324756,"url":"https://github.com/knipknap/exscript","last_synced_at":"2026-04-08T13:31:20.353Z","repository":{"id":715174,"uuid":"362129","full_name":"knipknap/exscript","owner":"knipknap","description":"A Python module making Telnet and SSH easy","archived":false,"fork":false,"pushed_at":"2025-08-05T16:11:37.000Z","size":5369,"stargazers_count":375,"open_issues_count":46,"forks_count":131,"subscribers_count":46,"default_branch":"master","last_synced_at":"2026-03-26T01:33:50.614Z","etag":null,"topics":["automation","expect","exscript","network","networking","protocol","python","ssh","telnet"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knipknap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-11-05T15:34:34.000Z","updated_at":"2026-02-26T12:01:56.000Z","dependencies_parsed_at":"2023-02-14T10:17:21.118Z","dependency_job_id":"feb7b155-a6f0-495f-9192-9fa05ac83706","html_url":"https://github.com/knipknap/exscript","commit_stats":{"total_commits":1749,"total_committers":37,"mean_commits":"47.270270270270274","dds":0.3230417381360777,"last_synced_commit":"4158f1eb631e7f08746a69cf12c80b3a1e05f1e6"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/knipknap/exscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knipknap%2Fexscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knipknap%2Fexscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knipknap%2Fexscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knipknap%2Fexscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knipknap","download_url":"https://codeload.github.com/knipknap/exscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knipknap%2Fexscript/sbom","scorecard":{"id":564559,"data":{"date":"2025-08-11","repo":{"name":"github.com/knipknap/exscript","commit":"6fd60076e2b56875faf65ea63de272aba223d40b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":7,"reason":"Found 12/17 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Info: FSF or OSI recognized license: MIT License: COPYING:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42991 / GHSA-v3c5-jqr6-7qm8","Warn: Project is vulnerable to: PYSEC-2018-19 / GHSA-232r-66cg-79px","Warn: Project is vulnerable to: PYSEC-2008-8 / GHSA-wqmm-q65g-2hqr","Warn: Project is vulnerable to: PYSEC-2022-166","Warn: Project is vulnerable to: PYSEC-2024-3 / GHSA-j225-cvw7-qrx7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T14:37:39.518Z","repository_id":715174,"created_at":"2025-08-20T14:37:39.519Z","updated_at":"2025-08-20T14:37:39.519Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31558380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","expect","exscript","network","networking","protocol","python","ssh","telnet"],"created_at":"2025-12-17T15:55:22.933Z","updated_at":"2026-04-08T13:31:20.346Z","avatar_url":"https://github.com/knipknap.png","language":"Python","readme":"# Exscript\n\n[![Build Status](https://travis-ci.org/knipknap/exscript.svg?branch=master)](https://travis-ci.org/knipknap/exscript)\n[![Coverage Status](https://coveralls.io/repos/github/knipknap/exscript/badge.svg?branch=master)](https://coveralls.io/github/knipknap/exscript?branch=master)\n[![Code Climate](https://lima.codeclimate.com/github/knipknap/exscript/badges/gpa.svg)](https://lima.codeclimate.com/github/knipknap/exscript)\n[![Documentation Status](https://readthedocs.org/projects/exscript/badge/?version=latest)](http://exscript.readthedocs.io/en/latest/?badge=latest)\n[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)\n\n## Summary\n\nExscript is a Python module and a template processor for automating network \nconnections over protocols such as Telnet or SSH. We attempt to create the \nbest possible set of tools for working with Telnet and SSH.\n\nExscript also provides a set of tools and functions for sysadmins, that\nsimplify **regular expression matching**, **reporting** by email, **logging**,\nor **syslog** handling, **CSV parsing**, **ip address handling**,\n**template processing**, and many more.\n\nExscript may be used to automate sessions with routers from Cisco, Juniper, \nOneAccess, Huawei, or any others. If you want to configures machines \nrunning Linux/Unix, IOS, IOS-XR, JunOS, VRP, or any other operating system \nthat can be used with a terminal, Exscript is what you are looking for.\n\n## Do you need commercial support?\n\nExscript is supported by [Procedure 8](https://procedure8.com). Get in touch if you need anything!\n\n## Method 1: Using Exscript with Python\n\n### Simple\n\n```python\nfrom Exscript.protocols import SSH2\nfrom Exscript.util.interact import read_login\n\nconn = SSH2()\nconn.connect('localhost')\nconn.login(read_login())\nconn.execute('uname -a')\n```\n\n### Slightly more advanced (multi threaded)\n\n```python\nfrom Exscript.util.start import start\nfrom Exscript.util.file import get_hosts_from_file\nfrom Exscript.util.file import get_accounts_from_file\n\ndef do_something(job, host, conn):\n    conn.execute('uname -a')\n\naccounts = get_accounts_from_file('accounts.cfg')\nhosts = get_hosts_from_file('myhosts.txt')\nstart(accounts, hosts, do_something, max_threads=2)\n```\n\n## Method 2: Using the Exscript command line tool\n\nCreate a file named `test.exscript` with the following content:\n\n```\nuname -a\n```\n\nTo run this Exscript template, just start Exscript using the following command:\n\n```\nexscript test.exscript ssh://localhost\n```\n\nAwesome fact: Just replace `ssh://` by `telnet://` and it should still work with Telnet devices.\n\n\n## Documentation\n\nFull documentation is here:\n\nhttp://exscript.readthedocs.io\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknipknap%2Fexscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknipknap%2Fexscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknipknap%2Fexscript/lists"}