Computer Networking and Python

Traditionally networking is associated with creating and using computer networks, with respect to hardware, protocols, including wired and wireless technology. Then there is Python, a modern programming language with enough simplicity and yet powerful enough to be used as a convenient tool for daily parsing tasks, performance management, and configuration. It is natural to try computer networking with python, as the language and the users are growing.

Let’s take some scenarios:

  1. An attacker

An attacker can do almost anything with simple network access, such as scan for hosts, inject packets, sniff data, remotely exploit hosts, and much more. But if you are an attacker who has worked your way into the deepest depths of your target, you may find yourself in a bit of a conundrum: you have no tools to execute network attacks. No netcat. No Wireshark. No compiler and no means to install one. However, you might be surprised to find that in many cases, you’ll find a Python installed and BINGO this is where your python skills in networking are handy.

2. A Network admin

Just reverse the case, Where you want to secure your systems or want to rebuild a network ,and you may find no tools but a installed python is what you have. BINGO!!!!!!!!

There are many modules available for python to help in networking, like socket , threading etc.

I will continue to write about programming in python for computer networks . Please follow me to learn and be able to do some cool stuff!!!!!!!!!!!!