Learning Python Web Penetration Testing: Automate web penetration testing activities using Python
暫譯: 學習 Python 網頁滲透測試:使用 Python 自動化網頁滲透測試活動

Christian Martorella

  • 出版商: Packt Publishing
  • 出版日期: 2018-06-27
  • 售價: $1,390
  • 貴賓價: 9.5$1,321
  • 語言: 英文
  • 頁數: 138
  • 裝訂: Paperback
  • ISBN: 178953397X
  • ISBN-13: 9781789533972
  • 相關分類: Python程式語言Penetration-test
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Leverage the simplicity of Python and available libraries to build web security testing tools for your application

Key Features

  • 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

Book Description

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.

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

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.

Table of Contents

  1. Introduction to Web Application Penetration Testing
  2. Interacting with Web Applications
  3. Web Crawling with Scrapy – Mapping the Application
  4. Discovering resources
  5. Password Testing
  6. Detecting and Exploiting SQL Injection Vulnerabilities
  7. Intercepting HTTP Requests

商品描述(中文翻譯)

利用 Python 的簡單性和可用的庫來為您的應用程式構建網路安全測試工具

主要特點



  • 了解使用 Python 的網路應用程式滲透測試方法論和工具包

  • 使用 Scrapy 庫編寫網路爬蟲/蜘蛛

  • 通過自己創建腳本來檢測和利用 SQL 注入漏洞

書籍描述


網路滲透測試是使用工具和代碼攻擊網站或網路應用程式,以評估其對外部威脅的脆弱性。雖然有越來越多的複雜現成工具可用於掃描系統的漏洞,但使用 Python 使您能夠編寫特定於系統的腳本,或修改和擴展現有的測試工具,以發現、利用並記錄盡可能多的安全弱點。《學習 Python 網路滲透測試》將引導您了解網路應用程式滲透測試方法論,展示如何使用 Python 為過程中的每個活動編寫自己的工具。本書首先強調使用 Python 為網路應用程式滲透測試編寫自己工具的重要性。接著,您將學會如何使用 Python 與網路應用程式互動,了解 HTTP 請求的結構、URL、標頭和消息主體,然後創建一個腳本來執行請求,並解釋響應及其標頭。在閱讀本書的過程中,您將使用 Python 和 Scrapy 庫編寫一個網路爬蟲。本書還將幫助您開發一個工具,以在網路應用程式的不同部分執行暴力破解攻擊。然後,您將進一步了解檢測和利用 SQL 注入漏洞。到本書結束時,您將成功創建一個基於 mitmproxy 工具的 HTTP 代理。

您將學到什麼



  • 使用 Python 和 Requests 庫與網路應用程式互動

  • 創建一個基本的網路應用程式爬蟲並使其具備遞歸功能

  • 開發一個暴力破解工具以發現和列舉資源,如文件和目錄

  • 探索網路應用程式中常用的不同身份驗證方法

  • 使用 SQL 注入列舉數據庫中的表名

  • 了解網路應用程式滲透測試方法論和工具包

本書適合誰


《學習 Python 網路滲透測試》適合希望進入網路應用程式安全測試領域的網路開發人員。需要具備基本的 Python 知識。

目錄



  1. 網路應用程式滲透測試介紹

  2. 與網路應用程式互動

  3. 使用 Scrapy 進行網路爬蟲 - 應用程式映射

  4. 發現資源

  5. 密碼測試

  6. 檢測和利用 SQL 注入漏洞

  7. 攔截 HTTP 請求