This chapter will allow us to become familiar with certain advanced Python modules that are very handy when it comes to parameters such as response time, processing speed, interoperability, and sending data over the network. We will be looking at parallel processing in Python with the help of threads and processes. We will also read about establishing communication between processes with the help of IPC and subprocesses. After that, we will explore socket programming in Python and end by entering the domain of cybersecurity by implementing a reverse TCP shell. The following topics will be covered in this chapter:
- Multitasking with threads
- Multitasking with processes
- Subprocesses
- The basics of socket programming
- Implementing a reverse TCP shell with Python