Sunday, May 17, 2015

Install Redis in Kali Linux

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


Saturday, May 16, 2015

Encryption/Decryption of XML file

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.

Friday, May 15, 2015

Configuring TACACS+ in GNS3 and Packet Tracer


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



Google OAuth 2.0 Playground

Step 1:


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.