Skip to content

Commit

Permalink
Bugfix in enable graphical hook
Browse files Browse the repository at this point in the history
  • Loading branch information
federicodotta committed Apr 24, 2020
1 parent 2e6c940 commit e376584
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main/java/burp/BurpExtender.java
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,15 @@ public void mouseClicked(MouseEvent evt) {
JOptionPane.showMessageDialog(null, "It is not possible to disable single hooks while application is running", "Warning", JOptionPane.WARNING_MESSAGE);
}
} else {
currentDefaultHook.setEnabled(true);
currentDefaultHook.setEnabled(true);
if(applicationSpawned) {
try {
executePyroCall(pyroBridaService, "callexportfunction",new Object[] {currentDefaultHook.getFridaExportName(),currentDefaultHook.getParameters()});
} catch (Exception e) {
printException(e,"Exception running starting tree hook " + currentDefaultHook.getName());
}
}

}
((TrapTableModel)(trapTable.getModel())).fireTableCellUpdated(row, col);
((TrapTableModel)(trapTable.getModel())).fireTableCellUpdated(row, 0);
Expand Down

0 comments on commit e376584

Please sign in to comment.