Книга: Black Hat Python: Python Programming for Hackers and Pentesters
Назад: Acknowledgments
Дальше: 2. The Network: Basics

] I also recommend that you have some Windows VMs at the ready as well, including Windows XP and Windows 7, preferably 32-bit in both cases.

.[] Download and decompress the image, and then double-click it to make VMWare Player fire it up. The default username is root and the password is toor. This should get you into the full Kali desktop environment as shown in .

to build a GitHub-based trojan. Enter the following into your terminal:

]

You can grab WingIDE from , and I recommend that you install the trial so that you can experience firsthand some of the features available in the commercial version.

You can do your development on any platform you wish, but it might be best to install WingIDE on your Kali VM at least to get started. If you’ve followed along with my instructions so far, make sure that you download the 32-bit .deb package for WingIDE, and save it to your user directory. Then drop into a terminal and run the following:

.

, with your main code editing area in the top left and a set of tabs on the bottom.

.

.

The Stack Data tab is going to show us some useful information such as the state of any local and global variables at the moment that our breakpoint was hit. This allows you to debug more advanced code where you need to inspect variables during execution to track down bugs. If you click the drop-down bar, you can also see the current call stack, which tells you which function called the function you are currently inside. Have a look at to see the stack trace.

demonstrates how to inspect the converted_integer variable and change its value.

]

That’s all we need in order to begin developing code for the rest of this book. Don’t forget about making virtual machines ready as target machines for the Windows-specific chapters, but of course using native hardware should not present any issues.

Now let’s get into some actual fun!



[] You can download VMWare Player from .

[] For a “clickable” list of the links in this chapter, visit .

[] For a comparison of features among versions, visit .

[] If you already use an IDE that has comparable features to WingIDE, please send me an email or a tweet because I would love to hear about it!

Назад: Acknowledgments
Дальше: 2. The Network: Basics

© RuTLib.com 2015-2018