1
0
mirror of synced 2024-11-22 01:04:24 +01:00

Update main.java

This commit is contained in:
Tal 2020-10-06 13:56:00 -05:00 committed by GitHub
parent 18d37277b9
commit e19d96a762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");
}
}