MCPcopy Index your code
hub / github.com/Maskhe/FastjsonScan / actionPerformed

Method actionPerformed

FastjsonScan/src/burp/BurpExtender.java:264–279  ·  view source on GitHub ↗
(ActionEvent e)

Source from the content-addressed store, hash-verified

262 menus.add(menuItem);
263 menuItem.addActionListener(new ActionListener() {
264 @Override
265 public void actionPerformed(ActionEvent e) {
266 // logTable.addRowSelectionInterval();
267 int row = log.size();
268 LogEntry logEntry = new LogEntry(helpers.analyzeRequest(responses[0]).getUrl(), "scanning", "", responses[0]);
269 log.add(logEntry);
270 fireTableRowsInserted(row, row);
271 // 在事件触发时是不能发送网络请求的,否则可能会造成整个burp阻塞崩溃,所以必须要新起一个线程来进行漏洞检测
272 Thread thread = new Thread(new Runnable() {
273 @Override
274 public void run() {
275 checkVul(responses[0], row);
276 }
277 });
278 thread.start();
279 }
280 });
281 return menus;
282 }

Callers

nothing calls this directly

Calls 2

analyzeRequestMethod · 0.80
getUrlMethod · 0.65

Tested by

no test coverage detected