February 2019
Beginner to intermediate
366 pages
7h 49m
English
PortSwigger simplified the way to integrate extensions with Burp Suite to create a new Burp Suite tab, and the elements just need a few lines of code.
First, we need to define a new tab for our extension in Burp Suite's window, as follows:
bUAPanel = new JPanel(null);
JLabel bUALabel = new JLabel();
final JComboBox bUACbx = new JComboBox(bUserAgents.toArray());
JButton bUASetHeaderBtn = new JButton("Set Configuration");
We also need to create a box for putting in all our options, along with the labels for each one, as follows:
bUALabel.setText("User-Agent:"); bUALabel.setBounds(16, 15, 75, 20); bUACbx.setBounds(146, 12, 310, 26); bUASetHeaderBtn.setBounds(306, 50, 150, 20); bUASetHeaderBtn.addActionListener(new ActionListener() ...Read now
Unlock full access