4

Python Cybersecurity 101 — Build your own tools in 10 min

 2 years ago
source link: https://medium.com/vinsloev-academy/python-cybersecurity-101-build-your-own-tools-in-10-min-aa921b48712d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Python Cybersecurity 101 — Build your own tools in 10 min

Are you a Python programmer or have you just started your career path of becoming a Cybersecurity expert? Then this article can provide you with some quick wins. The video tutorials mentioned in this article are all coded using Python3 and includes areas such as Network port scanning, Network Geo location tracker and FTP annonymous scanning.

It’s however important to mention before we get further into the details of this article, that the tutorials presented should be used as educational tools only and never for offensive purposes.

For more stories by Vinsloev Academy, sign up as a member and support our work: https://vinsloev.medium.com/membership

And in case you’re new to Python I have made a 1.5h intro course, which will teach you the basics.

Python Cybersecurity — PortScanner

This is the first episode in the Python Cybersecurity For Beginners on Vinsloev Academy. In this tutorial we will build a simple Port Scanner using the Python Programming language. Port Scanner is an application designed to probe a server or host for open ports. Such an application may be used by administrators to verify security policies of their networks and by attackers to identify network services running on a host and exploit vulnerabilities.

Python Cybersecurity — Visual Network Tracker

In this video tutorial we will dive into Network Traffic visualization using the Python programming language, Wireshark and Google Maps. This tutorial covers the implementation steps needed to take a file of network traffic and convert it into a visual presentation using Google Maps.

Besides the Python code that will be created in this tutorial, several external resources and applications is needed to make it work.

GeoLiteCity

First of you will need to download the GeoLiteCity database as this will be used to translate a IP address into a Geo location(longitude & latitude). The database can be downloaded here: https://github.com/mbcc2006/GeoLiteCity-data

Wireshark

Besides the GeoLiteCity database you will also be needing the Wireshark application to be able to capture network traffic on your device. The captured traffic will act as input to our Python script and will be the data displayed at the end using Google Maps. The Wireshark application can be downloaded here: https://www.wireshark.org/ The basics of Wireshark is out of scope for this tutorial but if you wish to get a formal introduction to the application, then the following playlist on Vinsloev Academy will do the trick: https://www.youtube.com/watch?v=lb1Dw0elw0Q&list=PLR0bgGon_WTK9PHDzrlje4bqEh3p0NxxX

Python Cybersecurity — Anonymous FTP Scanner

This is the third video tutorial in the Python Cybersecurity For Beginners series on Vinsloev Academy. In this tutorial we will build a simple FTP Scanner using the Python Programming language. Anonymous FTP is a means by which archive sites allow general access to their archives of information. These sites create a special account called “anonymous”.

This concludes our quick Python cybersecurity article where three Python scripts/tools has been presented. If you’re interested in more then please take a look at our page here on medium or visit us on YouTube on the channel in which the above videos has been published.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK