万本电子书0元读

万本电子书0元读

顶部广告

Learning Python Web Penetration Testing电子书

售       价:¥

6人正在读 | 0人评论 9.8

作       者:Christian Martorella

出  版  社:Packt Publishing

出版时间:2018-06-27

字       数:12.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Leverage the simplicity of Python and available libraries to build web security testing tools for your application About This Book ? Understand the web application penetration testing methodology and toolkit using Python ? Write a web crawler/spider with the Scrapy library ? Detect and exploit SQL injection vulnerabilities by creating a script all by yourself Who This Book Is For Learning Python Web Penetration Testing is for web developers who want to step into the world of web application security testing. Basic knowledge of Python is necessary. What You Will Learn ? Interact with a web application using the Python and Requests libraries ? Create a basic web application crawler and make it recursive ? Develop a brute force tool to discover and enumerate resources such as files and directories ? Explore different authentication methods commonly used in web applications ? Enumerate table names from a database using SQL injection ? Understand the web application penetration testing methodology and toolkit In Detail Web penetration testing is the use of tools and code to attack a website or web app in order to assess its vulnerability to external threats. While there are an increasing number of sophisticated, ready-made tools to scan systems for vulnerabilities, the use of Python allows you to write system-specific scripts, or alter and extend existing testing tools to find, exploit, and record as many security weaknesses as possible. Learning Python Web Penetration Testing will walk you through the web application penetration testing methodology, showing you how to write your own tools with Python for each activity throughout the process. The book begins by emphasizing the importance of knowing how to write your own tools with Python for web application penetration testing. You will then learn to interact with a web application using Python, understand the anatomy of an HTTP request, URL, headers and message body, and later create a script to perform a request, and interpret the response and its headers. As you make your way through the book, you will write a web crawler using Python and the Scrappy library. The book will also help you to develop a tool to perform brute force attacks in different parts of the web application. You will then discover more on detecting and exploiting SQL injection vulnerabilities. By the end of this book, you will have successfully created an HTTP proxy based on the mitmproxy tool. Style and approach A easy-to-follow guide that will help you build different web application security testing tools. With each chapter building on the knowledge of the previous section, this book will help you to smartly assess the security needs of your apps.
目录展开

Title Page

Copyright and Credits

Learning Python Web Penetration Testing

Packt Upsell

Why subscribe?

PacktPub.com

Contributor

About the author

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

Introduction to Web Application Penetration Testing

Understanding the web application penetration testing process

Typical web application toolkit

HTTP Proxy

Crawlers and spiders

Vulnerability scanners

Brute forces/predictable resource locators

Specific task tools

Testing environment

Summary

Interacting with Web Applications

HTTP protocol basics

What is HTTP and how it works?

Anatomy of an HTTP request

HTTP headers

GET request

Interacting with a web app using the requests library

Requests library

Our first script

Setting headers

Analyzing HTTP responses

HTTP codes

Summary

Web Crawling with Scrapy – Mapping the Application

Web application mapping

Creating our own crawler/spider with Scrapy

Starting with Scrapy

Making our crawler recursive

Scraping interesting stuff

Summary

Resources Discovery

What is resource discovery?

Building our first BruteForcer

Analysing the results

Adding more information

Entering the hash of the response content

Taking screenshots of the findings

Summary

Password Testing

How password attacks work

Password cracking

Password policies and account locking

Our first password BruteForcer

Basic authentication

Creating the password cracker

Adding support for digest authentication

What is digest authentication?

Adding digest authentication to our script

Form-based authentication

Form-based authentication overview

Summary

Detecting and Exploiting SQL Injection Vulnerabilities

Introduction to SQL injection

SQLi versus blind SQLi

Detecting SQL injection issues

Methods for detecting SQLi

Automating the detection

Exploiting a SQL injection to extract data

What data can we extract with an SQLi?

Automating basic extractions

Advanced SQLi exploiting

Summary

Intercepting HTTP Requests

HTTP proxy anatomy

What is an HTTP proxy?

Why do we need a proxy?

Types of HTTP proxy

Introduction to mitmproxy

Why mitmproxy?

Manipulating HTTP requests

Inline scripts

Automating SQLi in mitmproxy

SQLi process

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部