Questions tagged [telnet]

Telnet is an old protocol for bidirectional interactive text-oriented communication with remote hosts via virtual terminals. It is defined in rfc854. On modern UNIX-like systems it is replaced with more secure and flexible SSH protocol.

Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communications facility using a virtual terminal connection. User data is interspersed in-band with Telnet control information in an 8-bit byte oriented data connection over the Transmission Control Protocol (TCP).

Shell example:

telnet website.com 80 # telnet to the website with port 80

Then HTTP methods can be executed like below

GET /index.html

More information at http://en.wikipedia.org/wiki/Telnet

2479 questions
0
votes
1 answer

HTTP telnet POST/GAE server question (SIMPLE STUFF)

I am playing with HTTP transfers, just trying to make something work. I have a GAE server and I'm pretty sure it's working properly because it renders when I go to it with my browser, but here is the python code anyway: import sys print…
startuprob
  • 1,917
  • 5
  • 30
  • 45
0
votes
1 answer

Telnet login and password failure from my command line

I am working on a node project, actually a tutorial on TCP Networking with the Net module. So, I am having issues connecting to telnet from my windows command line. When I connect to telnet using the command line, I get this. Welcome to Microsoft…
EMMANUEL EZEKA
  • 602
  • 5
  • 8
0
votes
3 answers

Telnet Connectionstate Query

I would like to know if there is any way we can see programatically if a telnet connection has been established. We use a telnet to authenticate against a firewall inside our domain, after we authenticated we can access the hosts behind the…
XikiryoX
  • 1,898
  • 1
  • 12
  • 33
0
votes
1 answer

Python telnet script with two login passwords input?

This is the first time I am using python so please help... :) This telnet script works fine for me if I know the correct password, but the router on 192.168.1.1 will sometimes boot up with the password: password1 and sometimes with the password:…
BoardID
  • 3
  • 2
0
votes
1 answer

TelnetClient (Apache Commons Net 3.7.2 API) connected solaris10 but can not load ~/.bash_profile

I use TelnetClient (Apache Commons Net 3.7.2 API) login to solaris10 but I found that ~/.bash_profile could not load in user's work environment. I think that Initial configuration file is ~/.profile in solaris10. But I need to use bash shell in…
Devin
  • 21
  • 2
0
votes
0 answers

Telnet sent unicode character badly

I tried to figure it out myself, but I don't have any idea why it's not working properly. I'm trying to send letter "ą" (U+0105, hex: c4 85) via telnet into my server application. I wrote example server using python and PHP scripts. As clients I…
offtza
  • 11
  • 2
0
votes
1 answer

How to make a Charging Battery Simulator (Android)?

I am using a Android Simulator called NoxPlayer. I want it to be on a battery charging mode ,as if I have a real cell phone connected to a USB charger.
0
votes
1 answer

TypeError: 'in while send cmd via python telnet

I tried to send ls / cmd via python telnet import telnetlib tel = telnetlib.Telnet('10.10.0.1'.'1234') tel.write('ls / ') But I got an error : if IAC in buffer: TypeError: 'in ' requires string as left operand, not bytes
MicrosoctCprog
  • 460
  • 1
  • 3
  • 23
0
votes
2 answers

telnetlib execution not responding and timing out

I've been trying to connect to a telnet service via telnetlib for a few hours now. I've been trying to use telnetlib to read content and interact with the remote service. I've been using this code for testing purposes (with Python version…
casimir
  • 511
  • 1
  • 4
  • 10
0
votes
1 answer

Telnet connect + Send Input + Get Output

I would like to connect telnet with either PowerShell or cmd. System.Diagnostics.ProcessStartInfo procStartInfo = new System.Diagnostics.ProcessStartInfo("cmd.exe", "/k " + "telnet 192.168.1.23 23"); …
AjmeraInfo
  • 506
  • 3
  • 10
  • 25
0
votes
2 answers

Error transporting binary data over ssh/telnet (even shell) in expect script

It seems like no one is maintaining this repo and this repo any more. Assuming I'd like to fetch data from remote with user/password auth automating in expect script, like the following: ps: I use sh to refer ssh/telnet connection $ expect -v expect…
fangxlmr
  • 21
  • 2
0
votes
1 answer

send() call only works for telnet in socket

I am using windows sockets with c++. In the following call I am trying to reply a message to the socket that just connected. I tried connecting using a dummy client in c++. It would connect but the recv() would not receive anything. Then I tried…
puru
  • 17
  • 6
0
votes
0 answers

Why curl returns different response from telnet from a web server

Hello I did run curl command and equal telnet command but response is different. I try to get HTTP HEADER response code from a web server. curl returns correct response, page indeed doesn't exist. But telnet with equal request return different…
0
votes
1 answer

Errors when running the Telnet_Login Module for Metasplot

I am trying to telnet into a VLE (virtual lab environment) for a project, but I keep running into the same errors. Each time I try to run the module, I get a "The following options failed to validate: USER_FILE, PASS_FILE. I followed the steps…
Roosterx86
  • 1
  • 1
  • 2
0
votes
0 answers

c#.net pass confirm operation in Telnet connection

I am writing a program with c# and .net core 3.1 which connecting to a UPS (Uninterruptible power supply) via Telnet connection. For Telnet connection I use codes from Quick tool : A minimalistic Telnet library - CodeProject . //create a new telnet…