XML External Entity - XXE Attack

XXE is a web-based vulnerability that enables an adversary to interfere with XML data processes in a web application. An XXE attack can be carried out by exploiting the way in which XML parses data. An XXE attack can lead to - denial of service (DoS), server-side request forgery (SSRF), local file inclusion (LFI), directory traversal, remote code execution (RCE), network port scanning. There are two types of XXE attacks:...

July 1, 2023 · 3 min · Penthaa Patel

A concise guide to gRPC services for beginners

This post was originally published on my Medium profile : A concise guide to gRPC for beginners A series of simple, beginner friendly tutorials that explain the what, why and how of gRPC. Getting started - Understanding RPC What is RPC? RPC aka Remote Procedure Calls - are just like functions. These functions are executed on some remote system and hence the name. It follows a request - response model. A request is initiated from the client - this request is a function call with certain parameters and then, the server returns a response....

March 25, 2021 · 3 min · Penthaa Patel

How to implement a simple RPC service using Golang

This post was originally published on my Medium profile : How to implement a simple gRPC service using Golang If you want a general introduction to RPC you might want to check out my previous article in this series - A concise guide to gRPC for beginners The implemented code can be found on my GitHub Repository : Link to GitHub repository Before you begin Install Golang Install proto compilers Workflow Define protocol - Write ....

March 25, 2021 · 4 min · Penthaa Patel

Difference between functions and methods in Golang

This post was originally published on my Medium profile : Difference between functions and methods in Golang The words function and method are used almost interchangeably, but there are subtle differences in their implementation and usage when used in Golang. Let’s see what the difference is and how its used. Function Functions accept a set of input parameters, perform some operations on the input and produce an output with a specific return type....

March 18, 2021 · 2 min · Penthaa Patel

Contributing to Open Source Go projects on GitHub - A recipe to clone forked Go repositories

This post was originally published on my Dev.to profile : Contributing to Open Source Go projects on GitHub — A recipe to clone forked Go repos. Phew! It took me a while to figure out the entire process so I decided to write this post and I hope it’ll further help everyone else get started. I managed to gather all the ingredients and curate the recipe to start working on an open source Golang project…so follow along....

June 8, 2019 · 3 min · Penthaa Patel