Giter VIP home page Giter VIP logo

burp_lib's Introduction

burp漏扫插件

介绍

burp应该是在座的诸位安全从业人员必用的测试工具,重放http/s请求包是burp最常用的功能.

xss案例:

<?php
    $domain=$_POST['domain'];
  if($domain){
	echo $domain;
  }else{
    $html='<form name="input" action="" method="post">
    domain: <input type="text" name="dasdas">
    <input type="text" name="domadsa112n">
    <input type="text" name="domain">
    <input type="submit" value="Submit">
    </form>';
    echo $html;
  }
?>

那么漏洞测试就是修改http请求包的参数.如sql、xss、命令执行测试,无非是在参数值后面追加payload,然后查看响应包判读是否存在漏洞,然而一个参数一个参数的测试真的很辛苦。
如图,手工测到最后一个参数,才发现xss

不如写个脚本遍历参数值,让程序自动加上漏洞检测payload并且重放。
点击触发扫描。

判断响应包http响应大小与返回内容是否存在关键字,依次来判断漏洞是否存在。

请自行修改漏洞检测用payload,与分析响应包的内容。

环境搭建

参考:Burpsuite插件的使用:https://www.freebuf.com/sectool/158005.html

win10/8/7/xp
python3.5+

pip install requests

设置绝对路径:
test_vul.py 25行
burp_vul_plugin 59行

1.下载http://www.jython.org/downloads.html Download Jython 2.7.0 - Standalone Jar 版
导入:

2.导入我的漏洞检测

然后就可以用了:

码个代码不容易,大爷大妈行行好,赏碗鸡煲翅吧,希望有钱人打赏,万分感谢。

burp_lib's People

Contributors

guimaizi avatar rasca11 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.