Git Product home page Git Product logo

kmdscan's Introduction

komondorScan

一款自动化安全测试工具,感谢@AloneFire

komondorScan

poc开发

导入BasePOC,实现验证方法:verify函数
该函数返回:

  • 有bug返回true 及详情
  • 没有bug返回false
  • 异常判断返回true及详情

以测试banner信息为例:

#!coding-utf-8
from kmdpoc.base_poc import BasePOC
import requests

class Poc(BasePOC):
    def verify(self):
        header_server=requests.get(self.url).headers
        if "Server" in header_server.keys():
            if header_server['Server'].find("Tengine")==-1:
                return True,"THE banner of server is "+header_server['Server']
            else:
                return False
        else:
            return False


if __name__ == "__main__":
    print Poc("http://aex.tests.com").execute()

另注:本平台只限用于安全测试使用;切勿用于其它用途;如有法律责任,概不负责! #另脱敏 这里ip、数据库等信息都是瞎写的,大家按照自己实际情况填写

kmdscan's People

Contributors

like-water avatar semgrep-bot avatar

Stargazers

 avatar  avatar  avatar Bevis avatar

Watchers

James Cloos avatar  avatar Bevis avatar

kmdscan's Issues

请脱敏

config.py未脱敏,请脱敏,谢谢

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.