Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $7.07 Gift Card
Trade in
Kindle Edition
Read instantly on your iPad, PC, Mac, Android tablet or Kindle Fire
Buy Price: $26.24
Rent From: $12.70
 
 
 
More Buying Choices
Have one to sell? Sell yours here

Coding for Penetration Testers: Building Better Tools [Paperback]

by Jason Andress, Ryan Linn
3.7 out of 5 stars  See all reviews (6 customer reviews)

List Price: $39.95
Price: $27.62 & FREE Shipping on orders over $35. Details
You Save: $12.33 (31%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 8 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
 
Kindle Edition
Rent from
$26.24
$12.70
 
Paperback $27.62  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

October 7, 2011 1597497290 978-1597497299 1

Tools used for penetration testing are often purchased or downloaded from the Internet. Each tool is based on a programming language such as Perl, Python, or Ruby. If a penetration tester wants to extend, augment, or change the functionality of a tool to perform a test differently than the default configuration, the tester must know the basics of coding for the related programming language. Coding for Penetration Testers provides the reader with an understanding of the scripting languages that are commonly used when developing tools for penetration testing. It also guides the reader through specific examples of custom tool development and the situations where such tools might be used. While developing a better understanding of each language, the reader is guided through real-world scenarios and tool development that can be incorporated into a tester's toolkit.

  • Discusses the use of various scripting languages in penetration testing
  • Presents step-by-step instructions on how to build customized penetration testing tools using Perl, Ruby, Python, and other languages
  • Provides a primer on scripting including, but not limited to, Web scripting, scanner scripting, and exploitation scripting

Frequently Bought Together

Coding for Penetration Testers: Building Better Tools + Violent Python: A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers + Metasploit: The Penetration Tester's Guide
Price for all three: $87.10

Some of these items ship sooner than the others.

Buy the selected items together


Editorial Reviews

Review

"This book is definitely not for rookie coders, but rather a good starting point for people with a medium level of programming experience. It is also not suited well as a reference to quickly look things up in. But if what you're looking for is a very practical guide with tons of pointers to further (and recommended) reading material and exercises Coding for Penetration Testers delivers what it promises."--Computers and Security

"Penetration testing is a profession that requires the mastery of dozens of tools; every job poses challenges that require these tools to be mixed, matched, and automated. The master penetration tester not only excels at using his or her toolbox, but also expands it with custom scripts and unique programs to solve the challenge of the day. This book provides a solid introduction to custom scripting and tool development, using multiple languages, with a penetration tester's goals in mind. This background can transform penetration testing from a manual, often repetitive task, to an efficient process that is not just faster, but also more accurate and consistent across large engagements."--HD Moore, Metasploit Founder and CSO of Rapid7

"Penetration testing requires that the tester understand the target as much as possible, and know how to perform various attacks while being as efficient as possible. Having the skill set to create and use a variety of scripts increases the penetration tester's efficiency and elevates him or her from the script kiddie to the professional realm. Ryan Linn and Jason Andress have created a guide that explores and introduces the techniques that are necessary to build the scripts used during a test. No matter the platform, this book provides the information required to learn scripting and become a world-class penetration tester. This is definitely a book that will remain close at hand for every test I perform!"--Kevin Johnson, Senior Consultant, Secure Ideas

"At 175 pages, the book does not kill many trees, but does give the reader an overview of all of the key principles around information security.For those looking to get their feet wet in the deep waters of information security, The Basics of Information Security: Understanding the Fundamentals of InfoSec in Theory and Practice is a great place to start."--RSAConference.com

"Overall this is an excellent book, which offers some clear and effective tutorials on the different languages and on efficient and effective penetration testing. It's highly recommended for any testers who want to broaden their skills and move to the next level."--BCS.org

From the Back Cover

Tools used for penetration testing are often purchased or downloaded from the Internet. Each tool is based on a programming language such as Perl, Python, or Ruby. If a penetration tester wants to extend, augment, or change the functionality of a tool to perform a test differently than the default configuration, the tester must know the basics of coding for the related programming language. Coding for Penetration Testers provides the reader with an understanding of the scripting languages that are commonly used when developing tools for penetration testing. It also guides the reader through specific examples of custom tool development and the situations where such tools might be used. While developing a better understanding of each language, the reader is guided through real-world scenarios and tool development that can be incorporated into a tester's toolkit.

Product Details

  • Paperback: 320 pages
  • Publisher: Syngress; 1 edition (October 7, 2011)
  • Language: English
  • ISBN-10: 1597497290
  • ISBN-13: 978-1597497299
  • Product Dimensions: 9.1 x 7.4 x 0.9 inches
  • Shipping Weight: 1.3 pounds (View shipping rates and policies)
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #792,157 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

3.7 out of 5 stars
(6)
3.7 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
20 of 22 people found the following review helpful
2.0 out of 5 stars Huge disappointment December 1, 2011
Format:Paperback
I have to say this has been the biggest disappointment of all security-related books that I ever purchased (there were dozens). It should be named "A quick glance at a few scripting languages".

To give an example, Python is mentioned on 33 pages (that includes a few pages for scapy) where you'll be shown how to (hold your breath) send an ICMP packet. (I will not talk about PEP8 here).

To drill a bit further, the chapter about Python lists is about (wait for it) - bitwise operations. Lists are only mentioned as a way of storing data for the given example which shows how you can use Python to calculate net & broadcast address from a CIDR notation (why would you want to use lists for that?). There is no meaningful mention of list indexing or slicing.

The chapter about Python exceptions is just appaling.

There is no explanation of "why" anywhere, just "what" and a little bit of "how". Also, no hint on where to look for further information.

Real beginners might find this book interesting for getting a basic idea of how are scripting languages used (bash, Python, Perl, Ruby and PowerShell all get a really quick intro). But then they would get really confused towards the end of the book when they suddenly find authors throwing shellcode at vulnerable FTP server and using some terms that are mentioned very briefly: "EIP is called the Instruction pointer", "ESP points to stack area where you can see the stack", "as you can see, the EIP is now overwritten with 41414141 so the server is vulnerable". Is any beginner expected to understand this?

I'm really struggling to see who is the intended audience. It does not give any explanation to beginners and is way too shallow for any penetration tester.
Comment | 
Was this review helpful to you?
1.0 out of 5 stars Very Poorly Written and Edited March 14, 2014
By John M
Format:Paperback|Verified Purchase
Let me start by saying that this book is good IN THEORY. Each section starts out with an introduction/overview, then leads into deeper explanation and hands-on practice. However the book is too greatly flawed to deserve a purchase. The reasons being:

1) It is plagued with technical errors. Try the exercises in the Python section for example. One such exercise glaringly fails to use the string function when adding a string and an integer, forcing the reader to scratch their head as errors get thrown until they realize after googling and researching that you cannot add a string and an integer without proper usage of the syntax. For a beginner (the target of a book that is filled with beginner's exercises and explanations), this is unacceptable. I gave up on using it as an intro to scripting and purchased better books for each language.

2) The exercises and topics are horribly designed. Obviously space is an issue and the authors wanted to get through each language quickly. However, you don't accomplish this by cramming everything into a couple scripts, so the reader can barely decipher the subtle changes in the output. Also, for example, the section on bash scripts barely covers anything at all. I found an online guide withe more information on bash scripting in a single section than the whole treatment available in this book.

3) The book really doesn't cover much even when you consider how many topics they try to cover.

4) Kind of going off 2, this is a very poor intro to scripting. It is actually counter-productive as it neither provides a strong foundation nor builds on existing knowledge to do something different.
Read more ›
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Great book! October 22, 2012
Format:Paperback
This has been a really helpful book to me in learning to make some use of new scripting tools in more useful directions. I have a bit of python right now, but having examples of how these languages can be used across several different languages is really useful. Some of the book is still a bit over my head, but I sure feel like I'm starting to get there. Great read and some good excercises to make the examples even better. I'm hoping they'll do a second book and keep going with other languages.
Comment | 
Was this review helpful to you?
ARRAY(0xa4f6dcc0)


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category