Skip to content

Commit

Permalink
Update FindUrlAndRequest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed May 8, 2024
1 parent 94b4f7e commit 328c1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/knife/FindUrlAndRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public void findUrls(IHttpRequestResponse message) {
if (referUrl.toLowerCase().startsWith(siteBaseUrl.toLowerCase())) {
byte[] respBody = HelperPlus.getBody(false, item);
String body = new String(respBody);
body = TextUtils.decodeAll(body);
urls.addAll(UrlUtils.grepUrlsWithProtocol(body));
urls.addAll(UrlUtils.grepUrlPathNotStartWithSlashInQuotes(body));
urls.addAll(UrlUtils.grepUrlsInQuotes(body));
Expand All @@ -184,7 +185,6 @@ public void findUrls(IHttpRequestResponse message) {
}
}
}

};
new Thread(requestRunner).start();
}
Expand Down

0 comments on commit 328c1d8

Please sign in to comment.