Skip to content

Commit eb427c5

Browse files
author
wuerror
committed
fix: del log in api.txt and update readme
1 parent 1e37ee2 commit eb427c5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/main/java/com/jbytescanner/engine/DiscoveryEngine.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)