forked from zaproxy/zaproxy
-
Notifications
You must be signed in to change notification settings - Fork 2
InternalHistory
thc202 edited this page Jan 29, 2020
·
4 revisions
extHist = org.parosproxy.paros.control.Control.getSingleton().
getExtensionLoader().getExtension(
org.parosproxy.paros.extension.history.ExtensionHistory.NAME)
if (extHist != null) {
hList = extHist.getHistoryList();
i=0
while (i++ < hList.getSize()-1) {
hr = hList.get(i)
if (hr) {
org.parosproxy.paros.view.View.getSingleton().getOutputPanel().append(
"Got " + hr.getHttpMessage().getRequestHeader().getURI() + "\n")
}
}
}
ExtensionHistory extHist = (ExtensionHistory) org.parosproxy.paros.control.Control.getSingleton().
getExtensionLoader().getExtension(ExtensionHistory.NAME);
if (extHist != null) {
HistoryList hList = extHist.getHistoryList();
int i=0;
while (i++ < hList.getSize()-1) {
HistoryReference hr = (HistoryReference) hList.get(i);
if (hr != null) {
try {
System.out.println("Got " + hr.getHttpMessage().getRequestHeader().getURI());
} catch (HttpMalformedHeaderException e) {
} catch (SQLException e) {
}
}
}
}
extHist = org.parosproxy.paros.control.Control.getSingleton()
.getExtensionLoader().getExtension(
org.parosproxy.paros.extension.history.ExtensionHistory.NAME)
if (extHist) {
hr = extHist.getHistoryList().getHistoryReference(1)
}
if (hr) {
org.parosproxy.paros.view.View.getSingleton().getOutputPanel().append(
"Got " + hr.getHttpMessage().getRequestHeader().getURI() + "\n")
}
Full details:
Links:
- Back: The Sites tree
- Home: Internal Details
- Next: Sending Messages