unable to run custom scripts on windows
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先,使用文档中的 Python 示例在 Windows 10 上复现 rustscan -a ip --ulimit 500 --scripts custom,然后检查 C:/users/{username}/ 中的 .rustscan_scripts 文件夹和 .rustscan_scripts.toml。当自定义脚本被发现并成功运行,而不是产生文件未找到错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
when i try to run rustscan with custom scripts it throw error
"""rustscan -a ip --ulimit 500 --scripts custom
[!] Initiating scripts failed!
The system cannot find the file specified. (os error 2)"""
i run rustscan on windows 10 amd64
The .rustscan_scripts folder and .rustscan_scripts.toml are also present in C:/users/{username}/
The scripts i used is the example script provided in the docs
"""#!/usr/bin/python3
#tags = ["core_approved", "example",]
#developer = [ "example", "https://example.org" ]
#trigger_port = "80"
#call_format = "python3 {{script}} {{ip}} {{port}}"
Scriptfile parser stops at the first blank line with parsing.
This script will run itself as an argument with the system installed python interpreter, only scanning port 80.
Unused filed: ports_separator = ","
import sys
print('Python script ran with arguments', str(sys.argv))"""
- 主要语言
- Rust
- 星标
- 20.6k
- 派生
- 1.4k
- 平均合并
- 3 天 5 小时
- 30 天内合并 PR
- 16
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bee-san/RustScan 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
bee-san/RustScan#937 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 38/100
bee-san/RustScan#825 · 7 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
bee-san/RustScan#822 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
bee-san/RustScan#795 · 1 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
Support for port range input like `1-22,661-669,8888` for both CLI and library usage可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
bee-san/RustScan#780 · 4 条评论 ·
维护者通常 2 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
bytecodealliance/rustix#1703 ·
维护者通常 3 天内回复
-
bug discussion
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
farion1231/cc-switch#8298 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ajeetdsouza/zoxide#1323 ·
维护者通常 1 天内回复