Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello,there have a compile error,can you deal with it. #1

Open
taibaiyifeng opened this issue Mar 13, 2017 · 0 comments
Open

hello,there have a compile error,can you deal with it. #1

taibaiyifeng opened this issue Mar 13, 2017 · 0 comments

Comments

@taibaiyifeng
Copy link

[root@test evil_sysread]# make
make -C /lib/modules/2.6.32-431.el6.x86_64/build M=/home/taibai/Desktop/rootkits/evil_sysread modules
make[1]: Entering directory /usr/src/kernels/2.6.32-431.el6.x86_64' CC [M] /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.o /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c: In function ‘init_module’: /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:118: error: ‘gate_desc’ has no member named ‘a’ /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:118: error: ‘gate_desc’ has no member named ‘b’ /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:119: warning: cast to pointer from integer of different size /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:127: warning: cast to pointer from integer of different size /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c: In function ‘shellcode_execute_backdoor’: /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:287: warning: passing argument 2 of ‘inet_pton_pv’ from incompatible pointer type /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:193: note: expected ‘unsigned char *’ but argument is of type ‘struct in_addr *’ /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:290: warning: passing argument 2 of ‘sk->ops->connect’ from incompatible pointer type /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:290: note: expected ‘struct sockaddr *’ but argument is of type ‘struct sock_addr_in *’ /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:312: warning: passing argument 1 of ‘lookup_address’ makes integer from pointer without a cast /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/pgtable_types.h:336: note: expected ‘long unsigned int’ but argument is of type ‘char *’ /home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.c:318: warning: function declaration isn’t a prototype make[2]: *** [/home/taibai/Desktop/rootkits/evil_sysread/evil_syscall_read.o] Error 1 make[1]: *** [_module_/home/taibai/Desktop/rootkits/evil_sysread] Error 2 make[1]: Leaving directory /usr/src/kernels/2.6.32-431.el6.x86_64'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant