Skip to content

Commit c78cc30

Browse files
committed
Merge branch 'master' of github.com:RUB-NDS/WS-Attacker-Development
2 parents ef18fa3 + 1583b10 commit c78cc30

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

plugins/XML_Encryption_Attack/src/main/java/wsattacker/plugin/xmlencryptionattack/gui/OptionPayloadEncGUI.form

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@
450450
</Property>
451451
<Property name="text" type="java.lang.String" value="&lt;"/>
452452
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
453-
<Color id="Standardcursor"/>
453+
<Color id="Default Cursor"/>
454454
</Property>
455455
<Property name="horizontalAlignment" type="int" value="10"/>
456456
<Property name="horizontalTextPosition" type="int" value="10"/>
@@ -466,7 +466,7 @@
466466
</Property>
467467
<Property name="text" type="java.lang.String" value="&gt;"/>
468468
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
469-
<Color id="Standardcursor"/>
469+
<Color id="Default Cursor"/>
470470
</Property>
471471
<Property name="horizontalAlignment" type="int" value="10"/>
472472
<Property name="horizontalTextPosition" type="int" value="10"/>

plugins/XML_Encryption_Attack/src/main/java/wsattacker/plugin/xmlencryptionattack/gui/OptionPayloadEncGUI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ public void actionPerformed( java.awt.event.ActionEvent evt )
660660

661661
private void tbCmpThresFocusLost( java.awt.event.FocusEvent evt )
662662
{// GEN-FIRST:event_tbCmpThresFocusLost
663-
double dValue = 1.0;
663+
double dValue;
664664
try
665665
{
666666
dValue = Double.parseDouble( tbCmpThres.getText() );
@@ -684,7 +684,7 @@ private void tbCmpThresFocusLost( java.awt.event.FocusEvent evt )
684684

685685
private void tbThresHoldWrapFocusLost( java.awt.event.FocusEvent evt )
686686
{// GEN-FIRST:event_tbThresHoldWrapFocusLost
687-
double dValue = 1.0;
687+
double dValue;
688688
try
689689
{
690690
dValue = Double.parseDouble( tbThresHoldWrap.getText() );

plugins/XML_Encryption_Attack/src/main/java/wsattacker/plugin/xmlencryptionattack/option/OptionManagerEncryption.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ public void initAttackCfg()
143143
m_AttackCfg.setSimStringStrategyType( SimStringStrategy.DICE_COEFF );
144144
m_AttackCfg.setChosenAttackPayload( null );
145145
m_AttackCfg.setChosenWrapPayload( null );
146-
m_AttackCfg.setStringCmpThresHold( 1.0 );
147-
m_AttackCfg.setStringCmpWrappThreshold( 1.0 );
146+
m_AttackCfg.setStringCmpThresHold( AttackConfig.DEFAULT_STRING_CMP_THRESHOLD );
147+
m_AttackCfg.setStringCmpWrappThreshold( AttackConfig.DEFAULT_STRING_CMP_WRAP_ERROR_THRESHOLD );
148148
m_AttackCfg.getPKCS1AttackCfg().setServerRSAPubKey( null );
149149
m_AttackCfg.getPKCS1AttackCfg().setPKCS1Strategy( CBC_WEAK );
150150

0 commit comments

Comments
 (0)