Skip to content

Does nothing #18

@FirowMD

Description

@FirowMD

Command I've used to perform:

"C:\Users\geork\Documents\Github\obfuscator\build\src\RelWithDebInfo\obfuscator.exe" C:\Users\geork\Documents\Github\obfox\test_app\AppKey\x64\Debug\AppKey.exe -pdb C:\Users\geork\Documents\Github\obfox\test_app\AppKey\x64\Debug\AppKey.pdb -f main -t ConstantCrypt -t BogusControlFlow -t DecompBreak -t Substitution -v SomeValue0 133

AppKey source code:

#include <stdio.h>
#include <string.h>


#define PASS "key01234"
#define BUFF_SIZE 0xFF

int main(void) {
	printf("Enter key: ");
	char key[BUFF_SIZE];

	fgets(key, BUFF_SIZE, stdin);
	key[sizeof(PASS) - 1] = '\0';

	if (strcmp(key, PASS) == 0) {
		printf("Correct key!\n");
	} else {
		printf("Incorrect key!\n");
	}

	getchar();
	return 0;
}

I've tried both Release and Release with debug info versions of obfuscator. Both do nothing, guess it because of exception:

image

Console output:

image

If I remove all of the transforms I want to apply to program and leave only, for example, ConstantCrypt still doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions