vfsfitvnm / frida-il2cpp-bridge

A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.
https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki
MIT License
1.06k stars 204 forks source link

How to create a http Request #351

Closed CGxyol closed 1 year ago

CGxyol commented 1 year ago

When using this project, I need to retrieve some data and send it to the server. However, I haven't found a solution to send HTTP requests. I've imported axios and fetch, but neither of them is working for sending requests. Is there a way to use JavaScript to send HTTP requests in this Frida project? Since it's not an Android environment, I can't use Java from Android. The operating system is Ubuntu. I hope someone can help me with this!

commonuserlol commented 1 year ago

find classes which represents http and use them

thinhbuzz commented 1 year ago

use http frida package (available on npm)

bluewave41 commented 1 year ago

If the dump has HTTP methods you can use those.

If not, Frida has an HTTP shim you can use with frida-compile: https://github.com/frida/gumjs-http

ESBuild also supports aliasing which I think I used to load the frida shims as frida compile has become pretty barebones and has lost support for numerous features I used.