Guest User

Untitled

a guest
Feb 25th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. package burp;
  2.  
  3. import java.awt.Button;
  4. import java.awt.Component;
  5.  
  6. public class BurpExtender implements IBurpExtender,ITab{
  7.  
  8. private IBurpExtenderCallbacks callbacks;
  9. private Component comp;
  10.  
  11. @Override
  12. public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks) {
  13. this.callbacks = callbacks;
  14. comp = new Button();
  15. callbacks.setExtensionName("test");
  16. callbacks.addSuiteTab(BurpExtender.this);
  17. }
  18.  
  19.  
  20. @Override
  21. public String getTabCaption() {
  22. return "testTabCaption";
  23. }
  24.  
  25. @Override
  26. public Component getUiComponent() {
  27. return comp;
  28. }
Add Comment
Please, Sign In to add comment