sidecar
sidecar copied to clipboard
Easily hook/call binary functions using ES6 class with TypeScript annotation (Powered by Frida)
Is Visual Studio needed for this module? I expect my program being run on a lite system. When installing wechaty-puppet-xp, it says Visual Studio is needed. And after investigation, I...
```javascript @Hook(agentTarget('hookLogoutEventCallback')) logoutEvent ( @ParamType('int32', 'U32') bySrv: number, ) { return Ret(bySrv) } ``` The `@ParamType` causes the following error: ``` D:\编程\github\wechat-hook\node_modules\sidecar\src\decorators\param-type\guard-param-type.ts:26 const designParamType = designParamTypeList[parameterIndex] ^ TypeError: Cannot read...
Is there any method to specify a process with the same name For example, i have two process with the same name `a.exe` Then how can i hook one of...
See: #36
In use, I wrote a sidecar subclass for use in a formal environment. ```js @Sidecar('chatbox') class Test extends SidecarBody { @Call(0x42) @RetType('pointer', 'Utf8String') testMethod( @ParamType('pointer', 'Utf8String') content: string, @ParamType('int') n:...
1. use ts to write agent 2. export function and hook in ts 3. use `frida-compile -s namespace` to make agent.js 4. use @Sidecar(target, agentScript, 'namespace') 5. run
Let's write agent with typescript !
Link to test code: https://github.com/binsee/sidecar-ts-test ## test for frida cli ```js binsee@bogon ~/CodeWork/test-sidecar main ± npm run cli > [email protected] cli > npm run cli:namespace >...
Need to support intellisense for agent-log file: `src/agent/templates/libs/log.cjs.d.ts`