Posts

Fix Visual Studio Update Error in Windows 8

Image
I am using Windows 8.1 build 1 (or 8.1.1) and I was having issues while installing updates for windows. It was because of Visual Studio 2010 Service Pack 1 (sp1) which was of size 195 MB and it was failing every time I tried to installed it. It was categorized as an important update so I tried following Microsoft's support blogs for the errors but had no success. So today after a little googling I found a solution to this bug.

Install Redis in Kali Linux

Image
Redis: Redis is an open source, BSD licensed, advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs. Step 1: sudo apt-get update sudo apt-get install build-essential sudo apt-get install tcl8.5 wget http://download.redis.io/releases/redis-3.0.0.tar.gz tar xzf redis-3.0.0.tar.gz

Encryption/Decryption of XML file

Image
You might have encrypt and decrypt a sting value using various cryptographic algorithms and you might have build C programs for that as well. In this tutorial I am going to show you how to Encrypt and Decrypt a XML file using OpenSSL and XMLSec. Things you need: XML file - The file you need to encrypt/decrypt OpenSSL - To generate public/private keys XMLSec - To encrypt/decrypt XML file Template file - Needed for encryption Step 1: Locate your XML file.

Configuring TACACS+ in GNS3 and Packet Tracer

Image
GNS3: Step 1: Check connectivity between router in GNS3 and Kali linux in Virtualbox. IP of Kali linux (TACACS+ server) is 192.168.56.101 and of router (TACACS+ client) is 192.168.56.1. Step 2: Install TACACS+ in Kali linux. apt-get install tacacs+

Getting started with OAuth 2.0 Playground

Image
Google OAuth 2.0 Playground Step 1: Go to https://developers.google.com/oauthplayground/ and login. Step 2: Click on settings and select OAuth flow as Server-side, OAuth endpoint as Google, Access token location as Authorization header w/ Bearer prefix, and Access type as Offline.