Skip to content

Commit

Permalink
Merge pull request #145 from usdAG/feat/sequencer
Browse files Browse the repository at this point in the history
feat: add sequencer option to filter dialog
  • Loading branch information
felixb1515 authored Jun 24, 2024
2 parents 4161b60 + 6ba09c3 commit 7c9eb53
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/main/java/de/usd/cstchef/view/RequestFilterDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private RequestFilterDialog() {
JPanel labelPanel = new JPanel();
labelPanel.setLayout(new GridLayout(7, 0));
labelPanel.add(new JLabel(""));
List<String> labels = Arrays.asList("Proxy", "Repeater", "Scanner", "Intruder", "Extender");
List<String> labels = Arrays.asList("Proxy", "Repeater", "Scanner", "Intruder", "Extender", "Sequencer");
for (String label : labels) {
labelPanel.add(new JLabel(label));
}
Expand All @@ -51,13 +51,11 @@ private RequestFilterDialog() {
private JPanel createPanel(BurpOperation operation) {
if (BurpUtils.getInstance().getFilterState().getFilterMask(operation).isEmpty()) {
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.PROXY, ToolType.PROXY.ordinal()), false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.REPEATER, ToolType.REPEATER.ordinal()),
false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.REPEATER, ToolType.REPEATER.ordinal()), false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.SCANNER, ToolType.SCANNER.ordinal()), false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.INTRUDER, ToolType.INTRUDER.ordinal()),
false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.EXTENSIONS, ToolType.EXTENSIONS.ordinal()),
false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.INTRUDER, ToolType.INTRUDER.ordinal()), false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.EXTENSIONS, ToolType.EXTENSIONS.ordinal()), false);
BurpUtils.getInstance().getFilterState().getFilterMask(operation).put(new Filter(ToolType.SEQUENCER, ToolType.SEQUENCER.ordinal()), false);
}

JPanel panel = new JPanel();
Expand Down

0 comments on commit 7c9eb53

Please sign in to comment.