fork download
  1. #define _GNU_SOURCE
  2. #include <string.h>
  3. #include <stdio.h>
  4. int main(void)
  5. {
  6.  
  7. char check[20] = {0x5f,
  8. 0x40,
  9. 0x5a,
  10. 0x15,
  11. 0x75,
  12. 0x45,
  13. 0x62,
  14. 0x53,
  15. 0x75,
  16. 0x46,
  17. 0x52,
  18. 0x43,
  19. 0x5f,
  20. 0x75,
  21. 0x50,
  22. 0x52,
  23. 0x75,
  24. 0x5f,
  25. 0x5c,
  26. 0x4f};
  27.  
  28. for (int i = 0; i < 20; i++)
  29. {
  30. printf("%x", check[i]);
  31. }
  32. putchar(0xa);
  33. memfrob(&check, 0x14);
  34.  
  35. for (int i = 0; i < 20; i++)
  36. {
  37. printf("%x", check[i]);
  38. }
  39. putchar(0xa);
  40. printf("%s", check);
  41. return 0;
  42. }
  43.  
Success #stdin #stdout 0s 5540KB
stdin
Standard input is empty
stdout
5f405a1575456253754652435f755052755f5c4f
756a703f5f6f48795f6c7869755f7a785f757665
ujp?_oHy_lxiu_zx_uve�