I want to learn Pen Testing and already know Java and have been learning Python and am fairly comfortable with Python syntax. I also have some knowledge on Linux and TCP/IP. My questions are:

How can I learn to script tools in Python for Pen Testing as I have no idea where to begin, at present I have only used it to solve Top Coder problems for practice? What can I learn in Java which I can apply towards Pen Testing? What resources can I use to help me as an aspiring Pen Tester?

I don't want to be someone who uses someone else's tools and doesn't understand anything. I want to gain a firm foundation in Pen Testing especially the programming aspect.

  • 2
    Lesson 1start using the search button. This question has been asked an re-asked tons of times before. Dec 28, 2013 at 21:20
  • I tried to find information related to Python though what there was said was to learn someone else's tools like scrappy, I don't I'll learn anything like this as I need to learn to code my own tools and learn what to actually do. Dec 28, 2013 at 21:26
  • 1
    There are many published books on this subject. Look it up.
    – Franko
    Dec 28, 2013 at 21:35
  • Read this: digininja.org/projects/breaking_in_part_1.php
    – cutrightjm
    Dec 28, 2013 at 21:37
  • 1
    Books tutorials, ... Aside from that trying to reimplement scapy will take you several years. Dec 28, 2013 at 21:39

3 Answers 3


Look for security tube python scripting expert course. It starts with very basic and quickly ramps up to build complex scripts and tools for security


You can also learn a lot from this practical collection of Python Web Penetration Cookbook recipes - vast variety of samples from both defensive and attacking points of view:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .