
Latest on TechBootstrap

What’s New in Kali Linux 2022.3?
Things to know about the latest Kali release. 1. New Tools Here are all the new tools that come with the release. BruteShark – Network Analysis Tool DefectDojo – Open-source application vulnerability correlation and security orchestration tool phpsploit – Stealth post-exploitation framework shellfire – Exploiting LFI/RFI and command injection vulnerabilities SprayingToolkit – Password spraying attacks against Lync/S4B, OWA, and O365 Kali Documentation Updates There has

How to Convert Camel Case to Snake Case JavaScript
let message = ‘helloWorld’ let convertedMessage=message.replace(/[A-Z]/g, letter => `_${letter.toLowerCase()}`); console.log(convertedMessage); output -> hello_world

Most Used Cron Expressions
Cron Job Every Minute * * * * * Cron Job Every Hour 0 * * * * Cron Job Every Day Midnight 0 0 * * * Cron Job Every 5 Minute */5 * * * * Cron Job Every 2 Hours 0 */2 * * * Cron Job Every Week 0 0 * * 0 * -> min

Most Used Java Stream Map Functions
Retriving a List of attribute (field) values from a Object List (Array List) List users=new ArrayList<>(); List userIds=users .stream() .map(u->u.getId()) .collect(Collectors.toList()); Filter Objects by Attribute in a Array List List users=new ArrayList<>(); List filteredUsers=users .stream() .filter(u->u.getId().equals(1l)) .collect(Collectors.toList()); Check if All Values of a Array List Matches a Cirtain Condition checking if all the users in the list are having active

Create a New User in PostgreSQL
Note: This post only provides the key commands of the postgreSQL as a easy way for developers. If you need to learn in depth, please refer to the official documentation Create a new user in PostgreSQL CREATE USER <name> WITH PASSWORD ‘<password>’; If the user already exists, add the password by using ALTER USER: ALTER USER <name> WITH PASSWORD ‘<password>’; Followings

Javascript For Loops
Javascript For Loops in the ECMA Standard Simple For Loop The simplest type of for loop increments a variable as its iteration method. The variable acts as a counter for every “n”th element within an object. for (let i = 0; i < array.length; i++) { console.log(array[i]); } The loop could also be written in a way that explicitly shows

How To Install Docker on Ubuntu
Update the apt package index and install packages to allow apt to use a repository over HTTPS: sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release Add Docker’s official GPG key: sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /etc/apt/keyrings/docker.gpg Use the following command to set up the repository: echo “deb [arch=$(dpkg –print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable”

How to Setup Free SSL for Nginx on Ubuntu
Install and Setup free SSL on NGINX on Ubuntu





