hadesy

hadesy

V2EX member #239445, joined on 2017-07-10 10:04:17 +08:00
Today's activity rank 949
Per hadesy's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
hadesy's recent replies
但是无论哪家的效果都比不过 RDP ,只用做一个端口中转就好了
Oct 30
Replied to a topic by reiase › 分享创造 › pVisor:面向 Agent 的 docker
这个不就一个弹性 K8S 容器就能实现的吗
建议上 UDP SPA
Oct 30
Replied to a topic by yewsky › 程序员 › 来个佬一起订阅 gpt 啊
sub2api 会被风控的
二进制丢给了 claude 分析了一下,这个还是"中转",外面包了一层,服务端还是可以拿到用户的输入,并且这样的劣势太明显了,100ms 的 RTT 会在多次远程文件 I/O 上产生大量开销,而且对原生 EDIT 这些命令还会放大,之前也想过这样的架构,之前测试下来复杂项目会有 10 倍的开销,还是放弃了😂
另外说一句,这个架构下,装了这玩意,相当于服务端可以远程任意代码执行

本机终端 <──── TerminalStream ────> 远端 Claude Code 会话
│
服务端适配层
│
本机执行器 <──── CommandStream ─────> 命令代理
本机文件 <──── FileSyncStream ────> 文件副本或文件代理


service PtyService {
rpc TerminalStream (stream .coding.PtyClientMessage) returns (stream .coding.PtyServerMessage);
rpc AdminSpectateStream (.coding.AdminSpectateRequest) returns (stream .coding.PtyServerMessage);
}

service ExecService {
rpc CommandStream (stream .coding.ExecClientMessage) returns (stream .coding.ExecServerMessage);
}

service FileService {
rpc FileSyncStream (stream .coding.FileClientMessage) returns (stream .coding.FileServerMessage);
}

service SessionService {
rpc Handshake (.coding.HandshakeRequest) returns (.coding.HandshakeResponse);
rpc KeepAlive (.coding.Ping) returns (.coding.Pong);
rpc AdminTerminateSession (.coding.AdminTerminateRequest) returns (.coding.AdminTerminateResponse);
}

service AttachmentService {
rpc UploadAttachment (.coding.UploadAttachmentRequest) returns (.coding.UploadAttachmentResponse);
}
这种就跟之前利用 codex 长任务不会在额度归零主动中断一样,都属于滥用
这个 key 应该跟用户身份绑定的吧,泄露问题不大?
怎么感觉是 AI 写的,丢了 Java 的深度,又学不到 AI 的核心
简单看了一下,似乎防虚拟机是通过 my_vm_detect_plugin_plugin.dll 判断了几个数据,没有内核对抗?
private static void HookLocation(ClassLoader classLoader) throws ClassNotFoundException {
//坐标拾取系统 https://lbs.qq.com/getPoint/
double latitude = 0.0;
double longitude = 0.0;

Class clazz = classLoader.loadClass(
"com.tencent.map.geolocation.sapp.TencentLocationManager");
XposedHelpers.findAndHookMethod(clazz, "requestLocationUpdates",
"com.tencent.map.geolocation.sapp.TencentLocationRequest",
"com.tencent.map.geolocation.sapp.TencentLocationListener", new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
XposedBridge.log("requestLocationUpdates");
Class tencentLocationListenerClass = param.args[1].getClass();
XposedHelpers.findAndHookMethod(tencentLocationListenerClass,
"onLocationChanged",
"com.tencent.map.geolocation.sapp.TencentLocation",
int.class, String.class, new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
Class tencentLocation = param.args[0].getClass();
XposedHelpers.findAndHookMethod(tencentLocation,
"getLatitude",
new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
XposedBridge.log("requestLocationUpdates.getLatitude:"+ param.getResult());
param.setResult(latitude);
}
});
XposedHelpers.findAndHookMethod(tencentLocation,
"getLongitude",
new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
XposedBridge.log("requestLocationUpdates.getLongitude:"+ param.getResult());
param.setResult(longitude);
}
});


}
});
}
}
);
}
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2834 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 13:53 · PVG 21:53 · LAX 05:53 · JFK 08:53
♥ Do have faith in what you're doing.