Skip to content

Commit

Permalink
IPv6 decode対応もれ
Browse files Browse the repository at this point in the history
  • Loading branch information
isayan committed Jun 19, 2022
1 parent c31910f commit 1e2d138
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
Binary file modified release/BigIPDiscover-v2.0.jar
Binary file not shown.
6 changes: 2 additions & 4 deletions src/main/java/passive/signature/BigIPCookieTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,8 @@ private void btnDecryptActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FI
this.lblDecryptInfo.setText("");
String value = BigIPCookieScan.decrypt(this.txtEncrypt.getText());
if (value != null) {
if (IpUtil.isIPv4Valid(value)) {
this.lblDecryptInfo.setText(String.format(PRIVATE_IP_INFO, IpUtil.isPrivateIP(value), IpUtil.isLinkLocalIP(value)));
this.txtDecrypt.setText(value);
}
this.lblDecryptInfo.setText(String.format(PRIVATE_IP_INFO, IpUtil.isPrivateIP(value), IpUtil.isLinkLocalIP(value)));
this.txtDecrypt.setText(value);
}
}//GEN-LAST:event_btnDecryptActionPerformed

Expand Down
30 changes: 15 additions & 15 deletions src/main/java/passive/signature/ISignatureConfig.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package passive.signature;

/**
*
* @author isayan
*/
public interface ISignatureConfig {
public String settingName();

public void saveSetting(String value);

public String loadSetting();
}
package passive.signature;

/**
*
* @author isayan
*/
public interface ISignatureConfig {

public String getIssueName();

public String loadConfig();

public void saveConfig(String config);

}

0 comments on commit 1e2d138

Please sign in to comment.