Skip to content

Socket client/server debugging app with tkinter GUI

Notifications You must be signed in to change notification settings

Skjeggegubben/xtelnetPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xtelnetPy

Socket client/server debugging app with tkinter GUI

Nothing fancy, it is just a python script with GUI, able to act as a server or a client for data transfer.

A python replication I made of a tiny old windows program called "xtelnet.exe", which I've used over the years for quickly debugging all sorts of tcp socket connections and their protocols. Useful for reverse engineering old server/client software when porting to new or when making new compatible software.

If you examine a server software and you need to figure out how its protocol works, you can use xtelnet to connect to the server and see the output of what it sends, and you can type in what to send to test how server responds. Vice versa, if you have some client software you need to examine, you can set up xtelnet as a server and have the client software connect to it so you can see what it outputs and test responses.

Let's say, you want to examine what your BROWSER is actually sending, in stead of just trusting what it says it sent when you go in browser console to look at headers and request data. You can set up xtelnet to listen on a port, 8080 e.g., and in browser you try to open http://127.0.0.1:8080/ - then xtelnet shows you exactly what it received from browser!

Server mode takes only one client at a time, it will reject new connection attempt if already busy. Customizable prefix on sending string, and can be set to use suffix CR and/or LF on sending. The GUI has settings for increasing or decreasing font size, and for saving output to file.

In addition, xtelnet can also be used as a pure cleartext tcp "chat" between two parties where one acts as server and the other client, if both set their nickname as prefix the result will look chatt'ish.

How to run?
Open terminal and type:

python xtelnet.py

About

Socket client/server debugging app with tkinter GUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages