O'Reilly logo

Penetration Testing with Perl by Swizec Teller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The GUI host discovery tool

To master the design of GUI applications, we can use a simple methodology, which first requires us to draw a layout onto paper or a fresh graphics document in a simple graphics editor, after gathering all the requirements for the input and output data. In Chapter 3, IEEE 802.3 Wired Network Mapping with Perl, we designed our own live host scanner, which used an ARP method to discover the hosts. Let's design a simple GUI using Perl/Tk, which has one button and one read-only text (ROText) widget for read-only text output from the application. The Scan button will be set to call the exact same code we have already written, but instead of printing the output to the terminal, we will be printing the output to the read-only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required