Assembler Inline /*poc ofuscacion*/

Iniciado por ksha, Febrero 28, 2011, 04:11:57 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.


aca les dejo un codigo ofuscado con assembler inline que hice hace un tiempo

Código: text

extern int     printf(     __const     char *      __restrict
__format  ,...);    main()   {int      foo =30     ,bar =     45 ,   abx =0;
__asm__ __volatile__    ("addl        %%ebx, %%eax"        :"=a"   (foo)
:"a"(foo), "b"(bar)              );           printf("%c", foo);      int  xor_;
bar=83;       foo=32;           abx++;     xor_=       bar-6; printf ("%c",foo+bar);
int zxw;       zxw=40; if(foo==32)  printf(    "%c",     (((104/4*26)%390
-143)      +1)-zxw);  foo=3*32+1;   for(zxw=97;   zxw>=foo; zxw--)     { printf("%c",
zxw);}    printf( "%c%c" ,13 ,10);}
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Febrero 28, 2011, 04:40:16 PM #1 Ultima modificación: Febrero 28, 2011, 04:43:10 PM por Drinky94
Es un código interesante, pero no creo que ayude el orden con el que as puesto tu las lineas... el compilador va a generar el mismo codigo lo pongas normal o no.

Creo que tambien deberias esperificar que se debe compilar en Dev c++.

PD: lo muevo a código abierto.

salu2!

Estimado.

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

espero q lo leas y luego hablamos
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Estimado.

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

espero q lo leas y luego hablamos

Se lo que es ofuscado, pero pensaba que ivas  a enfocarlo a otro campo.. jeje.

salu2! y perdon por la confusion.

no problem, la gente suele confundirse =)
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login