Skip to main content

Posts

cURL-Siteminder Automation (Automating Authentication)

I have discovered that cURL is intelligent than humans !! cURL is surrounded by a huge list of command-line options which makes it even powerful than browser itself Scenario in our company Siteminder protects web-pages and web-services under particular FQDN/realm Siteminder integrates with SSO/LDAP. Hence a Userid/Password is always displayed when u enter our FQDN We wanted to automate data collection and measurement via automated mechanism and cannot bypass siteminder security Some Definitions Siteminder Realm - A domain which shares an authentication database and servers. There is a single name-space for principal name/instance pairs within a realm. A realm is also a logical collection of clients and servers registered in the database. SSO - Single Sign-on by various mechanisms. We had One time password (OTP) also in our devices which needs manual entry as its tied to a human user. How it can be achieved cURL can do the magic !! Install cURL (hopefully most of *

Putty Tunnels and Accessing remote IP blocked via firewall

This article will show step by step instructions How to setup tunnelling in Putty . This is extremely useful if a port is not opened over firewall but you can hop to a server with access and from there you can hop to another and so on.. Essentially it forwards port if you have access to atleast one port. Create a new SSH session - and save it. And click on load to load the settings. Choose the server and port  where you have already got access and firewall works. (eg.  ServerA, Port: 22) Select Tunnels from the Left Menu, specify the Source Port and Destination: The tunnel is created between the REMOTE UNIX box and your local machine (localhost). So, the source port will be the port on the REMOTE UNIX box  to which you want to talk to at a specific port which you can't access (eg Port 37150). And the destination will be your localhost, which will act as the other end your tunnel session [ad#ad-3] Click Save after selecting the"Session" Open the saved sessi

Google Chromecast vs Raspberry Pi vs Apple TV vs Roku vs Cubieboard (&others)

Let the "Living Room" media entertainment start ....  Who will be the winner? Dont know, but surely, everyone loves to have a bite including samsung, htc, lg etc..   Let's try to compare the strategy , specifications and Tech Specs of Google Chromecast , Raspberry Pi, Apple TV and other less known brands For an updated list for 2015, please visit this link Apple TV  I have owned Apple TV3 from when it was released. Cost varies around £60 - £100 in the UK from various sellers.  Apple TV3 is very powerful at time of launch. A5 chip, Wi-Fi (b/g/n), HDMI, 1080p full HD, Airplay support  ( Full Specs here ) within Highly restrictive and till now NOT able to jailbreak AppleTV3 (at time of writing). Very limited set of inbuilt apps unless jailbroken. This would feel restrictive for advanced users and for poor apps (like Lovefilm) which doesn't have airplay support.  In Summary, AppleTV requires more of an apple Environment. You could buy mirroring softwares like

VMware - Ubuntu - Git - Installation experience

I was trying to install Git into a *NIX system to for testing purposes. Hence the overall steps included Installing VMware into Windows XP (Host) machine Installing Ubuntu (Guest) into VMware Sharing Folder between "Host" and "Guest" machine Proxy protected using username and password. Installing "git" into Guest virtual OS Just thought of noting down the issues I faced VMware settings and Network Adapter I have chosen 20GB hard disk space and 1GB memory (RAM) for the virtual machine.  I've disabled Floppy from the hardware list.  Choose "NAT" in Network Adapter and share host's IP address Ubuntu Installation and 3D acceleration Issues After installing Ubuntu 12.04, 12.10 and 13.04 (tried all), I found that Ubuntu desktop showed blank with no Icons. The desktop had no visible sidebar nor any menu options. These were enabled and active but corrupted and blacked out.   The fix is to disable "3D graphics" option within VM

Firefox - Remove slow and wave effect from high resolution monitors

I am using laptop (with no special graphics card, but only inbuilt) and extending it to external monitor. The external monitor is high contrast and supports upto 1920 x 1080 (full HD) resolution. When Mozilla Firefox is opened in this high definition Monitor, it becomes very slow and wavy.  The dragging effect is too much and discourages from using Firefox !! A solution to this is to "Disable Hardware Acceleration" within Firefox settings. To do this Firefox -> Tools -> Options -> Advanced -> General Remove the "tick"  from (Uncheck) "Use Hardware Acceleration when available" Firefox fix has been tested on Samsung SyncMaster BX2240,  Syncmaster 2443 monitors  Advanced Users about:config   -> layers.acceleration.disabled  -> change value to " true "

Putty Session automation and portability

Hope you all have "Putty" as your favourite ssh client? For me too..   But sometimes, I felt there are some issues when you are working with 100's of servers and multiple locations.  This article will guide you to achieve Putty portability: by storing sessions in files rather than in windows Registry Automate creation of Putty sessions:  No more manual entries one by one Consistent coloring of Putty sessions for team Consistent naming conventions for Putty sessions "Keepass" to putty integration: Password management and automated login Use "SuperPutty" to allow multiple putty sessions in a single Tab Pre-requisite   Full package available to download at end of this document Basic knowledge of coding. Overall understanding of tools Portable Putty: Ability to store sessions to file ( http://jakub.kotrla.net/putty/ ) Optional: AutoIT ( http://www.autoitscript.com/site/autoit/ ) : For automation purpose in Windows PC's. (Alternatively

Keepass Password Safe - Bulk Actions using field references

Keepass password vault and the simplicity of the tool are essential if your day to day work. But I always encountered problem when it came to bulk actions; especially when passwords were the same for a set of servers (group) Bulk Actions on Keepass To do bulk actions (mass batch changes) , it is always advisable to have your list organized into groups. So that in future you can make it more granular. Below is a sample to reference a single master password for a group of NON-PROD Unix Servers Create a MASTER entry into the group.  (eg  MASTER_NON_PROD_UNIX) Put your group password into this entry Edit the individual entries which you want to reference this MASTER entry Within the Edit Window -> Remove any entries from "Password" and "Repeat" fields Within the Edit Window -> Tools -> Insert Field Reference -> "In password Field"  Select the MASTER entry from the list. Identify source entry by "UUID"   , Source field to refe