February 2019
Beginner to intermediate
366 pages
7h 49m
English
The previous blocks of code showed all of the extension content and the graphical interface, but the following lines show the operation of the extension itself:
First, we set up the initial variables and components, as follows:
@Override public String getTabCaption() { return "Burp UserAgent"; } @Override public Component getUiComponent() { return bUAPanel; } @Override public String getActionName(){ return "Burp UserAgent"; } @Override public void performAction(IHttpRequestResponse currentRequest, IHttpRequestResponse[] macroItems) { IRequestInfo requestInfo = extHelpers.analyzeRequest(currentRequest); List<String> headers = requestInfo.getHeaders(); String reqRaw = new String(currentRequest.getRequest()); String reqBody = ...Read now
Unlock full access