File tree Expand file tree Collapse file tree
src/main/java/com/jbytescanner/engine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ java -jar JByteScanner-1.0-SNAPSHOT.jar /path
9494
9595若存在漏洞,结果会输出到result.sarif文件
9696
97+ 生成的示例请求会在generated_pocs.txt。(可能会有错误)
98+
9799** 交互式模式 (未实现):**
98100
99101``` bash
Original file line number Diff line number Diff line change @@ -58,13 +58,11 @@ public void run() {
5858 private void writeApiTxt (List <ApiRoute > routes ) {
5959 File apiFile = new File (workspaceDir , "api.txt" );
6060 List <String > lines = new ArrayList <>();
61- String timestamp = LocalDateTime .now ().format (DateTimeFormatter .ofPattern ("yyyy-MM-dd HH:mm:ss" ));
62- lines .add (String .format ("### Generated by JByteScanner at %s | TargetAppJars: %d | LibJars: %d ###" ,
63- timestamp , targetAppJars .size (), libJars .size ()));
6461
6562 lines .addAll (routes .stream ()
6663 .map (ApiRoute ::toString )
6764 .collect (Collectors .toList ()));
65+
6866
6967 try {
7068 Files .write (apiFile .toPath (), lines );
You can’t perform that action at this time.
0 commit comments