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

[Feature Request] javaagent #75

Open
2 tasks done
unknowIfGuestInDream opened this issue Nov 15, 2022 · 12 comments
Open
2 tasks done

[Feature Request] javaagent #75

unknowIfGuestInDream opened this issue Nov 15, 2022 · 12 comments
Assignees
Labels
enhancement New feature or request

Comments

@unknowIfGuestInDream
Copy link
Collaborator

Checklist

  • I searched exising issues and no one else requests similar feature.
  • I think that 25%+ users are positive towards this feature.

Describe the feature

javaagent

Additional context

No response

@unknowIfGuestInDream unknowIfGuestInDream added the enhancement New feature or request label Nov 15, 2022
@unknowIfGuestInDream unknowIfGuestInDream self-assigned this Nov 15, 2022
@unknowIfGuestInDream
Copy link
Collaborator Author

unknowIfGuestInDream commented Nov 15, 2022

https://cloud.tencent.com/developer/article/1813421
https://www.cnblogs.com/rebeyond/p/9686213.html
https://www.cnblogs.com/rickiyang/p/11368932.html

Java 代理 (agent) 是在你的main方法前的一个拦截器 (interceptor),也就是在main方法执行之前,执行agent的代码。
引子 上周末,一个好兄弟找我说一个很重要的目标shell丢了,这个shell之前是通过一个S2代码执行的漏洞拿到的,现在漏洞还在,不过web目录全部不可写,问我有没有办法搞个webshell继续做内网
今天打算写一下 Javaagent,一开始我对它的概念也比较陌生,后来在别人口中听到 ,`bTrace Arthas`后面才逐渐了解到Java还提供了这么个工具。 JVM启动前静态Instrument

@unknowIfGuestInDream
Copy link
Collaborator Author

unknowIfGuestInDream commented Nov 15, 2022

https://github.com/liuzhengyang/javaagent-example
https://github.com/dingjs/javaagent
https://github.com/bjmashibing/ObjectSize

GitHub
javaagent example. Contribute to liuzhengyang/javaagent-example development by creating an account on GitHub.
GitHub
基于javaagent开发的APM工具,收集方法的执行次数和执行时间,定时输出成json格式的日志。 - GitHub - dingjs/javaagent: 基于javaagent开发的APM工具,收集方法的执行次数和执行时间,定时输出成json格式的日志。
GitHub
用于测试Ojbect大小的JavaAgent. Contribute to bjmashibing/ObjectSize development by creating an account on GitHub.

@unknowIfGuestInDream
Copy link
Collaborator Author

unknowIfGuestInDream commented Nov 15, 2022

https://github.com/ameizi/javaagent-samples

GitHub
java instrument samples. Contribute to ameizi/javaagent-samples development by creating an account on GitHub.

@unknowIfGuestInDream
Copy link
Collaborator Author

unknowIfGuestInDream commented Nov 15, 2022

https://www.jianshu.com/p/5c62b71fd882

简书
一. 前提 很早之前就了解到目前主流的APM开源框架如Pinpoint、SkyWalking等等都是通过java.lang.instrument包提供的字节码增强功能来实现的...

@unknowIfGuestInDream
Copy link
Collaborator Author

/cib

@DreamAwakenFateBroke DreamAwakenFateBroke self-assigned this Nov 21, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@unknowIfGuestInDream
Copy link
Collaborator Author

unknowIfGuestInDream commented Feb 15, 2023

https://github.com/IndustriousSnail/javassist-learn

GitHub
Javassist官方文档中文翻译. Contribute to IndustriousSnail/javassist-learn development by creating an account on GitHub.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2023
@unknowIfGuestInDream
Copy link
Collaborator Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants