From 3020b3476dbdbe9875c16a881e5feac10d482702 Mon Sep 17 00:00:00 2001 From: Andy Nguyen Date: Wed, 27 Oct 2021 18:14:29 +0200 Subject: [PATCH] Sort imports. --- com/bdjb/Exploit.java | 2 +- com/bdjb/ExploitServiceProxyImpl.java | 2 +- com/bdjb/ExploitUserPrefsImpl.java | 2 +- com/bdjb/PayloadClassLoader.java | 9 ++++----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/com/bdjb/Exploit.java b/com/bdjb/Exploit.java index 8293b1e..48c5d5c 100644 --- a/com/bdjb/Exploit.java +++ b/com/bdjb/Exploit.java @@ -11,8 +11,8 @@ import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; -import java.net.Socket; import java.net.ServerSocket; +import java.net.Socket; class Exploit implements Runnable { static void init() { diff --git a/com/bdjb/ExploitServiceProxyImpl.java b/com/bdjb/ExploitServiceProxyImpl.java index f6eed4f..7266892 100644 --- a/com/bdjb/ExploitServiceProxyImpl.java +++ b/com/bdjb/ExploitServiceProxyImpl.java @@ -12,8 +12,8 @@ import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import java.net.URLClassLoader; -import java.security.Security; import java.security.Provider; +import java.security.Security; /** Implementation of the service+proxy exploit. */ class ExploitServiceProxyImpl implements ExploitInterface { diff --git a/com/bdjb/ExploitUserPrefsImpl.java b/com/bdjb/ExploitUserPrefsImpl.java index 337f0a4..f9137b7 100644 --- a/com/bdjb/ExploitUserPrefsImpl.java +++ b/com/bdjb/ExploitUserPrefsImpl.java @@ -7,10 +7,10 @@ package com.bdjb; +import java.io.FileOutputStream; import java.io.InputStream; import java.io.ObjectOutputStream; import java.io.OutputStream; -import java.io.FileOutputStream; import org.havi.ui.HSceneFactory; /** Implementation of the userprefs deserialization exploit. */ diff --git a/com/bdjb/PayloadClassLoader.java b/com/bdjb/PayloadClassLoader.java index 9d96977..e7c1bf1 100644 --- a/com/bdjb/PayloadClassLoader.java +++ b/com/bdjb/PayloadClassLoader.java @@ -7,14 +7,13 @@ package com.bdjb; -import java.io.Serializable; import java.io.ByteArrayOutputStream; -import java.io.ObjectOutputStream; -import java.io.ObjectInputStream; import java.io.InputStream; -import java.security.ProtectionDomain; -import java.security.Permissions; +import java.io.ObjectInputStream; +import java.io.Serializable; import java.security.AllPermission; +import java.security.Permissions; +import java.security.ProtectionDomain; /** ClassLoader subclass that is instantiated on deserialization. */ class PayloadClassLoader extends ClassLoader implements Serializable {