Earlier quoted context omitted.
Wanting to know how email worked and then stumbling on it being mentioned next to the relevant RFCs was my first exposure! You could easily check pop3 mail over telnet, by sending all the commands by hand. HELO! I then made my first email client, then an RFC later, and after browsing the web through telnet for a while, made my first web server!
Telnet was among my debugging tools for web applications. And sending an email without line editing felt much more exciting than a dedicated mail client. Just dig the remote MX, telnet to port 25 and do it by hand. Marvelous!
A list of fun destinations for telnet
81–90 of 115 posts
Re: A list of fun destinations for telnet
#82The Star Wars ASCII animation was how I learned telnet existed. Felt like discovering a secret passage in the internet. There's something pure about text-based interfaces. No loading spinners, no JavaScript frameworks, no cookie banners. Just text.
Wanting to know how email worked and then stumbling on it being mentioned next to the relevant RFCs was my first exposure! You could easily check pop3 mail over telnet, by sending all the commands by hand. HELO! I then made my first email client, then an RFC later, and after browsing the web through telnet for a while, made my first web server!
Re: A list of fun destinations for telnet
#83~/work/...> telnet towel.blinkenlights.nl zsh: command not found: telnet
/edit front page of google did this and it worked for me. Need to do a pip install telnetlib3
import telnetlib3
import sys
def simple_telnet_client(host, port=23):
"""
Connects to a telnet server and prints incoming data.
Compliant with RFC 854 (via telnetlib handling of NVTs).
"""
try:
# Initialize connection
print(f"Connecting to {host}:{port}...")
tn = telnetlib3.Telnet(host, port)
# Read and display output indefinitely until connection closes
while True:
# read_eager() reads data already available without blocking
data = tn.read_eager()
if data:
sys.stdout.write(data.decode('ascii', errors='ignore'))
sys.stdout.flush()
# Check if socket is closed
if tn.get_socket() is None:
break
except ConnectionRefusedError:
print("Connection refused.")
except Exception as e:
print(f"An error occurred: {e}")
finally:
if 'tn' in locals():
tn.close()
print("\nConnection closed.")
if __name__ == "__main__":
# Example usage:
# simple_telnet_client("telehack.com", 23)
# Replace with desired host
host = input("Enter host: ")
simple_telnet_client(host)Re: A list of fun destinations for telnet
#84Note that this is much more dangerous than visiting a website. ANSI escape sequences can seriously mess with your system, RCE included.
Note that this is much more dangerous than visiting a website. Are you being hyperbolic or do you seriously think the attack surface area of ANSI escape sequences is 'much more' than, say, Javascrpt?
I don't know the answer but if telnet can directly access the system that seems more dangerous irrespective of the attack surface.
Re: A list of fun destinations for telnet
#85Earlier quoted context omitted.
Wanting to know how email worked and then stumbling on it being mentioned next to the relevant RFCs was my first exposure! You could easily check pop3 mail over telnet, by sending all the commands by hand. HELO! I then made my first email client, then an RFC later, and after browsing the web through telnet for a while, made my first web server!
I hate to be that guy, but HELO/EHLO is smtp, not pop3
Re: A list of fun destinations for telnet
#86The Star Wars ASCII animation was how I learned telnet existed. Felt like discovering a secret passage in the internet. There's something pure about text-based interfaces. No loading spinners, no JavaScript frameworks, no cookie banners. Just text.
Wanting to know how email worked and then stumbling on it being mentioned next to the relevant RFCs was my first exposure! You could easily check pop3 mail over telnet, by sending all the commands by hand. HELO! I then made my first email client, then an RFC later, and after browsing the web through telnet for a while, made my first web server!
So, with the guy looking over my shoulder, I telnet to the email server, list his messages, and discover that there’s an email with an attachment that’s too big for Outlook to handle. Read some basic info from the message so he could confirm that deleting the message was fine - deleted the message, and Outlook worked again.
Dude was thrilled. Fun times.
Re: A list of fun destinations for telnet
#87WeatherUnderground shut its API down in 2018.
Re: A list of fun destinations for telnet
#88Any one got a good MUD to recommend?
Re: A list of fun destinations for telnet
#89https://cdn.preterhuman.net/texts/underground/hacking/INTERN...
Too bad mobile killed the dialtone.
Re: A list of fun destinations for telnet
#90The Star Wars ASCII animation was how I learned telnet existed. Felt like discovering a secret passage in the internet. There's something pure about text-based interfaces. No loading spinners, no JavaScript frameworks, no cookie banners. Just text.
[1] https://archive.org/details/unofficialguidet0000fadi_r0y3/pa...