FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
frida-python/examples/bytecode.py at main · infinite9space/frida-python · GitHub
infinite9space
/
frida-python
Public
forked from
frida/frida-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
frida-python
/
examples
/
bytecode.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (17 loc) · 414 Bytes
Breadcrumbs
frida-python
/
examples
/
bytecode.py
Copy path
File metadata and controls
19 lines (17 loc) · 414 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
system_session
=
frida
.
attach
(
0
)
bytecode
=
system_session
.
compile_script
(
name
=
"bytecode-example"
,
source
=
"""
\
rpc.exports = {
listThreads: function () {
return Process.enumerateThreadsSync();
}
};
"""
,
)
session
=
frida
.
attach
(
"Twitter"
)
script
=
session
.
create_script_from_bytes
(
bytecode
)
script
.
load
()
api
=
script
.
exports_sync
print
(
"api.list_threads() =>"
,
api
.
list_threads
())
Back
|
FazBrowse Home
|
New Git URL