MCPcopy Create free account
hub / github.com/Niiiiko/FastjsonScan4Burp / add

Method add

src/main/java/burp/ui/ScanQueueTag.java:150–174  ·  view source on GitHub ↗

新增任务至任务栏面板 @param extensionMethod @param requestMethod @param url @param statusCode @param issue @param requestResponse @return int id

(String extensionMethod, String requestMethod, String url,
                   String statusCode, String issue, IHttpRequestResponse requestResponse)

Source from the content-addressed store, hash-verified

148 * @return int id
149 */
150 public int add(String extensionMethod, String requestMethod, String url,
151 String statusCode, String issue, IHttpRequestResponse requestResponse) {
152 synchronized (this.Udatas) {
153 Date d = new Date();
154 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
155 String startTime = sdf.format(d);
156
157 int id = this.Udatas.size();
158 this.Udatas.add(
159 new TablesData(
160 id,
161 extensionMethod,
162 requestMethod,
163 url,
164 statusCode,
165 issue,
166 startTime,
167 "",
168 requestResponse
169 )
170 );
171 fireTableRowsInserted(id, id);
172 return id;
173 }
174 }
175
176 /**
177 * 更新任务状态至任务栏面板

Callers 15

doPassiveScanMethod · 0.80
scanMethod · 0.80
isMatchDomainNameMethod · 0.80
createMenuItemsMethod · 0.80
ScanQueueTagMethod · 0.80
input1_1Method · 0.80
input1_2Method · 0.80
input1_3Method · 0.80
addComboBoxMethod · 0.80
input3_1Method · 0.80
input3_2Method · 0.80
input3_3Method · 0.80

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected