Skip to content

Commit ed18616

Browse files
author
Gabriel Caudrelier
committed
Fixed small bug when there is no selection
1 parent 838b136 commit ed18616

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/burp/ExtractParamContextMenu.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,12 @@ public void actionPerformed(ActionEvent e) {
8888
selection = contextMenu.getSelectionBounds();
8989
if (selection[0] != selection[1]) {
9090
sdata = callbacks.getHelpers().bytesToString(Arrays.copyOfRange(data,selection[0], selection[1]));
91-
} else {
92-
sdata = callbacks.getHelpers().bytesToString(data);
9391
}
9492
} else {
9593
System.out.println("Data is null");
9694
}
9795
}
9896
paramDialog = new ExtractParamDialog(callbacks, sdata);
99-
paramDialog.setTitle("Extracting parameters/fields");
10097
paramDialog.pack();
10198
paramDialog.setLocationRelativeTo(null);
10299
paramDialog.setVisible(true);

0 commit comments

Comments
 (0)