From c34f96a7d58696dcb0fd78c5f63b2e03212bf62e Mon Sep 17 00:00:00 2001 From: ParanormalActivity Date: Sun, 19 Nov 2023 10:26:51 +0200 Subject: [PATCH] Enviar arquivos para "/" --- bad_isp | 1 + bad_words | 1 + msgpack.java | 17 +++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 bad_isp create mode 100644 bad_words create mode 100644 msgpack.java diff --git a/bad_isp b/bad_isp new file mode 100644 index 0000000..9f266ce --- /dev/null +++ b/bad_isp @@ -0,0 +1 @@ +’¤testĄtest2 \ No newline at end of file diff --git a/bad_words b/bad_words new file mode 100644 index 0000000..9f266ce --- /dev/null +++ b/bad_words @@ -0,0 +1 @@ +’¤testĄtest2 \ No newline at end of file diff --git a/msgpack.java b/msgpack.java new file mode 100644 index 0000000..4f841d8 --- /dev/null +++ b/msgpack.java @@ -0,0 +1,17 @@ +import java.io.*; +import org.msgpack.MessagePack; + +public class MsgPack { + public static void main(String[] args) { + initialFile = new File("bad_words"); // or bad_isp + List al = new ArrayList(); + try (OutputStream outputStream = new FileOutputStream(initialFile)) { + al.add(0, "test"); + al.add(1, "test2"); + mp.write(outputStream, al); + + } catch (IOException e) { + e.printStackTrace(); + } + } +} \ No newline at end of file