Category Archives: Programming

programming

C# – First steps with C# and .NET – part 050.

In this tutorial, I will show you how to receive network traffic with a simple C# code source. First, create one folder named NetConsole and go in this with these commands:

Run the install for DotNet, you can add a package if you want:

You can see the version of this project and… Read More »

Google Apps Script – simple query for Youtube Analitycs – part 042.

This source code is used with Youtube Analitycs and will get information about my channel, like: channel ID, start and end date , metric dimensions and sort by day using in one query.

The result will be something like this:

Google Apps Script – emails to spreadsheet by a given pattern – part 041.

In this tutorial, I will show you how you can add emails from your Gmail account into a spreadsheet by a given pattern. First, you need to create a spreadsheet and use the Google Apps Script editor from the main menu Extensions – Apps Script. The script will need to run with the onOpen function… Read More »

JavaScript – airtable nodejs example – 002.

In the last tutorial, I used a default template project and this is shown on the source code like this:

If you use a grid view, see the next image: then the source code for selection is this:

If you want to use javascript, it needs to have a good field name. For… Read More »

Security – PVS‑Studio.

The development team comes with this intro: PVS‑Studio is a static analyzer on guard of code quality, security known ad SAST, and code safety. PVS‑Studio detects various errors – typos, dead code, and potential vulnerabilities (Static Application Security Testing, SAST). The analyzer matches warnings to the Common Weakness Enumeration, SEI CERT Coding Standards, and supports… Read More »

Security – XXE external entity attack.

XXE known ad XML eXternal Entities is an application security weakness by compromised data processed by an insecurely configured XML parser. XML files may contain the document type definition known as DTD, which describes the structure of an XML file. DTD allows us to define and use XML entities. Let’s see one example:

If… Read More »