robot attck


SUBMITTED BY: Guest

DATE: Aug. 31, 2013, 5:07 p.m.

FORMAT: Text only

SIZE: 10.5 kB

HITS: 1052

  1. import java.awt.AWTException;
  2. import java.awt.Robot;
  3. import java.awt.event.KeyEvent;
  4. import java.awt.event.InputEvent;
  5. public class robotAttack {
  6. public static void main(String[] args) {
  7. try{
  8. Robot robot = new Robot();
  9. // Robot start writting
  10. try{
  11. Runtime runtime = Runtime.getRuntime();
  12. Process process = runtime.exec("C:\\Windows\\notepad.exe");}
  13. catch(Exception e){
  14. e.printStackTrace();}
  15. robot.delay(250);
  16. robot.keyPress(KeyEvent.VK_Y);
  17. robot.delay(25);
  18. robot.keyPress(KeyEvent.VK_O);
  19. robot.delay(25);
  20. robot.keyPress(KeyEvent.VK_U);
  21. robot.keyPress(KeyEvent.VK_SPACE);
  22. robot.keyPress(KeyEvent.VK_T);
  23. robot.delay(50);
  24. robot.keyPress(KeyEvent.VK_H);
  25. robot.delay(200);
  26. robot.keyPress(KeyEvent.VK_E);
  27. robot.delay(25);
  28. robot.keyPress(KeyEvent.VK_R);
  29. robot.delay(50);
  30. robot.keyPress(KeyEvent.VK_E);
  31. robot.delay(250);
  32. robot.delay(25);
  33. robot.keyPress(KeyEvent.VK_SPACE);
  34. robot.keyPress(KeyEvent.VK_H);
  35. robot.delay(25);
  36. robot.keyPress(KeyEvent.VK_A);
  37. robot.delay(25);
  38. robot.keyPress(KeyEvent.VK_L);
  39. robot.delay(50);
  40. robot.keyPress(KeyEvent.VK_T);
  41. robot.keyPress(KeyEvent.VK_SPACE);
  42. robot.delay(250);
  43. robot.keyPress(KeyEvent.VK_I);
  44. robot.delay(200);
  45. robot.keyPress(KeyEvent.VK_SPACE);
  46. robot.delay(200);
  47. robot.keyPress(KeyEvent.VK_A);
  48. robot.delay(25);
  49. robot.keyPress(KeyEvent.VK_M);
  50. robot.delay(200);
  51. robot.keyPress(KeyEvent.VK_SPACE);
  52. robot.delay(25);
  53. robot.keyPress(KeyEvent.VK_T);
  54. robot.delay(200);
  55. robot.keyPress(KeyEvent.VK_A);
  56. robot.delay(25);
  57. robot.keyPress(KeyEvent.VK_K);
  58. robot.delay(200);
  59. robot.keyPress(KeyEvent.VK_E);
  60. robot.delay(200);
  61. robot.keyPress(KeyEvent.VK_I);
  62. robot.delay(25);
  63. robot.keyPress(KeyEvent.VK_N);
  64. robot.delay(200);
  65. robot.keyPress(KeyEvent.VK_G);
  66. robot.delay(50);
  67. robot.keyPress(KeyEvent.VK_SPACE);
  68. robot.delay(200);
  69. robot.keyPress(KeyEvent.VK_O);
  70. robot.delay(25);
  71. robot.keyPress(KeyEvent.VK_V);
  72. robot.delay(25);
  73. robot.keyPress(KeyEvent.VK_E);
  74. robot.delay(25);
  75. robot.keyPress(KeyEvent.VK_R);
  76. robot.delay(200);
  77. robot.keyPress(KeyEvent.VK_SPACE);
  78. robot.delay(200);
  79. robot.keyPress(KeyEvent.VK_Y);
  80. robot.delay(200);
  81. robot.keyPress(KeyEvent.VK_O);
  82. robot.delay(100);
  83. robot.keyPress(KeyEvent.VK_U);
  84. robot.delay(200);
  85. robot.keyPress(KeyEvent.VK_R);
  86. robot.delay(200);
  87. robot.keyPress(KeyEvent.VK_SPACE);
  88. robot.delay(400);
  89. robot.keyPress(KeyEvent.VK_C);
  90. robot.delay(100);
  91. robot.keyPress(KeyEvent.VK_O);
  92. robot.delay(300);
  93. robot.keyPress(KeyEvent.VK_M);
  94. robot.delay(200);
  95. robot.keyPress(KeyEvent.VK_P);
  96. robot.delay(25);
  97. robot.keyPress(KeyEvent.VK_U);
  98. robot.delay(200);
  99. robot.keyPress(KeyEvent.VK_T);
  100. robot.delay(100);
  101. robot.keyPress(KeyEvent.VK_E);
  102. robot.delay(100);
  103. robot.keyPress(KeyEvent.VK_R);
  104. robot.delay(200);
  105. robot.keyPress(KeyEvent.VK_SPACE);
  106. robot.delay(100);
  107. robot.keyPress(KeyEvent.VK_I);
  108. robot.delay(300);
  109. robot.keyPress(KeyEvent.VK_N);
  110. robot.delay(200);
  111. robot.keyPress(KeyEvent.VK_SPACE);
  112. robot.delay(200);
  113. robot.keyPress(KeyEvent.VK_3);
  114. robot.keyPress(KeyEvent.VK_0);
  115. robot.delay(500);
  116. robot.keyPress(KeyEvent.VK_SPACE);
  117. robot.keyPress(KeyEvent.VK_2);
  118. robot.keyPress(KeyEvent.VK_9);
  119. robot.keyPress(KeyEvent.VK_SPACE);
  120. robot.delay(500);
  121. robot.keyPress(KeyEvent.VK_2);
  122. robot.keyPress(KeyEvent.VK_8);
  123. robot.keyPress(KeyEvent.VK_SPACE);
  124. robot.delay(500);
  125. robot.keyPress(KeyEvent.VK_2);
  126. robot.keyPress(KeyEvent.VK_7);
  127. robot.keyPress(KeyEvent.VK_SPACE);
  128. robot.delay(500);
  129. robot.keyPress(KeyEvent.VK_2);
  130. robot.keyPress(KeyEvent.VK_6);
  131. robot.keyPress(KeyEvent.VK_SPACE);
  132. robot.delay(500);
  133. robot.keyPress(KeyEvent.VK_2);
  134. robot.keyPress(KeyEvent.VK_5);
  135. robot.keyPress(KeyEvent.VK_SPACE);
  136. robot.delay(500);
  137. robot.keyPress(KeyEvent.VK_2);
  138. robot.keyPress(KeyEvent.VK_4);
  139. robot.keyPress(KeyEvent.VK_SPACE);
  140. robot.delay(500);
  141. robot.keyPress(KeyEvent.VK_2);
  142. robot.keyPress(KeyEvent.VK_3);
  143. robot.keyPress(KeyEvent.VK_SPACE);
  144. robot.delay(500);
  145. robot.keyPress(KeyEvent.VK_2);
  146. robot.keyPress(KeyEvent.VK_2);
  147. robot.keyPress(KeyEvent.VK_SPACE);
  148. robot.delay(500);
  149. robot.keyPress(KeyEvent.VK_2);
  150. robot.keyPress(KeyEvent.VK_1);
  151. robot.keyPress(KeyEvent.VK_SPACE);
  152. robot.delay(500);
  153. robot.keyPress(KeyEvent.VK_2);
  154. robot.keyPress(KeyEvent.VK_0);
  155. robot.keyPress(KeyEvent.VK_SPACE);
  156. robot.delay(500);
  157. robot.keyPress(KeyEvent.VK_1);
  158. robot.keyPress(KeyEvent.VK_9);
  159. robot.keyPress(KeyEvent.VK_SPACE);
  160. robot.delay(500);
  161. robot.keyPress(KeyEvent.VK_1);
  162. robot.keyPress(KeyEvent.VK_8);
  163. robot.keyPress(KeyEvent.VK_SPACE);
  164. robot.delay(500);
  165. robot.keyPress(KeyEvent.VK_1);
  166. robot.keyPress(KeyEvent.VK_7);
  167. robot.keyPress(KeyEvent.VK_SPACE);
  168. robot.delay(500);
  169. robot.keyPress(KeyEvent.VK_1);
  170. robot.keyPress(KeyEvent.VK_6);
  171. robot.keyPress(KeyEvent.VK_SPACE);
  172. robot.delay(500);
  173. robot.keyPress(KeyEvent.VK_1);
  174. robot.keyPress(KeyEvent.VK_5);
  175. robot.keyPress(KeyEvent.VK_SPACE);
  176. robot.delay(500);
  177. robot.keyPress(KeyEvent.VK_1);
  178. robot.keyPress(KeyEvent.VK_4);
  179. robot.keyPress(KeyEvent.VK_SPACE);
  180. robot.delay(500);
  181. robot.keyPress(KeyEvent.VK_1);
  182. robot.keyPress(KeyEvent.VK_3);
  183. robot.keyPress(KeyEvent.VK_SPACE);
  184. robot.delay(500);
  185. robot.keyPress(KeyEvent.VK_1);
  186. robot.keyPress(KeyEvent.VK_2);
  187. robot.keyPress(KeyEvent.VK_SPACE);
  188. robot.delay(500);
  189. robot.keyPress(KeyEvent.VK_1);
  190. robot.keyPress(KeyEvent.VK_1);
  191. robot.keyPress(KeyEvent.VK_SPACE);
  192. robot.delay(500);
  193. robot.keyPress(KeyEvent.VK_1);
  194. robot.keyPress(KeyEvent.VK_0);
  195. robot.keyPress(KeyEvent.VK_SPACE);
  196. robot.delay(500);
  197. robot.keyPress(KeyEvent.VK_9);
  198. robot.keyPress(KeyEvent.VK_SPACE);
  199. robot.delay(500);
  200. robot.keyPress(KeyEvent.VK_8);
  201. robot.keyPress(KeyEvent.VK_SPACE);
  202. robot.delay(500);
  203. robot.keyPress(KeyEvent.VK_7);
  204. robot.keyPress(KeyEvent.VK_SPACE);
  205. robot.delay(500);
  206. robot.keyPress(KeyEvent.VK_6);
  207. robot.keyPress(KeyEvent.VK_SPACE);
  208. robot.delay(500);
  209. robot.keyPress(KeyEvent.VK_5);
  210. robot.keyPress(KeyEvent.VK_SPACE);
  211. robot.delay(500);
  212. robot.keyPress(KeyEvent.VK_4);
  213. robot.keyPress(KeyEvent.VK_SPACE);
  214. robot.delay(500);
  215. robot.keyPress(KeyEvent.VK_3);
  216. robot.keyPress(KeyEvent.VK_SPACE);
  217. robot.delay(500);
  218. robot.keyPress(KeyEvent.VK_2);
  219. robot.keyPress(KeyEvent.VK_SPACE);
  220. robot.delay(500);
  221. robot.keyPress(KeyEvent.VK_1);
  222. robot.keyPress(KeyEvent.VK_SPACE);
  223. robot.delay(500);
  224. robot.keyPress(KeyEvent.VK_0);
  225. robot.delay(500);
  226. robot.keyPress(KeyEvent.VK_SPACE);
  227. robot.keyPress(KeyEvent.VK_SPACE);
  228. robot.keyPress(KeyEvent.VK_D);
  229. robot.keyPress(KeyEvent.VK_I);
  230. robot.keyPress(KeyEvent.VK_S);
  231. robot.keyPress(KeyEvent.VK_A);
  232. robot.keyPress(KeyEvent.VK_B);
  233. robot.keyPress(KeyEvent.VK_L);
  234. robot.keyPress(KeyEvent.VK_E);
  235. robot.keyPress(KeyEvent.VK_I);
  236. robot.keyPress(KeyEvent.VK_N);
  237. robot.keyPress(KeyEvent.VK_G);
  238. robot.keyPress(KeyEvent.VK_SPACE);
  239. robot.keyPress(KeyEvent.VK_K);
  240. robot.keyPress(KeyEvent.VK_E);
  241. robot.keyPress(KeyEvent.VK_Y);
  242. robot.keyPress(KeyEvent.VK_B);
  243. robot.keyPress(KeyEvent.VK_O);
  244. robot.keyPress(KeyEvent.VK_A);
  245. robot.keyPress(KeyEvent.VK_R);
  246. robot.keyPress(KeyEvent.VK_D);
  247. robot.delay(2000);
  248. while(true){
  249. robot.keyPress(KeyEvent.VK_BACKSPACE);
  250. robot.mouseMove(0,0);
  251. }}
  252. catch(AWTException e){
  253. e.printStackTrace();}
  254. }
  255. }

comments powered by Disqus