Wednesday, August 22, 2018

Nessus - a vulnerability scanner

Nessus is a proprietary vulnerability scanner developed by Tenable Network Security. It is free of charge for personal use in a non-enterprise environment.

Reference:

https://en.wikipedia.org/wiki/Nessus_(software)

Saturday, August 11, 2018

Install Vue

Install NVM (Node Version Manager):

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

Note: You need to logout and log back in.

List the available node versions:

$ nvm ls-remote

Install a node version:

$ nvm install 8.11.3

Use a certain version of node:

$ nvm use 8.9.3

Check node version:

$ node -v

List installed node versions:

$ nvm ls

Install Vue:

$ npm install -g @vue/cli

Create a Vue project:

$ vue create my_project

Switch to the project and add more tools:

$ cd my_project
$ npm install vue-axios axios iview --save
$ npm install js-beautify --save-dev

Add the following lines under "scripts" key:

$ vim package.json

"scripts": {
    "build": "vue-cli-service build --mode production",
    "watch": "vue-cli-service build --mode development --watch",
},

Set up some Vue configuration:

$ vim vue.config.js

module.exports = {
    baseUrl: '/dist/',
    outputDir: 'dist',
    runtimeCompiler: true,
};

Install a hot reload tool to run Go application:

$ go get -u github.com/oxequa/realize
$ realize init

Start realize:

$ realize start

WireGuard - a VPN runs as a module inside the Linux kernel

WireGuard is an open-source software application and protocol that implements virtual private network (VPN) techniques to create secure point-to-point connections in routed or bridged configurations. It is run as a module inside the Linux kernel and aims for better performance than the IPsec and OpenVPN tunneling protocols.

Reference:

https://en.wikipedia.org/wiki/WireGuard

Saturday, August 4, 2018

Execute sudo without Password?

Execute sudo without Password?

At the bottom of the file:

$ sudo visudo

username ALL=(ALL) NOPASSWD: ALL

Reference:

https://askubuntu.com/questions/147241/execute-sudo-without-password