zoukankan      html  css  js  c++  java
  • HackDemo.java

    import java.io.*;

    import java.awt.*;

    public class HackDemo{

     public static void main(String args[]) throws IOException,AWTException{

    Runtime rt=Runtime.getRuntime();

    Robot robot=new Robot();

    while(true)

    { robot.mouseMove(500,200); }

    }

    }

    import java.io.*;
    import java.awt.*;
    import java.util.Random;
    public class HackDemo{
     public static void main(String args[])throws IOException,AWTException{
    
    Runtime rt=Runtime.getRuntime();
    
    Robot robot=new Robot();
    Random r=new Random();
    while(true){
        int x=r.nextInt(1025);//0-1024
        int y=r.nextInt(769);//0-768
    robot.mouseMove(x,y);
    }
    }
    }

    import java.io.*; import java.awt.*;

    import java.util.Random;

    public class HackDemo{

     public static void main(String args[])throws IOException,AWTException,InterruptedException{

    Runtime rt=Runtime.getRuntime();

    Robot robot=new Robot();

    Random r=new Random();

    while(true){  int x=r.nextInt(1025);//0-1024

     int y=r.nextInt(769);//0-768

    robot.mouseMove(x,y);

    Thread.sleep();

    }

    }

    }

     

  • 相关阅读:
    Java Nashorn--Part 4
    Java Nashorn--Part 3
    Java Nashorn--Part 2
    Java Nashorn--Part 1
    Java 异步 IO
    代码天天写,快乐天天有!
    比迷路更可怕的,是对读书的迷失。
    《寄生兽》观后感
    浅谈生活
    8月份的尾巴
  • 原文地址:https://www.cnblogs.com/fantasy12436109/p/3969312.html
Copyright © 2011-2022 走看看