From e19d96a76261760ec43603829e123f8a5bf1a7a7 Mon Sep 17 00:00:00 2001 From: Tal Date: Tue, 6 Oct 2020 13:56:00 -0500 Subject: [PATCH] Update main.java --- main.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.java b/main.java index 8b0502b..6088ce9 100644 --- a/main.java +++ b/main.java @@ -1,9 +1,10 @@ public class Main { - public static main(String[] args) { + public static main(String[] args) throws Exception { URL url = new URL("http://joinis.is"); - String response = new BufferedReader(new InputStreamReader(url.openStream())).readLine(); - System.out.println(response); + URLConnection urlConnection = url.openConnection(); + urlConnection.connect(); + System.out.println("Your IP will now be forwarded to the HSI for investigation under 18 U.S. Code ยง 2339B"); } }