zarkones / XENA

XENA is Corss-Platform Software for Cyber-Security Automation, Adversary Simulations, and Red Team Operations. XENA strives to be fully integrated security penetration testing framework. It is equipped with a post-exploitation agent, C2 server, and a dark-themed elegant user interface.
https://xena.network
Other
275 stars 46 forks source link

Tested again on my ubuntu x64, Still problems, I understanf it is still outgoing development #48

Closed Frido-Cpp closed 2 months ago

Frido-Cpp commented 2 years ago

root@MacBook:~/XENA# ./setup_linux_64bit Welcome to XENA! Setup process initiated. This may take some time. Creating a key pair. Created. Checking Docker. Installed. Creating a docker network. Created. Creating two containers: xena-atila, xena-atila-postgres. Success. Creating two containers: xena-domena, xena-domena-postgres. Success. Creating two containers: xena-pyramid, xena-pyramid-postgres. Success. Creating one container: xena-gateway. Success. Creating one container: xena-Face.

The database cluster will be initialized with locale "en_US.utf8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok

Success. You can now start the database server using:

pg_ctl -D /var/lib/postgresql/data -l logfile start

waiting for server to start....2022-03-03 10:31:43.104 UTC [47] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit 2022-03-03 10:31:43.106 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2022-03-03 10:31:43.116 UTC [48] LOG: database system was shut down at 2022-03-03 10:31:42 UTC 2022-03-03 10:31:43.123 UTC [47] LOG: database system is ready to accept connections done server started CREATE DATABASE

/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

2022-03-03 10:31:43.423 UTC [47] LOG: received fast shutdown request waiting for server to shut down....2022-03-03 10:31:43.425 UTC [47] LOG: aborting any active transactions 2022-03-03 10:31:43.433 UTC [47] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 2022-03-03 10:31:43.433 UTC [49] LOG: shutting down 2022-03-03 10:31:43.447 UTC [47] LOG: database system is shut down done server stopped

PostgreSQL init process complete; ready for start up.

The database cluster will be initialized with locale "en_US.utf8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok

Success. You can now start the database server using:

pg_ctl -D /var/lib/postgresql/data -l logfile start

waiting for server to start....2022-03-03 10:34:30.560 UTC [47] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit 2022-03-03 10:34:30.566 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2022-03-03 10:34:30.577 UTC [48] LOG: database system was shut down at 2022-03-03 10:34:30 UTC 2022-03-03 10:34:30.587 UTC [47] LOG: database system is ready to accept connections done server started CREATE DATABASE

/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

2022-03-03 10:34:30.965 UTC [47] LOG: received fast shutdown request waiting for server to shut down....2022-03-03 10:34:30.967 UTC [47] LOG: aborting any active transactions 2022-03-03 10:34:30.974 UTC [47] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 2022-03-03 10:34:30.975 UTC [49] LOG: shutting down 2022-03-03 10:34:30.988 UTC [47] LOG: database system is shut down done server stopped

PostgreSQL init process complete; ready for start up.

The database cluster will be initialized with locale "en_US.utf8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok

Success. You can now start the database server using:

pg_ctl -D /var/lib/postgresql/data -l logfile start

waiting for server to start....2022-03-03 10:37:43.712 UTC [48] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit 2022-03-03 10:37:43.721 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2022-03-03 10:37:43.735 UTC [49] LOG: database system was shut down at 2022-03-03 10:37:43 UTC 2022-03-03 10:37:43.744 UTC [48] LOG: database system is ready to accept connections done server started CREATE DATABASE

/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

2022-03-03 10:37:44.199 UTC [48] LOG: received fast shutdown request waiting for server to shut down....2022-03-03 10:37:44.200 UTC [48] LOG: aborting any active transactions 2022-03-03 10:37:44.212 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1 2022-03-03 10:37:44.212 UTC [50] LOG: shutting down 2022-03-03 10:37:44.237 UTC [48] LOG: database system is shut down done server stopped

PostgreSQL init process complete; ready for start up.

Seems like something went wrong. Please, submit a ticket at: https://github.com/zarkones/XENA/issues

Provide the logs when submiting a ticket.

FIX TIPS:

    1. "exit status 125" indicates a conflict in container names. Delete all containers with the prefix 'xena' and run setup process again.

exit status 1. Unable to build and run xena-face container. panic: DOCKER_INIT_FACE_FAILED

goroutine 1 [running]: main.main() /home/windowsx/Desktop/xena/tools/xena-tool-automagic/main.go:178 +0xc18

zarkones commented 2 months ago

Closing this issue V2 of XENA is being published soon.