-
-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathTestExtension.java
More file actions
23 lines (20 loc) · 822 Bytes
/
TestExtension.java
File metadata and controls
23 lines (20 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import burp.hv.HackvertorExtension;
import burp.hv.utils.Utils;
import burp.stubs.StubCallbacks;
import javax.swing.*;
import java.awt.*;
public class TestExtension {
public static void main(String[] args) {
JFrame jFrame = new JFrame("Burp Suite - Hackvertor");
jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jFrame.setContentPane(new JPanel(new BorderLayout()));
jFrame.setPreferredSize(new Dimension(1200,1000));
HackvertorExtension hackvertorExtension = new HackvertorExtension();
hackvertorExtension.registerExtenderCallbacks(new StubCallbacks(jFrame));
JMenuBar menuBar = new JMenuBar();
menuBar.add(Utils.generateHackvertorMenuBar());
jFrame.setJMenuBar(menuBar);
jFrame.pack();
jFrame.setVisible(true);
}
}