terça-feira, 27 de setembro de 2022

how to install openvas community 22.4 and fix https access and access from the internal network not 127.0.0.1

 You dont find this procedure described from greenbone installation procedure, than for help you in detail the exact point that you need change the configuration of procedure and provide access from:

1) access by https (https:<you greenbone server>)
2) access from internal network and not only 127.0.0.1

execute this configuration in you greenbone server:

# Generate GVM certificates for HTTPS

sudo -u gvm gvm-manage-certs -a


so, during execution this procedure from greenbone installation procedure:




than, change  the line with blue marker for:
1) will possibility access from the any place:

ExecStart=/usr/local/sbin/gsad --foreground --listen=0.0.0.0 --port=9392 --http-only

2) will possibility access from the any place and work by https

ExecStart=/usr/local/sbin/gsad --foreground --listen=0.0.0.0 --port=9392 --https

Obs, after this configuration, the product, stop to work by http for work only https

source: 

https://greenbone.github.io/docs/latest/

https://www.libellux.com/openvas/#set-up-systemd

https://www.libellux.com/openvas/#configuration-files

https://github.com/libellux/Libellux-Up-and-Running/blob/master/docs/openvas/config/ubuntu-22_04_GVM-22.4.0.sh

how to track binary dependency mapping in linux

 

In this example we looking for binary dependency from software "htop"
First of all, we need execute, which htop for understand where binary is located


now, executing "ldd /usr/bin/htop" is possible see all dependences from htop work

is important understand the dependency becasuse all time during using linux app, we need understand the dependency  that is necessary for fix correcty.



domingo, 25 de setembro de 2022

sexta-feira, 23 de setembro de 2022

How to define timezone in ubuntu

 excute this command for list the actually time zone:

timedatectl

after that, list the right timezone for set what should be use:

timedatectl list-timezones

after that, set the rith time zone:

timedatectl set-timezone America/Sao_Paulo

After that execute ntp on following command bellow:

timedatectl set-ntp on