INNER CODE UNIT · Java
size
ron190/jsql-injection · model/src/main/java/com/jsql/model/InjectionModel.java:301
float size = (float) (pageSource.length() + sizeHeaders) / 1024;
var decimalFormat = new DecimalFormat("0.000");
String pageSourceFixed = pageSource
.replaceAll("("+ EngineYaml.CALIBRATOR_SQL +"){60,}", "$1...") // Remove ranges of # created by calibration
.replaceAll("(jIyM){60,}", "$1..."); // Remove batch of chars created by Dios
// Send data to Views
this.sendToViews(new Seal.MessageHeader(
urlInjectionFixed,
body,
ConnectionUtil.getHeadersMap(httpRequest.headers()),
headersResponse,
pageSourceFixed,
decimalFormat.format(size),
this.mediatorStrategy.getMeta(),
metadataInjectionProcess,
callableBoolean