FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
frida-python/examples/channels.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
/
channels.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (11 loc) · 318 Bytes
Breadcrumbs
frida-python
/
examples
/
channels.py
Copy path
File metadata and controls
16 lines (11 loc) · 318 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
import
frida
device
=
frida
.
get_usb_device
()
channel
=
device
.
open_channel
(
"tcp:21"
)
print
(
"Got channel:"
,
channel
)
welcome
=
channel
.
read
(
512
)
print
(
"Got welcome message:"
,
welcome
)
channel
.
write_all
(
b"CWD foo"
)
reply
=
channel
.
read
(
512
)
print
(
"Got reply:"
,
reply
)
channel
.
close
()
print
(
"Channel now:"
,
channel
)
Back
|
FazBrowse Home
|
New Git URL