Wednesday, 8 October 2025

Hacking Scripts in Python 3.

Writing Python scripts is an excellent exercise for learning this programming language.

... but.there's more to that as well, for hackers.


Sometimes tools are not available on attacked system, and even worse - we can't install these either.

But - as it happens often in practice, I read - if the target system has python interpreter, we can use our own scripts - we can use our own tools.

Here's list of some scripts that can be used in hacking - even if only as general ideas, to be enhanced and customized for our particular needs:

1. Introduction.
1.1. Hello World.

2. Basic Networking.
2.1. TCP Client,
2.2. TCP Server,
2.3. UDP Client,
2.4. UDP Server.

3. Webpage Scraping.
3.1. Words Count.

4. File Download/Upload.
4.1. File Download over HTTPS or over HTTP.

I'll try to keep the above list up-to-date, as I write more scripts.