9breaker@kscys291.com

Something Stupid
/* © 2021 Frank Jaeger - Permission is granted to use, copy, modify, and distribute this software for any lawful purpose.
Attribution must be retained; you must not claim authorship of the original work.
The author shall not be liable for any direct, indirect, incidental, special, or consequential damages arising from use of this software or its source,
including but not limited to spantaneuous combustion of the anus*/


#include <stdio.h>

char winpass[18];
int rkey[15];
int user_exceeds_array=1;
int lc=0;

int main () { 

  printf("\n\nEnter Windows Password\n\n");
  
  if (fgets(winpass, sizeof(winpass), stdin)) {

        int filler=230;

        for (lc = 0; lc < 17; lc++) {

            if (winpass[lc] == '\0' || winpass[lc] == '\n') {
                rkey[lc] = filler; user_exceeds_array=0;
            } else {

                rkey[lc] = (int)winpass[lc] +101;
            }
        }
    }
printf("\n\nYour Bitlocker Recovery Key is:\n\n");

    for (lc = 0; lc < 14; lc += 2) {
        printf("%d - ", (rkey[lc] *100 + rkey[lc + 1]) *11);
    }

    printf("%d", (rkey[14] *100 + rkey[15]) *11);

printf("\n\nPress Enter to Exit Process\n\n");

if (user_exceeds_array == 1) { while (getchar() != '\n'); }

getchar();

return(0);
  
}