testing a shellcode...
        Posted  
        
            by kmitnick
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by kmitnick
        
        
        
        Published on 2010-05-09T14:49:17Z
        Indexed on 
            2010/05/09
            14:58 UTC
        
        
        Read the original article
        Hit count: 381
        
hey folks,
I have this piece of code to test a shellcode but I don't understand it so can anyone explain it to me???
forget about the assembly shellcode, what i want to understand is the C code
char shellcode[] = "...";
int main(int argc, char **argv)
{
int (*func)();
func = (int (*)()) shellcode;
(int)(*func)();
}
I mean everything, what is the empty () ,please explain it as if you are explaining it to a beginner thnx all
© Stack Overflow or respective owner