development

Server side (vulnerability scanning)

Server side (vulnerability scanning)

Ethical HackingVisit the github project: https://github.com/samglish/ServerSide Tools Skipfish Owasp Disrbuster Webslayer Nmap Nessus The first scanner we will use Nmap to see the services running, launch nmap. nmap -sV 145.14.145.161 Enter fullscreen mode Exit fullscreen mode output Starting Nmap 7.91 ( https://nmap.org ) at 2024-07-04 22:50 WAT Nmap scan report for 145.14.145.161 Host is up (0.28s latency). Not shown: 997 filtered ports PORT STATE SERVICE VERSION 21/tcp open ftp? 80/tcp open http awex 443/tcp open ssl/https awex 2 services unrecognized despite returning data. If you know the service/version, please submit the following fingerprints at https://nmap.org/cgi-bin/submit.cgi?new-service : Enter fullscreen mode Exit…
Read More
Introduction to Functional Programming in JavaScript: Closure #2

Introduction to Functional Programming in JavaScript: Closure #2

Closures are a fundamental concept in JavaScript that every developer should understand. They play a crucial role in functional programming and are essential for creating more advanced functionality in JavaScript applications. What is a Closure? A closure is a function that has access to its own scope, the scope of the outer function, and the global scope. This means that a closure can access variables and parameters from its own function scope, the scope of the function that contains it, and any global variables. In other words, a closure allows a function to "remember" the environment in which it was…
Read More
HTML Forms- In details

HTML Forms- In details

Forms are essential components in HTML, allowing users to submit data to a server. This guide will explore the creation and handling of HTML forms, providing examples and best practices. 1. Basic Form Structure A basic HTML form is created using the <form> element. Within the form, various input elements like text fields, radio buttons, and submit buttons are used to collect user data. Example: Basic Form <!DOCTYPE html> <html> <head> <title>Basic Form Example</title> </head> <body> <h1>Basic HTML Form</h1> <form action="/submit" method="post"> <label for="name">Name:</label> <input type="text" id="name" name="name"><br><br> <label for="email">Email:</label> <input type="email" id="email" name="email"><br><br> <input type="submit" value="Submit"> </form> </body> </html>…
Read More
Wildcard Generic Types

Wildcard Generic Types

You can use unbounded wildcards, bounded wildcards, or lower-bound wildcards to specify a range for a generic type. What are wildcard generic types and why are they needed? The code below gives an example todemonstrate the needs. The example defines a generic max method for finding the maximum in a stack of numbers (lines 15–25). The main method creates a stack of integer objects, adds three integers to the stack, and invokes the max method to find the maximum number in the stack. The program above has a compile error in line 11 because intStack is not an instance of…
Read More
Introduction to Pact Flow

Introduction to Pact Flow

Introduction to Contract Testing Definition and importance of contract testing: Imagine that you and your friends are planning a party and each one has a task: one will bring the snacks, another the sweets, and another the drinks. To ensure that everything goes well, you make a list of what everyone should bring. "Contract testing" is like this list, but for computer programs that need to talk to each other. It checks that each part of the program is doing exactly what it promised, just like you check that each friend brought what they agreed to for the party. This…
Read More
Innovative JavaScript Features in 2024: Enhancing Developer Experience and Codebase Quality

Innovative JavaScript Features in 2024: Enhancing Developer Experience and Codebase Quality

The JavaScript language continues to evolve, and 2024 brings some exciting new features that will improve the developer experience and codebase quality. Let's explore some of these features and how they will benefit developers. 1)** Temporal**Temporal is a proposal to introduce a new global object that replaces the existing Date object in JavaScript. This new object offers a more modern and intuitive API for working with dates, times, and time zones. With Temporal, developers can easily handle complex date and time-related tasks, ensuring accurate and reliable results. This feature will reduce the need for external libraries and minimize potential errors…
Read More
Event-Driven Architecture: reconcile Notification and Event-Carried State Transfer patterns

Event-Driven Architecture: reconcile Notification and Event-Carried State Transfer patterns

Event-driven architectures have tremendous benefits: decoupling application components brings improved resilience, the ability to isolate non-scalable workloads from unpredictable user traffic and better user experience (returning a response before we do the complexe processing). However, their design is not easy and can lead to numerous debates among developers and architects: should we have very minimalistic events, requiring consumers to fetch additional information? do we need fully-qualified events? .. In this post, I explain the different types of events and propose a way to simply reconcile the different approaches by relying on AWS EventBridge. A Github repo with fully functional examples…
Read More
10000 Followers… Thank you!

10000 Followers… Thank you!

Hi Beautiful Dev community, I'm Antonio, CEO & Founder at Litlyx. I wanted to say a big to all of you who decided to click follow on my profile. soooooooo It means a lot for me because my mission here is to connect with the most people as possible and bring awareness on our open-source project Litlyx. 1000 Stars on Git is our Next Goal! So please leave us a star on our Repository.You wil help us a lot and is just 2 click from here. Thank you so much to each of you! I will continue to provide useful…
Read More
Linux User Creation Bash Script

Linux User Creation Bash Script

As your company scales and brings in new developers, managing user accounts manually can become cumbersome and error-prone. Automating this process with a Bash script can save time and ensure consistency across the board. In this article, I'll walk you through creating a Bash script called create_users.sh that reads a text file containing usernames and group names, creates the necessary users and groups, sets up home directories, generates random passwords, and logs all actions. Let's dive in! RequirementsInput File: A text file where each line is formatted as user;groups. Usernames and groups are separated by a semicolon ;, and multiple…
Read More
Hosting a Static Website Using Microsoft Azure Blob Storage

Hosting a Static Website Using Microsoft Azure Blob Storage

Microsoft's cloud storage solution for contemporary data storage scenarios is the Azure Storage platform. For a range of cloud-based data items, Azure Storage provides highly accessible, massively scalable, robust, and secure storage. Anywhere in the globe may access Azure Storage data objects using HTTP or HTTPS.All kinds of data are stored in Azure storage. Its primary purpose is to provide easy access to storage for both structured and unstructured data. Your static website may be quickly uploaded to Microsoft Azure, where you can establish access control and share the URL with anybody to see your website. In this article I…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.