i try to write shell code in file using c , but after execute the program i found the ASCII code not shell code in the file . this is the code :
FILE *shell;
shell = fopen("shell.txt", "w");
fprintf(shell,"shell = '\xbd\x7f\x94' \n");
fclose(shell);