{"id":31320698,"url":"https://github.com/mapp-john/xftpd","last_synced_at":"2025-09-25T16:59:05.710Z","repository":{"id":62589881,"uuid":"280000672","full_name":"mapp-john/xftpd","owner":"mapp-john","description":"SFTP/FTP Server class, that can be started/stopped programmatically","archived":false,"fork":false,"pushed_at":"2020-08-05T14:08:08.000Z","size":72,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T12:23:55.128Z","etag":null,"topics":["ftp-server","python","python3","sftp-server"],"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/mapp-john.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-15T23:09:39.000Z","updated_at":"2020-07-19T08:58:10.000Z","dependencies_parsed_at":"2022-11-03T17:02:19.211Z","dependency_job_id":null,"html_url":"https://github.com/mapp-john/xftpd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mapp-john/xftpd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-john%2Fxftpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-john%2Fxftpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-john%2Fxftpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-john%2Fxftpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapp-john","download_url":"https://codeload.github.com/mapp-john/xftpd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-john%2Fxftpd/sbom","scorecard":{"id":616932,"data":{"date":"2025-08-11","repo":{"name":"github.com/mapp-john/xftpd","commit":"fc3c0bfab960ad38fb00bde5e7b3abd498634a11"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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 5 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"}}]},"last_synced_at":"2025-08-21T04:14:33.507Z","repository_id":62589881,"created_at":"2025-08-21T04:14:33.507Z","updated_at":"2025-08-21T04:14:33.507Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276953990,"owners_count":25734618,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ftp-server","python","python3","sftp-server"],"created_at":"2025-09-25T16:59:00.542Z","updated_at":"2025-09-25T16:59:05.705Z","avatar_url":"https://github.com/mapp-john.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# __XFTPD__\n## _As a network automation engineer, do you get frustrated at not having instant access to an SFTP/FTP server when you need it most?!_\n# Well look no further!\n## _Simple, Secure, and Randomized..._\n## Right at your fingertips, and ready for API integrations, you have come to the right Python Module!\n# XFTPD Server\n## SFTP and FTP server Class that can be started and stopped programmatically\n## With randomized username, password, RSA keys\n## Ideal for on-demand SFTP and FTP and file transfers\n\n## SFTP Example\n```python\n\u003e\u003e\u003e from xftpd import sftp_server\n\u003e\u003e\u003e SFTP = sftp_server('/tmp',2222)\n\u003e\u003e\u003e SFTP.level = 'DEBUG'\n\u003e\u003e\u003e SFTP.start()\n\u003e\u003e\u003e print(SFTP.Addr)\n10.8.2.5\n\u003e\u003e\u003e print(SFTP.User)\nw7Kg0Fo4Xp6Xo9C\n\u003e\u003e\u003e print(SFTP.Pass)\nk2Ea0Ko4Rz6Gz3Z\n\u003e\u003e\u003e\n\u003e\u003e\u003e SFTP.stop()\n\u003e\u003e\u003e\n```\n\n## Example connecting to SFTP server\n```bash\n[root@CentOS]# sftp -P 2222 w7Kg0Fo4Xp6Xo9C@10.8.2.5\nThe authenticity of host '[10.8.2.5]:2222 ([10.8.2.5]:2222)' can't be established.\nRSA key fingerprint is SHA256:khgoV/GQIShUf4KWr2ZqvpI68KMUFRsedwx4E0hWgi0.\nRSA key fingerprint is MD5:d2:45:1b:d8:44:66:5f:66:b9:5e:8d:33:fb:01:0b:b1.\nAre you sure you want to continue connecting (yes/no)? yes\nWarning: Permanently added '[10.8.2.5]:2222' (RSA) to the list of known hosts.\nw7Kg0Fo4Xp6Xo9C@10.8.2.5's password:\nConnected to 10.8.2.5.\nsftp\u003e dir\nnew.py                       test.py\nsftp\u003e bye\n[root@CentOS]#\n```\n\n## FTP Example\n```python\nPython 3.7.4 (default, Sep  7 2019, 18:27:02)\n[Clang 10.0.1 (clang-1001.0.46.4)] on darwin\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e from xftpd import ftp_server\n\u003e\u003e\u003e FTP = ftp_server('/tmp')\n\u003e\u003e\u003e FTP.start()\n[I 2020-07-15 21:14:48] concurrency model: multi-thread\n[I 2020-07-15 21:14:48] masquerade (NAT) address: None\n[I 2020-07-15 21:14:48] passive ports: None\n\u003e\u003e\u003e print(SFTP.Addr)\n10.8.2.5\n\u003e\u003e\u003e print(FTP.User)\nh0Dy0Yq9Ks0Dm3T\n\u003e\u003e\u003e print(FTP.Pass)\nm5Sg2Yk5Mk8Fa4K\n\u003e\u003e\u003e\n\u003e\u003e\u003e FTP.stop()\n\u003e\u003e\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapp-john%2Fxftpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapp-john%2Fxftpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapp-john%2Fxftpd/lists"}