Golang array contains specific element or not? [SOLVED]
In this tutorial we have covered different examples to cover golang array contains elements. Use for loop to check for string, int or float64 element in array or using slices.contains
Golang concatenate or merge two or more slices
We can use copy() and append() function to merge or concatenate two or more slices in Golang.
Golang Concat Slices - Remove Duplicates
In this article we learn about different methods which can be used to golang concat slices and remove duplicates
Using golang constants in struct
In general, golang does not allow declaring a constant struct and constant within a struct. But we can use a custom function to perform this purpose
Remove fields from struct or hide them in JSON
Learn how to remove fields from struct in golang or hide them.
How to set default values in GO structs?
There are multiple ways to set default values in go struct. We have explored some of the possible ways such as using an init function, using a separate constructor function or using struct tags
What is the zero value for time.Time in GO?
The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC. The IsZero() method returns whether a time has a zero value or not.
Understand the Concept Of The Internet Market Share
As of April 2022, statistics show that about 63.1% of the world's population have access to the internet and are frequent users. This number is expected to
How to find files in Ubuntu?
There are 5 different ways to find files in ubuntu.
How to download torrent from CLI in Ubuntu?
The word torrent is an expression used to name the metadata linked to the files and folders to be downloaded. A torrent file (.torrent) does not contain the
How to take screenshot in Ubuntu?
Taking screenshots is a feature that the end user needs in every operating system. They probably started offering the take a screenshot feature after the OS
Print a list in reverse order with range()?
In this article we will learn how we can print a list in reverse order with range() in Python for which first we need to know what range() is and how it works.
Golang Fuzz Tutorial With Examples
In this guide, we'll go over the fundamentals of fuzzing in Go. We will create some fuzz tests for functions using the go command, and troubleshoot and debug
How to setup Android Pentesting Lab [100% Free]
Step by Step instructions to setup Android pentesting lab with examples
How to set timezone on Ubuntu?
In this article, we will explain the steps to set the timezone on Ubuntu.
How to save form data in MySQL table Node.js?
This tutorial shows you how to Node.js save form data in MySQL table step-by- step. We will install and configure MySQL on the local machine before creating a
Perform Postgres DB Brute Force Attack
In this guide, I will show how an attacker can perform a Postgres brute force attack on a target system to gain access to a database.
Perform VNC Brute Force Attack
In this guide, I will illustrate ways a bad actor may perform a VNC brute force attack to gain access and control a target computer.
Golang cobra Tutorial [With Examples]
Golang is a perfect programming language for creating CLI applications. In today's post, I will introduce you Cobra - a library for creating powerful modern
How to install Node.js on Ubuntu from tar.xz? [SOLVED]
Step by step instructions to install Node.js in Ubuntu from tar.xz file
DevSecOps vs DevOps - Explaining the Difference
Although DevOps has been serving a phenomenal role in development processes for many years, it's been lacking one small aspect - security. Therefore DevSecOps
Golang Benchmark and Testing [Step-by-Step]
Step by step instructions to perform golang benchmarking and testing
Install Golang on Windows
Step by Step instructions to install golang on WIndows using official archive and choclatey
How to find length of Set in Python?
Use len() function to check length of a set in Python
Golang SQL Tutorial [CRUD Operation]
Step by Step instructions to create and manage QL database using golang sql module. Perform CRUD Operation using GO.
How to Brute Force Attack on Web Forms? [Step-by-Step]
In the previous guide, we learned how to generate a word list using Crunch. In this guide, we will learn how to brute force a web form using THC-Hydra. We
20 top command examples in Linux [Cheat Sheet]
top command in linux is used to monitor runtime cpu, memory usage, NICE value, priority. You can add or remove fields from top command, change the refresh interval
10 tee command examples in Linux [Cheat Sheet]
Multiple tee command examples in Linux with cheat sheet. Syntax to use tee command to append content to a file from a command output.
20+ lshw command examples in Linux [Cheat Sheet]
lshw command cheat sheet with examples to display system hardware information.
lscpu command examples in Linux [Cheat Sheet]
lscpu command in Linux is used to get CPU information in different format such as JSON. You can collect the output and then parse it using JSON module from supported programming language.

