Skip to content

Commit

Permalink
修复一处dnslog超时时间过短的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
pmiaowu committed Jun 22, 2022
1 parent 8dbe6ca commit f850868
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.pmiaowu</groupId>
<artifactId>BurpFastJsonScan</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>

<dependencies>
<!-- https://mvnrepository.com/artifact/net.portswigger.burp.extender/burp-extender-api -->
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/burp/BurpExtender.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

public class BurpExtender implements IBurpExtender, IScannerCheck, IExtensionStateListener {
public static String NAME = "FastJsonScan";
public static String VERSION = "2.2.1";
public static String VERSION = "2.2.2";

private GlobalVariableReader globalVariableReader;

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/burp/DnsLogModule/ExtensionMethod/DnsLogCn.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ private void init() {
request.followRedirects(false);
request.header("User-Agent", userAgent);
request.header("Accept", "*/*");
request.readTimeout(3 * 1000);
request.connectTimeout(3 * 1000);
request.readTimeout(30 * 1000);
request.connectTimeout(30 * 1000);

int statusCode = request.code();
if (statusCode != 200) {
Expand Down

0 comments on commit f850868

Please sign in to comment.