Reverse Engineering

Here you'll find different Reverse tasks solved step-by-step

Yes Xor Not

The given file contained this code

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
        char * flag = "REDACTED";
        int i,c, r = rand() % 32;
        char aux;
    for(i = 0;i < strlen(flag);i++){
        c = flag[i];
        aux = c^r;
        printf("%c",aux);
  }
    return 0;
}
//program output : Twful|O7pXJ3i~XS6j4tXC7X6XO3q4X5X04KKX^7rz`

As we know using the output as an input in a XORing function it will return the flag

char * flag = "Twful|O7pXJ3i~XS6j4tXC7X6XO3q4X5X04KKX^7rz`";

After executing the script Ladies & Gentlemen we got it

Spark{H0w_M4ny_T1m3s_D0_1_H4v3_2_73LL_Y0u}

StringMe

The title is a hint as it refers to the Strings command to run on executable file

INTRO TO REV

Strings command may get the flag

GU3SS

P4RTS

Last updated

Was this helpful?