Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Basic Telnet Client
metalx1000
Jul 6th, 2013
612
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/usr/bin/python
import
telnetlib
HOST
=
"localhost"
tn
=
telnetlib
.
Telnet
(
HOST
,
"999"
)
tn.
write
(
"Hello World
\n
"
)
print
tn.
read_all
(
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
32 min ago | 4.86 KB
Untitled
33 min ago | 22.07 KB
Untitled
2 hours ago | 10.28 KB
Untitled
2 hours ago | 13.40 KB
Untitled
4 hours ago | 14.67 KB
Untitled
4 hours ago | 5.37 KB
OoT rando seed 5/1
5 hours ago | 68.67 KB
Untitled
6 hours ago | 14.93 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!