daily pastebin goal
91%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 61 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. void coreftppwd(uint8_t *pwd) {
  2.     aes_context ctx;
  3.     int     len,
  4.             tmp;
  5.     uint8_t pwdkey[16] = "hdfzpysvpzimorhk",
  6. //            unkkey[16] = "egj|pynqsygonshk",    // used for what?
  7.             *p,
  8.             *o;
  9.  
  10.     for(p = o = pwd; *p; p += 2, o++) {
  11.         sscanf(p, "%02x", &tmp);
  12.         *o = tmp;
  13.     }
  14.     *o = 0; // needed?
  15.     len = o - pwd;
  16.     len >>= 4;
  17.  
  18.     if(!len) return;
  19.  
  20.     aes_set_key(&ctx, pwdkey, sizeof(pwdkey) << 3);
  21.  
  22.     for(p = pwd; len--; p += 16) {
  23.         aes_decrypt(&ctx, p, p);
  24.     }
  25.  
  26.     printf("- password: %s\n", pwd);
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top