From the course: Ethical Hacking: Denial of Service
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using Python to test denial of service
From the course: Ethical Hacking: Denial of Service
Using Python to test denial of service
- [Instructor] Torshammer is a denial of service testing tool written in Python. It's a little old now and it doesn't scale to quite the level of contemporary distributed denial of service attacks. But it's useful to take a look at how a denial of service tool is written. Now that this tool may cause a virus alert when you extract the files. Microsoft Defender will report it as a Python Dakkatoni tool with potentially unwanted behavior. I've extracted the main Torshammer Python file so let's take a look at it. At line four we have a description of the tool. It's a slow denial of service attack which focuses on using up target resources. It's got the ability to run as a hidden attack through the anonymizing Tor network and has been tested against various Apache Servers to determine the scale of packet generation necessary to cause a denial of service. At line 35, we can see that we have a number of different user agents…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.