.Net Simple HTTP Client Helper Class

Recently, I have been working on a mobile app. I don’t like languages that are not C#, and I don’t have a need for low-level access, so I have been using Xamarin.Forms. Xamarin.Forms is super convenient and easy to use. Combined with Shared Projects, Xamarin.Forms allows for 95% of code to be written once and used across all major platforms. Anyways, not time for a sales pitch. My app connects to a RESTful HTTP server (henceforth known as the REST API) developed using the WebAPI framework. For the most part, this consists of getting lists of objects from the server, like a list of categories or a list of restaurants. I wrote a simple helper class for this, and would like to share part of it with you today. Continue reading “.Net Simple HTTP Client Helper Class”

The JS That Belongs On Every Page

Today I am not coming to you with a sob story about vendors or vulnerabilities. At my current company, I develop and maintain one of our testing tools. The tool is a web application that is used hundreds of times a day by several different teams, and is actually called “TestTools” because of its prominence. A few weeks ago I was making some changes to the tool in preparation for some new projects coming up, and while discussing the changes, my co-worker mentioned the Konami Code. So I wondered, how easy would it be do implement the Konami Code into the tool? Continue reading “The JS That Belongs On Every Page”

Encode/Decode base64 Strings using C#.NET

When testing systems, it can be useful to see what’s hidden behind a base64 string. Maybe we are running a secuirty audit and come across an HTTP endpoint using Basic Authentication  :O and we want to illustrate to those that don’t understand the risk and why it should be changed (well, it looks encrypted to a non-technical person…). You might need this for any number of reasons. Maybe you just want to try it for knowledge’s sake. Lucky for us, .NET has wonderful built in methods for working with base64.

Continue reading “Encode/Decode base64 Strings using C#.NET”

Create a website or blog at WordPress.com

Up ↑