Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driver插件编译有报错 #22

Closed
shen771 opened this issue Mar 26, 2021 · 5 comments
Closed

driver插件编译有报错 #22

shen771 opened this issue Mar 26, 2021 · 5 comments

Comments

@shen771
Copy link

shen771 commented Mar 26, 2021

root@st-arch-sec-tool-1 (14:30:24) driver # pwd
/tmp/AgentSmith-HIDS-main/agent/driver
root@st-arch-sec-tool-1 (14:37:41) driver # ls
build.rs Cargo.toml LICENSE Makefile README.md README-zh_CN.md src template.toml

root@st-arch-sec-tool-1 (14:39:55) .cargo # pwd //cargo build 等待并巨慢的问题,改了源
/root/.cargo
root@st-arch-sec-tool-1 (14:39:51) .cargo # cat config
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"

root@st-arch-sec-tool-1 (14:30:09) driver # make build
cargo build --release
Updating git://mirrors.ustc.edu.cn/crates.io-index index
error: failed to get flexi_logger as a dependency of package plugin_builder v0.1.0 (/tmp/AgentSmith-HIDS-main/agent/support/rust/plugin_builder)
... which is depended on by driver v0.1.0 (/tmp/AgentSmith-HIDS-main/agent/driver)

Caused by:
failed to load source for dependency flexi_logger

Caused by:
Unable to update /tmp/AgentSmith-HIDS-main/agent/support/rust/flexi_logger

Caused by:
failed to read /tmp/AgentSmith-HIDS-main/agent/support/rust/flexi_logger/Cargo.toml

Caused by:
No such file or directory (os error 2)
make: *** [build] Error 101

@Percivalll
Copy link
Contributor

尝试git clone --recursive https://github.com/bytedance/AgentSmith-HIDS

@Percivalll
Copy link
Contributor

或者git submodule update --init

@Percivalll Percivalll pinned this issue Mar 30, 2021
@Percivalll
Copy link
Contributor

Percivalll commented Mar 30, 2021

Cloning into 'agent/support/rust/flexi_logger'...
The authenticity of host 'github.com (13.250.177.223)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,13.250.177.223' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:bytedance/flexi_logger.git' into submodule path 'agent/support/rust/flexi_logger' failed

如果遇到上述错误,请检查自己的GitHub身份配置:
https://docs.github.com/en/github/authenticating-to-github/error-permission-denied-publickey

@WinFoot
Copy link

WinFoot commented Mar 30, 2021

另一种简单粗暴的办法:
cd ./AgentSmith-HIDS/agent/support/rust
git clone https://github.com/bytedance/flexi_logger.git

@Percivalll
Copy link
Contributor

另一种简单粗暴的办法:
cd ./AgentSmith-HIDS/agent/support/rust
git clone https://github.com/bytedance/flexi_logger.git

yes,thx.

@EBWi11 EBWi11 unpinned this issue May 13, 2022
shenping-bd pushed a commit that referenced this issue Jun 20, 2022
shenping-bd pushed a commit that referenced this issue Jun 20, 2022
fix msg splitn fix #22 [skipped]

Closes #22

See merge request security/mongoose_driver!198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants