FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
frida-python/examples/rpc.py at main · feicong/frida-python · GitHub
feicong
/
frida-python
Public
forked from
frida/frida-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
frida-python
/
examples
/
rpc.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (18 loc) · 299 Bytes
Breadcrumbs
frida-python
/
examples
/
rpc.py
Copy path
File metadata and controls
19 lines (18 loc) · 299 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import
frida
session
=
frida
.
attach
(
"Twitter"
)
script
=
session
.
create_script
(
"""
\
rpc.exports = {
hello: function () {
return 'Hello';
},
failPlease: function () {
oops;
}
};
"""
)
script
.
load
()
api
=
script
.
exports_sync
print
(
"api.hello() =>"
,
api
.
hello
())
api
.
fail_please
()
Back
|
FazBrowse Home
|
New Git URL