Skip to content

DarkBit3s/tcp_client_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tcp_client_server

TCP client server is used inside a single computer or different computers to test there services. This is a python based tcp client program used to test for services, sending garbage data, fuzz, or other testing tasks. It is useful in when you don't have luxary of networking tools ot compilers and missing copy paste option or don't have internet connection. run the client code as: python tcp_client.py --help

NOTE

if you only test with this client program on localhost first start the APACHE server on your machine otherwise it wont work or if there is a service running on your localhost you can gic ethe port of that service to test.

service apache2 start

then run python script on this port. In this code we making assumption about socket that this connection given always works and server is always expecting us to send data back to us. TCP server code is same as tcp client code. TCP server is used when writing commands shell or crafting a proxy. python tcp_server.py

in practice case the TCP_client and tcp_server code run like this: python tcp_server.py then start client program python tcp_client.py -t 127.0.0.2 -p 80

you can change the ip and port in both program according to your need

About

simple tcp client server program based on python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages