Skip to content

Commit

Permalink
performing google-java-format
Browse files Browse the repository at this point in the history
  • Loading branch information
devampkid committed Dec 5, 2024
1 parent 2c0e229 commit c5209b8
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@
import com.google.tsunami.common.net.http.HttpClient;
import com.google.tsunami.common.net.http.HttpHeaders;
import com.google.tsunami.common.net.http.HttpResponse;
import com.google.tsunami.common.net.http.HttpStatus;
import com.google.tsunami.common.time.UtcClock;
import com.google.tsunami.plugin.PluginType;
import com.google.tsunami.plugin.VulnDetector;
import com.google.tsunami.plugin.annotations.PluginInfo;
import com.google.tsunami.plugin.payload.NotImplementedException;
import com.google.tsunami.plugin.payload.Payload;
import com.google.tsunami.plugin.payload.PayloadGenerator;
import com.google.tsunami.plugin.PluginType;
import com.google.tsunami.plugin.VulnDetector;
import com.google.tsunami.plugins.detectors.rce.cve20242029.Annotations.OobSleepDuration;
import com.google.tsunami.proto.DetectionReport;
import com.google.tsunami.proto.DetectionReportList;
Expand All @@ -56,9 +55,6 @@
import com.google.tsunami.proto.VulnerabilityId;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.Clock;
import java.time.Duration;
import java.time.Instant;
Expand Down Expand Up @@ -186,7 +182,8 @@ private boolean isServiceVulnerable(NetworkService networkService) {
HttpHeaders.builder()
.addHeader(
CONTENT_TYPE,
"multipart/form-data; boundary=------------------------YMvF9bJTpBcQA5CcxzUEx3")
"multipart/form-data;"
+ " boundary=------------------------YMvF9bJTpBcQA5CcxzUEx3")
.addHeader(USER_AGENT, "TSUNAMI_SCANNER")
.build())
.setRequestBody(ByteString.copyFrom(out))
Expand Down

0 comments on commit c5209b8

Please sign in to comment.