Code Monkey home page Code Monkey logo

routecheck-alpha's Introduction

2023年初我和@suizhibo完成了RouteCheck的雏形,目的是用于分析和提取源码中所有的访问路由。

磨磨唧唧一直没改完,先发布了一版适合扫国内java源码的。这个版本的限制是要求源码中采用的是包含/WEB-INF/的目录格式。

现在使用还是需要传递个-sp参数,来包含settings.yaml的路径。这个在后续的版本中会合并到jar中。 该配置文件主要用来定义需要用到的分析器、路由的输出位置和格式。

factAnalyzers:
  default: [ApacheCXFFactAnalyzer, ApacheWinkFactAnalyzer, GuiceServletFactAnalyzer,
            JerseyFactAnalyzer, RESTEasyFactAnalyzer, RestletFactAnalyzer, JAXRSFactAnalyzer,
            SpringBeanFactAnalyzer,SpringMVCAnnotationFactAnalyzer,
            StrutsXmlFactAnalyzer, WSDDFactAnalyzer, WSDLFactAnalyzer, WebXmlFactAnalyzer, SOAPUnionFactAnalyzer,
            StrutsActionFactAnalyzer, HttpServletFactAnalyzer,
            UnionWebServiceFactAnalyzer, UnionServletFactAnalyzer]
outPutDirectory: ./output
tempDirectory: ./output
reportType: all

Usage

.______        ______    __    __  .___________. _______   ______  __    __   _______   ______  __  ___ 
|   _  \      /  __  \  |  |  |  | |           ||   ____| /      ||  |  |  | |   ____| /      ||  |/  / 
|  |_)  |    |  |  |  | |  |  |  | `---|  |----`|  |__   |  ,----'|  |__|  | |  |__   |  ,----'|  '  /  
|      /     |  |  |  | |  |  |  |     |  |     |   __|  |  |     |   __   | |   __|  |  |     |    <   
|  |\  \----.|  `--'  | |  `--'  |     |  |     |  |____ |  `----.|  |  |  | |  |____ |  `----.|  .  \  
| _| `._____| \______/   \______/      |__|     |_______| \______||__|  |__| |_______| \______||__|\__\ 
                                                                                                        
usage: java -jar RouteCheck.jar [-cp <arg>] [-h] [-lp <arg>] [-o <arg>] [-pn
       <arg>] [-pp <arg>] [-sp <arg>]
 -cp,--class-path <arg>     类文件地址
 -h,--help                  打印命令行帮助信息
 -lp,--lib-path <arg>       库文件地址
 -o,--outPut <arg>          结果保存目录
 -pn,--project-name <arg>   项目名称
 -pp,--project-path <arg>   项目路径
 -sp,--setting-path <arg>   设置文件地址

Default Usage

 java -jar RouteCheck.jar -pp /Users/axisx/Download/project -sp /Users/axisx/Download/settings.yaml

Only -pp parameter is mandatory, All other parameters are optional. If -lp or -cp parameter is not specified, RouteCheck will automatically extract it from the project.

RouteCheck supports two output formats: HTML and JSON.

HTML html示例图片

JSON json示例图片

routecheck-alpha's People

Contributors

suizhibo avatar

Stargazers

Mingker avatar  avatar 56 avatar Piouslove avatar 于晓c avatar Toin avatar 7wkajk avatar shley avatar Zh1z3ven avatar  avatar 之乎者也 avatar 小晨曦 avatar  avatar  avatar pwddd avatar pysnow avatar r3d avatar Tom Tom avatar eee avatar  avatar osword avatar  avatar B0y1n4o4 avatar  avatar Tracy_梓朋 avatar an4er avatar  avatar Lou1s avatar A avatar  avatar lzhtony avatar LFY avatar Sndav Bai avatar  avatar Ye_Lang avatar hirak0 avatar Nday avatar  avatar leishi avatar GithubAutoBackupBot avatar vk avatar anday avatar 本光 avatar via avatar  avatar ph0ebus avatar nth347 avatar  avatar Shym avatar Tripse avatar ruler avatar OKAY_TC avatar  avatar Hah avatar xsshim avatar asdasd avatar  avatar  avatar 4ra1n avatar 1nhann avatar c0r1 avatar  avatar  avatar yuyan-sec avatar  avatar  avatar

Watchers

AxisX avatar

Forkers

4ra1n sec-fork

routecheck-alpha's Issues

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.