Advertisement
Guest User

kupa

a guest
Nov 15th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <string.h>
  3. #include <stdlib.h>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8. char *s = (char*)malloc(sizeof(26));
  9.  
  10. for (int i = 0; i < 26; i++)
  11. s[i] = 0;
  12.  
  13. strcpy(s, "./col ");
  14.  
  15. s[6] = 0x21;
  16. s[7] = 121;
  17. s[11] = 100;
  18. s[8] = 9;
  19. s[9] = 118;
  20. s[13] = 118;
  21.  
  22. system(s);
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement