Giter VIP home page Giter VIP logo

father's Issues

Can't compile on CentOS 7

Helllo,

I've tried to compile Father on CentOS 7 4.4.241-1.el7.elrepo.x86_64. but I got an error message below. I can compile it on Debian 10 4.4.241-1.el7.elrepo.x86_64. It would be great if we can use it on CentOs, as well. Thx!

$ make
gcc -Wall -ldl -o rk.so -fPIC -shared -D_GNU_SOURCE father.c
father.c:128:51: error: conflicting types for ‘restrict’
int (*o_lstat)(const char *restrict, struct stat *restrict);
^
father.c:128:28: note: previous definition of ‘restrict’ was here
int (*o_lstat)(const char *restrict, struct stat *restrict);
^
father.c:129:32: error: expected ‘;’, ‘,’ or ‘)’ before ‘path’
int lstat(const char *restrict path, struct stat *restrict buf) {

Port hiding is not working either on Debian or Centos

Hello mav8557,
thank you very much for removing unneeded restricted pointers I can compile Father on CentOS 7, gcc 4.8.5 20150623 now. However, port hiding does not work either on CentOS or Debian 10 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2.

[root@osboxes Father]# netstat -tulpn | grep 0.0.0.0:65088
tcp 0 0 0.0.0.0:65088 0.0.0.0:* LISTEN 2833/ncat

[root@osboxes Father]# grep HIDDENPORT config.h
#define HIDDENPORT "FE40"

Thank you.

Can't compile using gcc version 11.1.0

The code can't be compile using gcc version 11.

gcc -Wall -fPIC -shared -D_GNU_SOURCE -o bin/access.o src/access.c -c
src/access.c: In function ‘access’:
src/access.c:23:18: error: ‘_STAT_VER’ undeclared (first use in this function)
   23 |         __lxstat(_STAT_VER, pathname, &s_buf);
      |                  ^~~~~~~~~
src/access.c:23:18: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:16: bin/access.o] Error 1

Comprehensive Documentation

Update the documentation to describe all features, including connection and process hiding, as well as new features like the PAM backdoor and all dependencies.

Test Suite

Implement a test suite for rootkit capabilities, and follow TDD when developing new features.

make error

os: centos 6.7 x86_64

[root@Father-master]# make
gcc -Wall -ldl -o rk.so -fPIC -shared -D_GNU_SOURCE father.c
father.c:128: error: conflicting types for ‘restrict’
father.c:128: note: previous definition of ‘restrict’ was here
father.c:129: error: expected ‘;’, ‘,’ or ‘)’ before ‘path’
make: *** [father] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.