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

Linux无法上线 #221

Open
ghost opened this issue May 13, 2024 · 5 comments
Open

Linux无法上线 #221

ghost opened this issue May 13, 2024 · 5 comments

Comments

@ghost
Copy link

ghost commented May 13, 2024

CS4.5 Windows使用genCrossC2生成t_cc2.out,在Linux服务端运行报错
error]: [parse lib]: /tmp/.sys.rrcache.data: invalid ELF header!
[error]: [parse lib]: ./.sys.rrcache.data: invalid ELF header!
[error]: [parse symbol]: (null)!

生成的命令为genCrossC2.exe xxxx 8443 C:\Users\Unknown\Desktop\c.beacon_keys C:\Users\Unknown\Desktop\hsf.profile Linux x64 t_cc2.out raw

@ghost
Copy link
Author

ghost commented May 13, 2024

3.3 stable版本

@gloxec
Copy link
Owner

gloxec commented May 15, 2024

genCrossC2.exe xxxx 8443 C:\Users\Unknown\Desktop\c.beacon_keys C:\Users\Unknown\Desktop\hsf.profile Linux x64 t_cc2.out raw

使用c2profile自动解析时,应当在自定义协议库参数处详细指定 <自定义协议库>;<底层配置>;<c2profile>

"rebind.so" - 自定义协议库
"rebind.so;config.ini" - 自定义协议库 + 底层配置
";;c2profile.profile" - c2profile自解析
";config.ini;c2profile.profile" - 底层配置 + c2profile自解析

genCrossC2.exe ... ";;C:\Users\Unknown\Desktop\hsf.profile" Linux x64 t_cc2.out raw

@ghost
Copy link
Author

ghost commented May 15, 2024

加了;;也试过了,也是同样的错

@gloxec
Copy link
Owner

gloxec commented May 15, 2024

c:\\Users\\...\\hsf.profile 这种呢?

@ghost
Copy link
Author

ghost commented May 15, 2024

我后面测下,需要重新搭建环境。谢谢。

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

1 participant