<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5092279862047753544</atom:id><lastBuildDate>Sun, 11 Oct 2026 22:35:24 +0000</lastBuildDate><category>Automation</category><category>Java</category><category>Selenium/WebDriver</category><category>Tech Tricks</category><category>Windows</category><category>Android</category><category>Jenkins</category><category>Maven</category><category>Sharepoint</category><category>AWS</category><category>Certifications</category><category>Hacking</category><category>IntelliJ IDEA</category><category>TestNG</category><category>Tomcat</category><category>Apache</category><category>Blogger</category><category>Facebook</category><category>Git</category><category>Google</category><category>Gradle</category><category>ISTQB</category><category>Jmeter</category><category>MySQL</category><category>PowerShell</category><category>Security</category><category>Security Testing</category><category>Selendroid</category><category>Sqlmap</category><category>Telnet</category><category>svn</category><category>vulnerability</category><title>AuTomate tHe bOX</title><description>&lt;a href=&quot;https://www.automatethebox.com&quot;&gt;https://www.automatethebox.com&lt;/a&gt;</description><link>http://automatethebox.blogspot.com/</link><managingEditor>noreply@blogger.com (Lalit Narnaulia)</managingEditor><generator>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-4954241279094104440</guid><pubDate>Sat, 15 Apr 2017 09:10:00 +0000</pubDate><atom:updated>2017-04-22T21:32:18.300+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">Certifications</category><title>AWS Certified Solutions Architect Associate - AWS Introduction -  Questions</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!--CSS--&gt;
&lt;style&gt;
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
&lt;/style&gt;

&lt;!--HTML--&gt;
&lt;br /&gt;
&lt;div id=&quot;fb-root&quot;&gt;
&lt;/div&gt;
&lt;script&gt;(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = &quot;//connect.facebook.net/en_GB/sdk.js#xfbml=1&amp;version=v2.8&amp;appId=701744476502840&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;

&lt;br /&gt;
&lt;div id=&quot;foo&quot;&gt;
&lt;/div&gt;
&lt;div id=&quot;allthebest&quot;&gt;
All the Best !!! &lt;/div&gt;
&lt;br /&gt;
&lt;button id=&quot;results&quot; onclick=&quot;showResult()&quot; type=&quot;button&quot;&gt;Show Result !!&lt;/button&gt; 
&lt;button disabled=&quot;true&quot; id=&quot;reset&quot; onclick=&quot;reset()&quot; type=&quot;button&quot;&gt;Try Again !!&lt;/button&gt; 
 
&lt;br /&gt;
&lt;div class=&quot;modal&quot; id=&quot;myModal&quot;&gt;
&lt;div class=&quot;modal-content&quot;&gt;
&lt;span class=&quot;close&quot;&gt;×&lt;/span&gt; 
    &lt;br /&gt;
&lt;div id=&quot;myModalText&quot;&gt;
&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;

&lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-7241003421874620&quot; data-ad-format=&quot;auto&quot; data-ad-slot=&quot;8086279991&quot; style=&quot;display: block;&quot;&gt;&lt;/ins&gt;&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;

  &lt;br /&gt;
&lt;div class=&quot;fb-like&quot; data-action=&quot;like&quot; data-href=&quot;https://www.facebook.com/AutomateTheBox/&quot; data-layout=&quot;standard&quot; data-share=&quot;true&quot; data-show-faces=&quot;true&quot; data-size=&quot;large&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--Javascript--&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var _0x9579=[&quot;\x57\x68\x69\x63\x68\x20\x6F\x66\x20\x74\x68\x65\x20\x66\x6F\x6C\x6C\x6F\x77\x69\x6E\x67\x20\x64\x65\x73\x63\x72\x69\x62\x65\x73\x20\x61\x20\x70\x68\x79\x73\x69\x63\x61\x6C\x20\x6C\x6F\x63\x61\x74\x69\x6F\x6E\x20\x61\x72\x6F\x75\x6E\x64\x20\x74\x68\x65\x20\x77\x6F\x72\x6C\x64\x20\x77\x68\x65\x72\x65\x20\x41\x57\x53\x20\x63\x6C\x75\x73\x74\x65\x72\x73\x20\x64\x61\x74\x61\x20\x63\x65\x6E\x74\x65\x72\x73\x3F&quot;,&quot;\x45\x6E\x64\x70\x6F\x69\x6E\x74&quot;,&quot;\x71\x31&quot;,&quot;\x71\x31\x61&quot;,&quot;\x61&quot;,&quot;\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E&quot;,&quot;\x71\x31\x62&quot;,&quot;\x62&quot;,&quot;\x46\x6C\x65\x65\x74&quot;,&quot;\x63&quot;,&quot;\x71\x31\x63&quot;,&quot;\x52\x65\x67\x69\x6F\x6E&quot;,&quot;\x71\x31\x64&quot;,&quot;\x64&quot;,&quot;\x45\x61\x63\x68\x20\x41\x57\x53\x20\x72\x65\x67\x69\x6F\x6E\x20\x69\x73\x20\x63\x6F\x6D\x70\x6F\x73\x65\x64\x20\x6F\x66\x20\x74\x77\x6F\x20\x6F\x72\x20\x6D\x6F\x72\x65\x20\x6C\x6F\x63\x61\x74\x69\x6F\x6E\x73\x20\x74\x68\x61\x74\x20\x6F\x66\x66\x65\x72\x20\x6F\x72\x67\x61\x6E\x69\x7A\x61\x74\x69\x6F\x6E\x73\x20\x74\x68\x65\x20\x61\x62\x69\x6C\x69\x74\x79\x20\x74\x6F\x20\x6F\x70\x65\x72\x61\x74\x65\x20\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x20\x73\x79\x73\x74\x65\x6D\x73\x20\x74\x68\x61\x74\x20\x61\x72\x65\x20\x6D\x6F\x72\x65\x20\x68\x69\x67\x68\x6C\x79\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x2C\x66\x61\x75\x6C\x74\x20\x74\x6F\x6C\x65\x72\x61\x6E\x74\x2C\x61\x6E\x64\x20\x73\x63\x61\x6C\x61\x62\x6C\x65\x20\x74\x68\x61\x6E\x20\x77\x6F\x75\x6C\x64\x20\x62\x65\x20\x70\x6F\x73\x73\x69\x62\x6C\x65\x20\x75\x73\x69\x6E\x67\x20\x61\x20\x73\x69\x6E\x67\x6C\x65\x20\x64\x61\x74\x61\x20\x63\x65\x6E\x74\x65\x72\x2E\x57\x68\x61\x74\x20\x61\x72\x65\x20\x74\x68\x65\x73\x65\x20\x6C\x6F\x63\x61\x74\x69\x6F\x6E\x73\x20\x63\x61\x6C\x6C\x65\x64\x3F&quot;,&quot;\x41\x76\x61\x69\x6C\x61\x62\x69\x6C\x69\x74\x79\x20\x5A\x6F\x6E\x65\x73&quot;,&quot;\x71\x32&quot;,&quot;\x71\x32\x61&quot;,&quot;\x52\x65\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x61\x72\x65\x61\x73&quot;,&quot;\x71\x32\x62&quot;,&quot;\x47\x65\x6F\x67\x72\x61\x70\x68\x69\x63\x20\x64\x69\x73\x74\x72\x69\x63\x74\x73&quot;,&quot;\x71\x32\x63&quot;,&quot;\x43\x6F\x6D\x70\x75\x74\x65\x20\x63\x65\x6E\x74\x65\x72\x73&quot;,&quot;\x71\x32\x64&quot;,&quot;\x57\x68\x61\x74\x20\x69\x73\x20\x74\x68\x65\x20\x64\x65\x70\x6C\x6F\x79\x65\x6D\x65\x6E\x74\x20\x74\x65\x72\x6D\x20\x66\x6F\x72\x20\x61\x6E\x20\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74\x20\x74\x68\x61\x74\x20\x65\x78\x74\x65\x6E\x64\x73\x20\x61\x6E\x20\x65\x78\x69\x73\x74\x69\x6E\x67\x20\x6F\x6E\x2D\x70\x72\x65\x6D\x69\x73\x65\x73\x20\x69\x6E\x66\x72\x61\x73\x74\x75\x72\x75\x63\x74\x75\x72\x65\x20\x69\x6E\x74\x6F\x20\x74\x68\x65\x20\x63\x6C\x6F\x75\x64\x20\x74\x6F\x20\x63\x6F\x6E\x6E\x65\x63\x74\x20\x63\x6C\x6F\x75\x64\x20\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x20\x74\x6F\x20\x69\x6E\x74\x65\x72\x6E\x61\x6C\x20\x73\x79\x73\x74\x65\x6D\x73\x3F&quot;,&quot;\x41\x6C\x6C\x2D\x69\x6E\x20\x64\x65\x70\x6C\x6F\x79\x6D\x65\x6E\x74&quot;,&quot;\x71\x33&quot;,&quot;\x71\x33\x61&quot;,&quot;\x48\x79\x62\x72\x69\x64\x20\x64\x65\x70\x6C\x6F\x79\x65\x6D\x65\x6E\x74&quot;,&quot;\x71\x33\x62&quot;,&quot;\x4F\x6E\x2D\x70\x72\x65\x6D\x69\x73\x65\x73\x20\x64\x65\x70\x6C\x6F\x79\x65\x6D\x65\x6E\x74&quot;,&quot;\x71\x33\x63&quot;,&quot;\x53\x63\x61\x74\x74\x65\x72\x20\x64\x65\x70\x6C\x6F\x79\x65\x6D\x65\x6E\x74&quot;,&quot;\x71\x33\x64&quot;,&quot;\x57\x68\x69\x63\x68\x20\x41\x57\x53\x20\x43\x6C\x6F\x75\x64\x20\x73\x65\x72\x76\x69\x63\x65\x20\x61\x6C\x6C\x6F\x77\x73\x20\x6F\x72\x67\x61\x6E\x69\x7A\x61\x74\x69\x6F\x6E\x73\x20\x74\x6F\x20\x67\x61\x69\x6E\x20\x73\x79\x73\x74\x65\x6D\x2D\x77\x69\x64\x65\x20\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79\x20\x69\x6E\x74\x6F\x20\x72\x65\x73\x6F\x75\x72\x63\x65\x20\x75\x74\x69\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2C\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x70\x65\x72\x66\x6F\x72\x6D\x61\x6E\x63\x65\x2C\x20\x61\x6E\x64\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x61\x6C\x20\x68\x65\x61\x6C\x74\x68\x3F&quot;,&quot;\x41\x57\x53\x20\x49\x64\x65\x6E\x74\x69\x74\x79\x20\x61\x6E\x64\x20\x41\x63\x63\x65\x73\x73\x20\x4D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x20\x28\x49\x41\x4D\x29&quot;,&quot;\x71\x34&quot;,&quot;\x71\x34\x61&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x53\x69\x6D\x70\x6C\x65\x20\x4E\x6F\x74\x69\x66\x69\x63\x61\x74\x69\x6F\x6E\x20\x53\x65\x72\x76\x69\x63\x65\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x53\x4E\x53\x29&quot;,&quot;\x71\x34\x62&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x43\x6C\x6F\x75\x64\x57\x61\x74\x63\x68&quot;,&quot;\x71\x34\x63&quot;,&quot;\x41\x57\x53\x20\x43\x6C\x6F\x75\x64\x46\x6F\x72\x6D\x61\x74\x69\x6F\x6E&quot;,&quot;\x71\x34\x64&quot;,&quot;\x57\x68\x69\x63\x68\x20\x6F\x66\x20\x74\x68\x65\x20\x66\x6F\x6C\x6C\x6F\x77\x69\x6E\x67\x20\x41\x57\x53\x20\x43\x6C\x6F\x75\x64\x20\x73\x65\x72\x76\x69\x63\x65\x73\x20\x69\x73\x20\x61\x20\x66\x75\x6C\x6C\x79\x20\x6D\x61\x6E\x61\x67\x65\x64\x20\x4E\x6F\x53\x51\x4C\x20\x64\x61\x74\x61\x62\x61\x73\x65\x20\x73\x65\x72\x76\x69\x63\x65\x3F&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x53\x69\x6D\x70\x6C\x65\x20\x51\x75\x65\x75\x65\x20\x53\x65\x72\x76\x69\x63\x65\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x53\x51\x53\x29&quot;,&quot;\x71\x35&quot;,&quot;\x71\x35\x61&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x44\x79\x6E\x61\x6D\x6F\x44\x42&quot;,&quot;\x71\x35\x62&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x6C\x61\x73\x74\x69\x43\x61\x63\x68\x65&quot;,&quot;\x71\x35\x63&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x52\x65\x6C\x61\x74\x69\x6F\x6E\x61\x6C\x20\x44\x61\x74\x61\x62\x61\x73\x65\x20\x53\x65\x72\x76\x69\x63\x65\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x52\x44\x53\x29&quot;,&quot;\x71\x35\x64&quot;,&quot;\x59\x6F\x75\x72\x20\x63\x6F\x6D\x70\x61\x6E\x79\x20\x65\x78\x70\x65\x72\x69\x65\x6E\x63\x65\x73\x20\x66\x6C\x75\x63\x74\x75\x61\x74\x69\x6F\x6E\x73\x20\x69\x6E\x20\x74\x72\x61\x66\x66\x69\x63\x20\x70\x61\x74\x74\x65\x72\x6E\x73\x20\x74\x6F\x20\x74\x68\x65\x69\x72\x20\x65\x2D\x63\x6F\x6D\x6D\x65\x72\x63\x65\x20\x77\x65\x62\x73\x69\x74\x65\x20\x62\x61\x73\x65\x64\x20\x6F\x6E\x20\x66\x6C\x61\x73\x68\x20\x73\x61\x6C\x65\x73\x2E\x57\x68\x61\x74\x20\x73\x65\x72\x76\x69\x63\x65\x20\x63\x61\x6E\x20\x68\x65\x6C\x70\x20\x79\x6F\x75\x72\x20\x63\x6F\x6D\x70\x61\x6E\x79\x20\x64\x79\x6E\x61\x6D\x69\x63\x61\x6C\x6C\x79\x20\x6D\x61\x74\x63\x68\x20\x74\x68\x65\x20\x72\x65\x71\x75\x69\x72\x65\x64\x20\x63\x6F\x6D\x70\x75\x74\x65\x20\x63\x61\x70\x61\x63\x69\x74\x79\x20\x74\x6F\x20\x74\x68\x65\x20\x73\x70\x69\x6B\x65\x20\x69\x6E\x20\x74\x72\x61\x66\x66\x69\x63\x20\x64\x75\x72\x69\x6E\x67\x20\x66\x6C\x61\x73\x68\x20\x73\x61\x6C\x65\x73\x3F&quot;,&quot;\x41\x75\x74\x6F\x20\x53\x63\x61\x6C\x69\x6E\x67&quot;,&quot;\x71\x36&quot;,&quot;\x71\x36\x61&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x47\x6C\x61\x63\x69\x65\x72&quot;,&quot;\x71\x36\x62&quot;,&quot;\x71\x36\x63&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x56\x69\x72\x74\x75\x61\x6C\x20\x50\x72\x69\x76\x61\x74\x65\x20\x43\x6C\x6F\x75\x64\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x56\x50\x43\x29&quot;,&quot;\x71\x36\x64&quot;,&quot;\x59\x6F\x75\x20\x63\x6F\x6D\x70\x61\x6E\x79\x20\x70\x72\x6F\x76\x69\x64\x65\x73\x20\x61\x6E\x20\x6F\x6E\x6C\x69\x6E\x65\x20\x70\x68\x6F\x74\x6F\x20\x73\x68\x61\x72\x69\x6E\x67\x20\x73\x65\x72\x76\x69\x63\x65\x2E\x54\x68\x65\x20\x64\x65\x76\x65\x6C\x6F\x70\x65\x6D\x65\x6E\x74\x20\x74\x65\x61\x6D\x20\x69\x73\x20\x6C\x6F\x6F\x6B\x69\x6E\x67\x20\x66\x6F\x72\x20\x77\x61\x79\x73\x20\x74\x6F\x20\x64\x65\x6C\x69\x76\x65\x72\x20\x69\x6D\x61\x67\x65\x20\x66\x69\x6C\x65\x73\x20\x77\x69\x74\x68\x20\x6C\x6F\x77\x65\x73\x74\x20\x6C\x61\x74\x65\x6E\x63\x79\x20\x74\x6F\x20\x65\x6E\x64\x20\x75\x73\x65\x72\x73\x20\x73\x6F\x20\x74\x68\x65\x20\x77\x65\x62\x73\x69\x74\x65\x20\x63\x6F\x6E\x74\x65\x6E\x74\x20\x69\x73\x20\x64\x65\x6C\x69\x65\x76\x65\x72\x65\x64\x20\x20\x77\x69\x74\x68\x20\x74\x68\x65\x20\x62\x65\x73\x74\x20\x70\x6F\x73\x73\x69\x62\x6C\x65\x20\x70\x65\x72\x66\x6F\x72\x6D\x61\x6E\x63\x65\x2E\x57\x68\x61\x74\x20\x73\x65\x72\x76\x69\x63\x65\x20\x63\x61\x6E\x20\x68\x65\x6C\x70\x20\x73\x70\x65\x65\x64\x20\x75\x70\x20\x64\x69\x73\x74\x72\x69\x62\x75\x74\x69\x6F\x6E\x20\x6F\x66\x20\x74\x68\x65\x73\x65\x20\x69\x6D\x61\x67\x65\x20\x66\x69\x6C\x65\x73\x20\x74\x6F\x20\x65\x6E\x64\x20\x75\x73\x65\x72\x73\x20\x61\x72\x6F\x75\x6E\x64\x20\x74\x68\x65\x20\x77\x6F\x72\x6C\x64\x3F&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x6C\x61\x73\x74\x69\x63\x20\x43\x6F\x6D\x70\x75\x74\x65\x20\x43\x6C\x6F\x75\x64\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x43\x32\x29&quot;,&quot;\x71\x37&quot;,&quot;\x71\x37\x61&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x52\x6F\x75\x74\x65\x20\x35\x33&quot;,&quot;\x71\x37\x62&quot;,&quot;\x41\x57\x53\x20\x53\x74\x6F\x72\x61\x67\x65\x20\x47\x61\x74\x65\x77\x61\x79&quot;,&quot;\x71\x37\x63&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x43\x6C\x6F\x75\x64\x46\x72\x6F\x6E\x74&quot;,&quot;\x71\x37\x64&quot;,&quot;\x59\x6F\x75\x72\x20\x63\x6F\x6D\x70\x61\x6E\x79\x20\x72\x75\x6E\x73\x20\x61\x6E\x20\x45\x6C\x61\x73\x74\x69\x63\x20\x43\x6F\x6D\x70\x75\x74\x65\x20\x43\x6C\x6F\x75\x64\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x43\x32\x29\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x70\x65\x72\x69\x6F\x64\x69\x63\x61\x6C\x6C\x79\x20\x74\x6F\x20\x70\x65\x72\x66\x6F\x72\x6D\x20\x61\x20\x62\x61\x74\x63\x68\x20\x70\x72\x6F\x63\x65\x73\x73\x69\x6E\x67\x20\x6A\x6F\x62\x20\x6F\x6E\x20\x61\x20\x6C\x61\x72\x67\x65\x20\x61\x6E\x64\x20\x67\x72\x6F\x77\x69\x6E\x67\x20\x66\x69\x6C\x65\x73\x79\x73\x74\x65\x6D\x2E\x20\x41\x74\x20\x74\x68\x65\x20\x65\x6E\x64\x20\x6F\x66\x20\x74\x68\x65\x20\x62\x61\x74\x63\x68\x20\x6A\x6F\x62\x2C\x79\x6F\x75\x20\x73\x68\x75\x74\x20\x64\x6F\x77\x6E\x20\x74\x68\x65\x20\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x43\x32\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x74\x6F\x20\x73\x61\x76\x65\x20\x6D\x6F\x6E\x65\x79\x20\x62\x75\x74\x20\x79\x6F\x75\x20\x6E\x65\x65\x64\x20\x74\x6F\x20\x70\x65\x72\x73\x69\x73\x74\x20\x74\x68\x65\x20\x66\x69\x6C\x65\x73\x79\x73\x74\x65\x6D\x20\x6F\x6E\x20\x74\x68\x65\x20\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x43\x32\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x66\x72\x6F\x6D\x20\x74\x68\x65\x20\x70\x72\x65\x76\x69\x6F\x75\x73\x20\x62\x61\x74\x63\x68\x20\x72\x75\x6E\x73\x2E\x57\x68\x61\x74\x20\x41\x57\x53\x20\x43\x6C\x6F\x75\x64\x20\x73\x65\x72\x76\x69\x63\x65\x20\x63\x61\x6E\x20\x79\x6F\x75\x20\x6C\x65\x76\x65\x72\x61\x67\x65\x20\x74\x6F\x20\x6D\x65\x65\x74\x20\x74\x68\x65\x73\x65\x20\x72\x65\x71\x75\x69\x72\x65\x6D\x65\x6E\x74\x73\x3F&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x6C\x61\x73\x74\x69\x63\x20\x42\x6C\x6F\x63\x6B\x20\x53\x74\x6F\x72\x65\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x45\x42\x53\x29&quot;,&quot;\x71\x38&quot;,&quot;\x71\x38\x61&quot;,&quot;\x71\x38\x62&quot;,&quot;\x71\x38\x63&quot;,&quot;\x71\x38\x64&quot;,&quot;\x57\x68\x61\x74\x20\x41\x57\x53\x20\x43\x6C\x6F\x75\x64\x20\x73\x65\x72\x76\x69\x63\x65\x20\x70\x72\x6F\x76\x69\x64\x65\x73\x20\x61\x20\x6C\x6F\x67\x69\x63\x61\x6C\x6C\x79\x20\x69\x73\x6F\x6C\x61\x74\x65\x64\x20\x73\x65\x63\x74\x69\x6F\x6E\x20\x6F\x66\x20\x74\x68\x65\x20\x41\x57\x53\x20\x43\x6C\x6F\x75\x64\x20\x77\x68\x65\x72\x65\x20\x6F\x72\x67\x61\x6E\x69\x7A\x61\x74\x69\x6F\x6E\x73\x20\x63\x61\x6E\x20\x6C\x61\x75\x6E\x63\x68\x20\x41\x57\x53\x20\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x20\x69\x6E\x20\x61\x20\x76\x69\x72\x74\x75\x61\x6C\x20\x6E\x65\x74\x77\x6F\x72\x6B\x20\x20\x74\x68\x61\x74\x20\x74\x68\x65\x79\x20\x64\x65\x66\x69\x6E\x65\x3F&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x53\x69\x6D\x70\x6C\x65\x20\x57\x6F\x72\x6B\x66\x6C\x6F\x77\x20\x53\x65\x72\x76\x69\x63\x65\x20\x28\x41\x6D\x61\x7A\x6F\x6E\x20\x53\x57\x46\x29&quot;,&quot;\x71\x39&quot;,&quot;\x71\x39\x61&quot;,&quot;\x71\x39\x62&quot;,&quot;\x71\x39\x63&quot;,&quot;\x71\x39\x64&quot;,&quot;\x59\x6F\x75\x72\x20\x63\x6F\x6D\x70\x61\x6E\x79\x20\x70\x72\x6F\x76\x69\x64\x65\x73\x20\x61\x20\x6D\x6F\x62\x69\x6C\x65\x20\x76\x6F\x74\x69\x6E\x67\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x61\x20\x70\x6F\x70\x75\x6C\x61\x72\x20\x54\x56\x20\x73\x68\x6F\x77\x2C\x20\x61\x6E\x64\x20\x35\x20\x74\x6F\x20\x32\x35\x20\x6D\x69\x6C\x6C\x69\x6F\x6E\x20\x76\x69\x65\x77\x65\x72\x73\x20\x61\x6C\x6C\x20\x76\x6F\x74\x65\x20\x69\x6E\x20\x31\x35\x2D\x73\x65\x63\x6F\x6E\x64\x20\x74\x69\x6D\x65\x73\x70\x61\x6E\x2E\x57\x68\x61\x74\x20\x6D\x65\x63\x68\x61\x6E\x69\x73\x6D\x20\x63\x61\x6E\x20\x79\x6F\x75\x20\x75\x73\x65\x20\x74\x6F\x20\x64\x65\x63\x6F\x75\x70\x6C\x65\x20\x74\x68\x65\x20\x76\x6F\x74\x69\x6E\x67\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x66\x72\x6F\x6D\x20\x79\x6F\x75\x72\x20\x62\x61\x63\x6B\x2D\x65\x6E\x64\x20\x73\x65\x72\x76\x69\x63\x65\x73\x20\x74\x68\x61\x74\x20\x74\x61\x6C\x6C\x79\x20\x74\x68\x65\x20\x76\x6F\x74\x65\x73\x3F&quot;,&quot;\x41\x57\x53\x20\x43\x6C\x6F\x75\x64\x54\x72\x61\x69\x6C&quot;,&quot;\x71\x31\x30&quot;,&quot;\x71\x31\x30\x61&quot;,&quot;\x71\x31\x30\x62&quot;,&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x52\x65\x64\x53\x68\x69\x66\x74&quot;,&quot;\x71\x31\x30\x63&quot;,&quot;\x71\x31\x30\x64&quot;,&quot;\x6F\x6C&quot;,&quot;\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74&quot;,&quot;\x6C\x65\x6E\x67\x74\x68&quot;,&quot;\x62\x72&quot;,&quot;\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64&quot;,&quot;\x6C\x69&quot;,&quot;\x71\x75\x65\x73\x74\x69\x6F\x6E&quot;,&quot;\x63\x72\x65\x61\x74\x65\x54\x65\x78\x74\x4E\x6F\x64\x65&quot;,&quot;\x61\x6E\x73\x77\x65\x72\x73&quot;,&quot;\x69\x6E\x70\x75\x74&quot;,&quot;\x74\x79\x70\x65&quot;,&quot;\x63\x68\x65\x63\x6B\x62\x6F\x78&quot;,&quot;\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65&quot;,&quot;\x6E\x61\x6D\x65&quot;,&quot;\x76\x61\x6C\x75\x65&quot;,&quot;\x69\x64&quot;,&quot;\x6C\x61\x62\x65\x6C&quot;,&quot;\x68\x74\x6D\x6C\x46\x6F\x72&quot;,&quot;\x6C&quot;,&quot;\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C&quot;,&quot;\x64\x65\x73\x63&quot;,&quot;\x64\x69\x73\x61\x62\x6C\x65\x64&quot;,&quot;\x72\x65\x73\x75\x6C\x74\x73&quot;,&quot;\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64&quot;,&quot;\x72\x65\x73\x65\x74&quot;,&quot;\x63\x68\x65\x63\x6B\x65\x64&quot;,&quot;\x70\x75\x73\x68&quot;,&quot;\x61\x63\x74\x75\x61\x6C\x41\x6E\x73\x77\x65\x72\x73&quot;,&quot;\x71\x75\x65\x73\x74\x69\x6F\x6E\x20&quot;,&quot;\x20\x61\x63\x74\x75\x61\x6C\x20\x61\x6E\x73\x77\x65\x72\x20&quot;,&quot;\x6C\x6F\x67&quot;,&quot;\x20\x65\x78\x70\x65\x63\x74\x65\x64\x20\x61\x6E\x73\x77\x65\x72\x20&quot;,&quot;\x65\x78\x70\x65\x63\x74\x65\x64\x41\x6E\x73\x77\x65\x72\x73&quot;,&quot;\x20\x61\x63\x74\x75\x61\x6C\x20\x61\x6E\x64\x20\x65\x78\x70\x65\x63\x74\x65\x64\x20\x61\x6E\x73\x77\x65\x72\x20\x63\x6F\x75\x6E\x74\x20\x6D\x61\x74\x63\x68\x65\x73&quot;,&quot;\x20\x63\x6F\x72\x72\x65\x63\x74\x2C\x20\x63\x6F\x72\x72\x65\x63\x74\x20\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x77\x20\x3A\x20&quot;,&quot;\x20\x61\x63\x74\x75\x61\x6C\x20\x61\x6E\x64\x20\x65\x78\x70\x65\x63\x74\x65\x64\x20\x61\x6E\x73\x77\x65\x72\x20\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x74\x20\x6D\x61\x74\x63\x68\x65\x73&quot;,&quot;\x63\x6F\x72\x72\x65\x63\x74\x2F\x74\x6F\x74\x61\x6C\x20\x3A\x20&quot;,&quot;\x2F&quot;,&quot;\x54\x6F\x74\x61\x6C\x20\x51\x75\x65\x73\x74\x69\x6F\x6E\x73\x20\x3A\x20&quot;,&quot;\x3C\x62\x72\x3E&quot;,&quot;\x43\x6F\x72\x72\x65\x63\x74\x20\x41\x6E\x73\x77\x65\x72\x73\x20\x3A\x20&quot;,&quot;\x61\x6C\x6C\x74\x68\x65\x62\x65\x73\x74&quot;,&quot;\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72&quot;,&quot;\x73\x74\x79\x6C\x65&quot;,&quot;\x79\x65\x6C\x6C\x6F\x77&quot;,&quot;\x63\x6F\x6C\x6F\x72&quot;,&quot;\x23\x30\x30\x46\x46\x30\x30&quot;,&quot;\x72\x65\x64&quot;,&quot;\x6D\x79\x4D\x6F\x64\x61\x6C&quot;,&quot;\x64\x69\x73\x70\x6C\x61\x79&quot;,&quot;\x62\x6C\x6F\x63\x6B&quot;,&quot;\x6D\x79\x4D\x6F\x64\x61\x6C\x54\x65\x78\x74&quot;,&quot;\x41\x57\x53\x20\x43\x65\x72\x74\x69\x66\x69\x65\x64\x20\x53\x6F\x6C\x75\x74\x69\x6F\x6E\x73\x20\x41\x72\x63\x68\x69\x74\x65\x63\x74\x20\x41\x73\x73\x6F\x63\x69\x61\x74\x65\x20\x2D\x20\x53\x61\x6D\x70\x6C\x65\x20\x51\x75\x65\x73\x74\x69\x6F\x6E\x73&quot;,&quot;\x63\x6C\x6F\x73\x65&quot;,&quot;\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x43\x6C\x61\x73\x73\x4E\x61\x6D\x65&quot;,&quot;\x6F\x6E\x63\x6C\x69\x63\x6B&quot;,&quot;\x6E\x6F\x6E\x65&quot;,&quot;\x74\x61\x72\x67\x65\x74&quot;,&quot;\x41\x6C\x6C\x20\x74\x68\x65\x20\x42\x65\x73\x74\x20\x21\x21\x21&quot;,&quot;&quot;,&quot;\x66\x6F\x6F&quot;];var questions=[{question:_0x9579[0],answers:[{desc:_0x9579[1],name:_0x9579[2],id:_0x9579[3],value:_0x9579[4]},{desc:_0x9579[5],name:_0x9579[2],id:_0x9579[6],value:_0x9579[7]},{desc:_0x9579[8],name:_0x9579[9],id:_0x9579[10],value:_0x9579[9]},{desc:_0x9579[11],name:_0x9579[2],id:_0x9579[12],value:_0x9579[13]}],expectedAnswers:[_0x9579[13]],actualAnswers:[]},{question:_0x9579[14],answers:[{desc:_0x9579[15],name:_0x9579[16],id:_0x9579[17],value:_0x9579[4]},{desc:_0x9579[18],name:_0x9579[16],id:_0x9579[19],value:_0x9579[7]},{desc:_0x9579[20],name:_0x9579[16],id:_0x9579[21],value:_0x9579[9]},{desc:_0x9579[22],name:_0x9579[16],id:_0x9579[23],value:_0x9579[13]}],expectedAnswers:[_0x9579[4]],actualAnswers:[]},{question:_0x9579[24],answers:[{desc:_0x9579[25],name:_0x9579[26],id:_0x9579[27],value:_0x9579[4]},{desc:_0x9579[28],name:_0x9579[26],id:_0x9579[29],value:_0x9579[7]},{desc:_0x9579[30],name:_0x9579[26],id:_0x9579[31],value:_0x9579[9]},{desc:_0x9579[32],name:_0x9579[26],id:_0x9579[33],value:_0x9579[13]}],expectedAnswers:[_0x9579[7]],actualAnswers:[]},{question:_0x9579[34],answers:[{desc:_0x9579[35],name:_0x9579[36],id:_0x9579[37],value:_0x9579[4]},{desc:_0x9579[38],name:_0x9579[36],id:_0x9579[39],value:_0x9579[7]},{desc:_0x9579[40],name:_0x9579[36],id:_0x9579[41],value:_0x9579[9]},{desc:_0x9579[42],name:_0x9579[36],id:_0x9579[43],value:_0x9579[13]}],expectedAnswers:[_0x9579[9]],actualAnswers:[]},{question:_0x9579[44],answers:[{desc:_0x9579[45],name:_0x9579[46],id:_0x9579[47],value:_0x9579[4]},{desc:_0x9579[48],name:_0x9579[46],id:_0x9579[49],value:_0x9579[7]},{desc:_0x9579[50],name:_0x9579[46],id:_0x9579[51],value:_0x9579[9]},{desc:_0x9579[52],name:_0x9579[46],id:_0x9579[53],value:_0x9579[13]}],expectedAnswers:[_0x9579[7]],actualAnswers:[]},{question:_0x9579[54],answers:[{desc:_0x9579[55],name:_0x9579[56],id:_0x9579[57],value:_0x9579[4]},{desc:_0x9579[58],name:_0x9579[56],id:_0x9579[59],value:_0x9579[7]},{desc:_0x9579[38],name:_0x9579[56],id:_0x9579[60],value:_0x9579[9]},{desc:_0x9579[61],name:_0x9579[56],id:_0x9579[62],value:_0x9579[13]}],expectedAnswers:[_0x9579[4]],actualAnswers:[]},{question:_0x9579[63],answers:[{desc:_0x9579[64],name:_0x9579[65],id:_0x9579[66],value:_0x9579[4]},{desc:_0x9579[67],name:_0x9579[65],id:_0x9579[68],value:_0x9579[7]},{desc:_0x9579[69],name:_0x9579[65],id:_0x9579[70],value:_0x9579[9]},{desc:_0x9579[71],name:_0x9579[65],id:_0x9579[72],value:_0x9579[13]}],expectedAnswers:[_0x9579[13]],actualAnswers:[]},{question:_0x9579[73],answers:[{desc:_0x9579[74],name:_0x9579[75],id:_0x9579[76],value:_0x9579[4]},{desc:_0x9579[48],name:_0x9579[75],id:_0x9579[77],value:_0x9579[7]},{desc:_0x9579[58],name:_0x9579[75],id:_0x9579[78],value:_0x9579[9]},{desc:_0x9579[42],name:_0x9579[75],id:_0x9579[79],value:_0x9579[13]}],expectedAnswers:[_0x9579[4]],actualAnswers:[]},{question:_0x9579[80],answers:[{desc:_0x9579[81],name:_0x9579[82],id:_0x9579[83],value:_0x9579[4]},{desc:_0x9579[67],name:_0x9579[82],id:_0x9579[84],value:_0x9579[7]},{desc:_0x9579[61],name:_0x9579[82],id:_0x9579[85],value:_0x9579[9]},{desc:_0x9579[42],name:_0x9579[82],id:_0x9579[86],value:_0x9579[13]}],expectedAnswers:[_0x9579[9]],actualAnswers:[]},{question:_0x9579[87],answers:[{desc:_0x9579[88],name:_0x9579[89],id:_0x9579[90],value:_0x9579[4]},{desc:_0x9579[45],name:_0x9579[89],id:_0x9579[91],value:_0x9579[7]},{desc:_0x9579[92],name:_0x9579[89],id:_0x9579[93],value:_0x9579[9]},{desc:_0x9579[38],name:_0x9579[89],id:_0x9579[94],value:_0x9579[13]}],expectedAnswers:[_0x9579[7]],actualAnswers:[]}];function showQuestions(){var _0xa1c2x3=document[_0x9579[96]](_0x9579[95]);for(i= 0;i&lt; questions[_0x9579[97]];i++){_0xa1c2x3[_0x9579[99]](document[_0x9579[96]](_0x9579[98]));var _0xa1c2x4=document[_0x9579[96]](_0x9579[100]);_0xa1c2x4[_0x9579[99]](document[_0x9579[102]](questions[i][_0x9579[101]]));_0xa1c2x3[_0x9579[99]](_0xa1c2x4);for(j= 0;j&lt; questions[i][_0x9579[103]][_0x9579[97]];j++){var _0xa1c2x5=document[_0x9579[96]](_0x9579[104]);_0xa1c2x5[_0x9579[107]](_0x9579[105],_0x9579[106]);_0xa1c2x5[_0x9579[107]](_0x9579[108],questions[i][_0x9579[103]][j][_0x9579[108]]);_0xa1c2x5[_0x9579[107]](_0x9579[109],questions[i][_0x9579[103]][j][_0x9579[109]]);_0xa1c2x5[_0x9579[107]](_0x9579[110],questions[i][_0x9579[103]][j][_0x9579[110]]);_0xa1c2x3[_0x9579[99]](_0xa1c2x5);var _0xa1c2x6=document[_0x9579[96]](_0x9579[111]);_0xa1c2x6[_0x9579[107]](_0x9579[112],questions[i][_0x9579[103]][j][_0x9579[110]]);_0xa1c2x6[_0x9579[107]](_0x9579[110],questions[i][_0x9579[103]][j][_0x9579[110]]+ _0x9579[113]);_0xa1c2x6[_0x9579[114]]= questions[i][_0x9579[103]][j][_0x9579[115]];_0xa1c2x3[_0x9579[99]](_0xa1c2x6);_0xa1c2x3[_0x9579[99]](document[_0x9579[96]](_0x9579[98]))}};return _0xa1c2x3}function showResult(){document[_0x9579[118]](_0x9579[117])[_0x9579[116]]= true;document[_0x9579[118]](_0x9579[119])[_0x9579[116]]= false;var _0xa1c2x8=0;var _0xa1c2x9=questions[_0x9579[97]];for(i= 0;i&lt; questions[_0x9579[97]];i++){for(j= 0;j&lt; questions[i][_0x9579[103]][_0x9579[97]];j++){var _0xa1c2xa=document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]])[_0x9579[120]];document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]])[_0x9579[116]]= true;if(_0xa1c2xa){questions[i][_0x9579[122]][_0x9579[121]](questions[i][_0x9579[103]][j][_0x9579[109]])}};console[_0x9579[125]](_0x9579[123]+ i+ _0x9579[124]+ questions[i][_0x9579[122]]);console[_0x9579[125]](_0x9579[123]+ i+ _0x9579[126]+ questions[i][_0x9579[127]]);if(questions[i][_0x9579[127]][_0x9579[97]]== questions[i][_0x9579[122]][_0x9579[97]]){console[_0x9579[125]](_0x9579[123]+ i+ _0x9579[128]);var _0xa1c2xb=0;for(k= 0;k&lt; questions[i][_0x9579[127]][_0x9579[97]];k++){if(questions[i][_0x9579[127]][k]== questions[i][_0x9579[122]][k]){_0xa1c2xb+= 1;continue}};if(questions[i][_0x9579[127]][_0x9579[97]]== _0xa1c2xb){_0xa1c2x8+= 1;console[_0x9579[125]](_0x9579[123]+ i+ _0x9579[129]+ _0xa1c2x8)}}else {console[_0x9579[125]](_0x9579[123]+ i+ _0x9579[130])}};console[_0x9579[125]](_0x9579[131]+ _0xa1c2x8+ _0x9579[132]+ _0xa1c2x9);var _0xa1c2xc=_0x9579[133]+ _0xa1c2x9+ _0x9579[134]+ _0x9579[135]+ _0xa1c2x8;document[_0x9579[118]](_0x9579[136])[_0x9579[114]]= _0xa1c2xc;document[_0x9579[118]](_0x9579[136])[_0x9579[138]][_0x9579[137]]= _0x9579[139];for(i= 0;i&lt; questions[_0x9579[97]];i++){for(j= 0;j&lt; questions[i][_0x9579[103]][_0x9579[97]];j++){for(k= 0;k&lt; questions[i][_0x9579[127]][_0x9579[97]];k++){if(document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]])[_0x9579[109]]== questions[i][_0x9579[127]][k]){document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]]+ _0x9579[113])[_0x9579[138]][_0x9579[140]]= _0x9579[141];break}else {if(document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]])[_0x9579[120]]){document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]]+ _0x9579[113])[_0x9579[138]][_0x9579[140]]= _0x9579[142]}}}}};var _0xa1c2xd=document[_0x9579[118]](_0x9579[143]);_0xa1c2xd[_0x9579[138]][_0x9579[144]]= _0x9579[145];document[_0x9579[118]](_0x9579[146])[_0x9579[114]]= _0x9579[147]+ _0x9579[134]+ _0xa1c2xc;var _0xa1c2xe=document[_0x9579[149]](_0x9579[148])[0];_0xa1c2xe[_0x9579[150]]= function(){_0xa1c2xd[_0x9579[138]][_0x9579[144]]= _0x9579[151]};window[_0x9579[150]]= function(_0xa1c2xf){if(_0xa1c2xf[_0x9579[152]]== _0xa1c2xd){_0xa1c2xd[_0x9579[138]][_0x9579[144]]= _0x9579[151]}}}function reset(){document[_0x9579[118]](_0x9579[117])[_0x9579[116]]= false;document[_0x9579[118]](_0x9579[119])[_0x9579[116]]= true;document[_0x9579[118]](_0x9579[136])[_0x9579[114]]= _0x9579[153];document[_0x9579[118]](_0x9579[136])[_0x9579[138]][_0x9579[137]]= _0x9579[154];for(i= 0;i&lt; questions[_0x9579[97]];i++){for(j= 0;j&lt; questions[i][_0x9579[103]][_0x9579[97]];j++){document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]])[_0x9579[120]]= false;document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]])[_0x9579[116]]= false;questions[i][_0x9579[122]]= [];for(k= 0;k&lt; questions[i][_0x9579[127]][_0x9579[97]];k++){console[_0x9579[125]](questions[i][_0x9579[103]][j][_0x9579[110]]);document[_0x9579[118]](questions[i][_0x9579[103]][j][_0x9579[110]]+ _0x9579[113])[_0x9579[138]][_0x9579[140]]= _0x9579[154]}}}}document[_0x9579[118]](_0x9579[155])[_0x9579[99]](showQuestions())&lt;/script&gt;


&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2017/04/aws-certified-solutions-architect_15.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>55</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-5797727336334416046</guid><pubDate>Fri, 14 Apr 2017 13:17:00 +0000</pubDate><atom:updated>2017-04-16T11:01:03.227+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">Certifications</category><title>AWS Certified Solutions Architect Associate - Sample Questions</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!--CSS--&gt;
&lt;style&gt;
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
&lt;/style&gt;

&lt;!--HTML--&gt;
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script&gt;(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = &quot;//connect.facebook.net/en_GB/sdk.js#xfbml=1&amp;version=v2.8&amp;appId=701744476502840&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;

&lt;div id=&quot;foo&quot;&gt;&lt;/div&gt; 
&lt;div id=&quot;allthebest&quot;&gt;All the Best !!! &lt;/div&gt; 
&lt;br&gt; 
&lt;button type=&quot;button&quot; id=&quot;results&quot; onClick=showResult()&gt;Show Result !!&lt;/button&gt; 
&lt;button type=&quot;button&quot; id=&quot;reset&quot; onClick=reset() disabled=&quot;true&quot;&gt;Try Again !!&lt;/button&gt; 
 
&lt;div id=&quot;myModal&quot; class=&quot;modal&quot;&gt; 
  &lt;div class=&quot;modal-content&quot;&gt; 
    &lt;span class=&quot;close&quot;&gt;&amp;times;&lt;/span&gt; 
    &lt;p id=&quot;myModalText&quot;&gt;&lt;/p&gt; 

&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;ins class=&quot;adsbygoogle&quot;
     style=&quot;display:block&quot;
     data-ad-client=&quot;ca-pub-7241003421874620&quot;
     data-ad-slot=&quot;8086279991&quot;
     data-ad-format=&quot;auto&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;

  &lt;div class=&quot;fb-like&quot; data-href=&quot;https://www.facebook.com/AutomateTheBox/&quot; data-layout=&quot;standard&quot; data-action=&quot;like&quot; data-size=&quot;large&quot; data-show-faces=&quot;true&quot; data-share=&quot;true&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;  
&lt;/div&gt;

&lt;!--Javascript--&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var _0xc5c1=[&quot;\x41\x6D\x61\x7A\x6F\x6E\x20\x47\x6C\x61\x63\x69\x65\x72\x20\x69\x73\x20\x64\x65\x73\x69\x67\x6E\x65\x64\x20\x66\x6F\x72\x3A\x20\x28\x43\x68\x6F\x6F\x73\x65\x20\x32\x20\x61\x6E\x73\x77\x65\x72\x73\x29&quot;,&quot;\x41\x63\x74\x69\x76\x65\x20\x64\x61\x74\x61\x62\x61\x73\x65\x20\x73\x74\x6F\x72\x61\x67\x65\x2E&quot;,&quot;\x71\x31&quot;,&quot;\x71\x31\x61&quot;,&quot;\x61&quot;,&quot;\x49\x6E\x66\x72\x65\x71\x75\x65\x6E\x74\x6C\x79\x20\x61\x63\x63\x65\x73\x73\x65\x64\x20\x64\x61\x74\x61\x2E&quot;,&quot;\x71\x31\x62&quot;,&quot;\x62&quot;,&quot;\x44\x61\x74\x61\x20\x61\x72\x63\x68\x69\x76\x65\x73\x2E&quot;,&quot;\x63&quot;,&quot;\x71\x31\x63&quot;,&quot;\x46\x72\x65\x71\x75\x65\x6E\x74\x6C\x79\x20\x61\x63\x63\x65\x73\x73\x65\x64\x20\x64\x61\x74\x61\x2E&quot;,&quot;\x71\x31\x64&quot;,&quot;\x64&quot;,&quot;\x43\x61\x63\x68\x65\x64\x20\x73\x65\x73\x73\x69\x6F\x6E\x20\x64\x61\x74\x61\x2E&quot;,&quot;\x71\x31\x65&quot;,&quot;\x65&quot;,&quot;\x59\x6F\x75\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x64\x20\x45\x4C\x42\x20\x74\x6F\x20\x70\x65\x72\x66\x6F\x72\x6D\x20\x68\x65\x61\x6C\x74\x68\x20\x63\x68\x65\x63\x6B\x73\x20\x6F\x6E\x20\x74\x68\x65\x73\x65\x20\x45\x43\x32\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x73\x2E\x20\x49\x66\x20\x61\x6E\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x66\x61\x69\x6C\x73\x20\x74\x6F\x20\x70\x61\x73\x73\x20\x68\x65\x61\x6C\x74\x68\x20\x63\x68\x65\x63\x6B\x73\x2C\x20\x77\x68\x69\x63\x68\x20\x73\x74\x61\x74\x65\x6D\x65\x6E\x74\x20\x77\x69\x6C\x6C\x20\x62\x65\x20\x74\x72\x75\x65\x3F&quot;,&quot;\x54\x68\x65\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x69\x73\x20\x72\x65\x70\x6C\x61\x63\x65\x64\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x63\x61\x6C\x6C\x79\x20\x62\x79\x20\x74\x68\x65\x20\x45\x4C\x42\x2E&quot;,&quot;\x71\x32&quot;,&quot;\x71\x32\x61&quot;,&quot;\x54\x68\x65\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x67\x65\x74\x73\x20\x74\x65\x72\x6D\x69\x6E\x61\x74\x65\x64\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x63\x61\x6C\x6C\x79\x20\x62\x79\x20\x74\x68\x65\x20\x45\x4C\x42\x2E&quot;,&quot;\x71\x32\x62&quot;,&quot;\x54\x68\x65\x20\x45\x4C\x42\x20\x73\x74\x6F\x70\x73\x20\x73\x65\x6E\x64\x69\x6E\x67\x20\x74\x72\x61\x66\x66\x69\x63\x20\x74\x6F\x20\x74\x68\x65\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x74\x68\x61\x74\x20\x66\x61\x69\x6C\x65\x64\x20\x69\x74\x73\x20\x68\x65\x61\x6C\x74\x68\x20\x63\x68\x65\x63\x6B\x2E&quot;,&quot;\x71\x32\x63&quot;,&quot;\x54\x68\x65\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x67\x65\x74\x73\x20\x71\x75\x61\x72\x61\x6E\x74\x69\x6E\x65\x64\x20\x62\x79\x20\x74\x68\x65\x20\x45\x4C\x42\x20\x66\x6F\x72\x20\x72\x6F\x6F\x74\x20\x63\x61\x75\x73\x65\x20\x61\x6E\x61\x6C\x79\x73\x69\x73\x2E&quot;,&quot;\x71\x32\x64&quot;,&quot;\x59\x6F\x75\x20\x61\x72\x65\x20\x62\x75\x69\x6C\x64\x69\x6E\x67\x20\x61\x20\x73\x79\x73\x74\x65\x6D\x20\x74\x6F\x20\x64\x69\x73\x74\x72\x69\x62\x75\x74\x65\x20\x63\x6F\x6E\x66\x69\x64\x65\x6E\x74\x69\x61\x6C\x20\x74\x72\x61\x69\x6E\x69\x6E\x67\x20\x76\x69\x64\x65\x6F\x73\x20\x74\x6F\x20\x65\x6D\x70\x6C\x6F\x79\x65\x65\x73\x2E\x20\x55\x73\x69\x6E\x67\x20\x43\x6C\x6F\x75\x64\x46\x72\x6F\x6E\x74\x2C\x20\x77\x68\x61\x74\x20\x6D\x65\x74\x68\x6F\x64\x20\x63\x6F\x75\x6C\x64\x20\x62\x65\x20\x75\x73\x65\x64\x20\x74\x6F\x20\x73\x65\x72\x76\x65\x20\x63\x6F\x6E\x74\x65\x6E\x74\x20\x74\x68\x61\x74\x20\x69\x73\x20\x73\x74\x6F\x72\x65\x64\x20\x69\x6E\x20\x53\x33\x2C\x20\x62\x75\x74\x20\x6E\x6F\x74\x20\x70\x75\x62\x6C\x69\x63\x61\x6C\x6C\x79\x20\x61\x63\x63\x65\x73\x73\x69\x62\x6C\x65\x20\x66\x72\x6F\x6D\x20\x53\x33\x20\x64\x69\x72\x65\x63\x74\x6C\x79\x3F&quot;,&quot;\x43\x72\x65\x61\x74\x65\x20\x61\x6E\x20\x4F\x72\x69\x67\x69\x6E\x20\x41\x63\x63\x65\x73\x73\x20\x49\x64\x65\x6E\x74\x69\x74\x79\x20\x28\x4F\x41\x49\x29\x20\x66\x6F\x72\x20\x43\x6C\x6F\x75\x64\x46\x72\x6F\x6E\x74\x20\x61\x6E\x64\x20\x67\x72\x61\x6E\x74\x20\x61\x63\x63\x65\x73\x73\x20\x74\x6F\x20\x74\x68\x65\x20\x6F\x62\x6A\x65\x63\x74\x73\x20\x69\x6E\x20\x79\x6F\x75\x72\x20\x53\x33\x20\x62\x75\x63\x6B\x65\x74\x20\x74\x6F\x20\x74\x68\x61\x74\x20\x4F\x41\x49\x2E&quot;,&quot;\x71\x33&quot;,&quot;\x71\x33\x61&quot;,&quot;\x41\x64\x64\x20\x74\x68\x65\x20\x43\x6C\x6F\x75\x64\x46\x72\x6F\x6E\x74\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x73\x65\x63\x75\x72\x69\x74\x79\x20\x67\x72\x6F\x75\x70\x20\u201C\x61\x6D\x61\x7A\x6F\x6E\x2D\x63\x66\x2F\x61\x6D\x61\x7A\x6F\x6E\x2D\x63\x66\x2D\x73\x67\u201D\x20\x74\x6F\x20\x74\x68\x65\x20\x61\x70\x70\x72\x6F\x70\x72\x69\x61\x74\x65\x20\x53\x33\x20\x62\x75\x63\x6B\x65\x74\x20\x70\x6F\x6C\x69\x63\x79\x2E&quot;,&quot;\x71\x33\x62&quot;,&quot;\x43\x72\x65\x61\x74\x65\x20\x61\x6E\x20\x49\x64\x65\x6E\x74\x69\x74\x79\x20\x61\x6E\x64\x20\x41\x63\x63\x65\x73\x73\x20\x4D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x20\x28\x49\x41\x4D\x29\x20\x55\x73\x65\x72\x20\x66\x6F\x72\x20\x43\x6C\x6F\x75\x64\x46\x72\x6F\x6E\x74\x20\x61\x6E\x64\x20\x67\x72\x61\x6E\x74\x20\x61\x63\x63\x65\x73\x73\x20\x74\x6F\x20\x74\x68\x65\x20\x6F\x62\x6A\x65\x63\x74\x73\x20\x69\x6E\x20\x79\x6F\x75\x72\x20\x53\x33\x20\x62\x75\x63\x6B\x65\x74\x20\x74\x6F\x20\x74\x68\x61\x74\x20\x49\x41\x4D\x20\x55\x73\x65\x72\x2E&quot;,&quot;\x71\x33\x63&quot;,&quot;\x43\x72\x65\x61\x74\x65\x20\x61\x20\x53\x33\x20\x62\x75\x63\x6B\x65\x74\x20\x70\x6F\x6C\x69\x63\x79\x20\x74\x68\x61\x74\x20\x6C\x69\x73\x74\x73\x20\x74\x68\x65\x20\x43\x6C\x6F\x75\x64\x46\x72\x6F\x6E\x74\x20\x64\x69\x73\x74\x72\x69\x62\x75\x74\x69\x6F\x6E\x20\x49\x44\x20\x61\x73\x20\x74\x68\x65\x20\x50\x72\x69\x6E\x63\x69\x70\x61\x6C\x20\x61\x6E\x64\x20\x74\x68\x65\x20\x74\x61\x72\x67\x65\x74\x20\x62\x75\x63\x6B\x65\x74\x20\x61\x73\x20\x74\x68\x65\x20\x41\x6D\x61\x7A\x6F\x6E\x20\x52\x65\x73\x6F\x75\x72\x63\x65\x20\x4E\x61\x6D\x65\x20\x28\x41\x52\x4E\x29\x2E&quot;,&quot;\x71\x33\x64&quot;,&quot;\x57\x68\x69\x63\x68\x20\x6F\x66\x20\x74\x68\x65\x20\x66\x6F\x6C\x6C\x6F\x77\x69\x6E\x67\x20\x77\x69\x6C\x6C\x20\x6F\x63\x63\x75\x72\x20\x77\x68\x65\x6E\x20\x61\x6E\x20\x45\x43\x32\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x69\x6E\x20\x61\x20\x56\x50\x43\x20\x28\x56\x69\x72\x74\x75\x61\x6C\x20\x50\x72\x69\x76\x61\x74\x65\x20\x43\x6C\x6F\x75\x64\x29\x20\x77\x69\x74\x68\x20\x61\x6E\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x45\x6C\x61\x73\x74\x69\x63\x20\x49\x50\x20\x69\x73\x20\x73\x74\x6F\x70\x70\x65\x64\x20\x61\x6E\x64\x20\x73\x74\x61\x72\x74\x65\x64\x3F\x20\x28\x43\x68\x6F\x6F\x73\x65\x20\x32\x20\x61\x6E\x73\x77\x65\x72\x73\x29&quot;,&quot;\x54\x68\x65\x20\x45\x6C\x61\x73\x74\x69\x63\x20\x49\x50\x20\x77\x69\x6C\x6C\x20\x62\x65\x20\x64\x69\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x66\x72\x6F\x6D\x20\x74\x68\x65\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x2E&quot;,&quot;\x71\x34&quot;,&quot;\x71\x34\x61&quot;,&quot;\x41\x6C\x6C\x20\x64\x61\x74\x61\x20\x6F\x6E\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x2D\x73\x74\x6F\x72\x65\x20\x64\x65\x76\x69\x63\x65\x73\x20\x77\x69\x6C\x6C\x20\x62\x65\x20\x6C\x6F\x73\x74\x2E&quot;,&quot;\x71\x34\x62&quot;,&quot;\x41\x6C\x6C\x20\x64\x61\x74\x61\x20\x6F\x6E\x20\x45\x42\x53\x20\x28\x45\x6C\x61\x73\x74\x69\x63\x20\x42\x6C\x6F\x63\x6B\x20\x53\x74\x6F\x72\x65\x29\x20\x64\x65\x76\x69\x63\x65\x73\x20\x77\x69\x6C\x6C\x20\x62\x65\x20\x6C\x6F\x73\x74\x2E&quot;,&quot;\x71\x34\x63&quot;,&quot;\x54\x68\x65\x20\x45\x4E\x49\x20\x28\x45\x6C\x61\x73\x74\x69\x63\x20\x4E\x65\x74\x77\x6F\x72\x6B\x20\x49\x6E\x74\x65\x72\x66\x61\x63\x65\x29\x20\x69\x73\x20\x64\x65\x74\x61\x63\x68\x65\x64\x2E&quot;,&quot;\x71\x34\x64&quot;,&quot;\x54\x68\x65\x20\x75\x6E\x64\x65\x72\x6C\x79\x69\x6E\x67\x20\x68\x6F\x73\x74\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x69\x6E\x73\x74\x61\x6E\x63\x65\x20\x69\x73\x20\x63\x68\x61\x6E\x67\x65\x64\x2E&quot;,&quot;\x71\x34\x65&quot;,&quot;\x49\x6E\x20\x74\x68\x65\x20\x62\x61\x73\x69\x63\x20\x6D\x6F\x6E\x69\x74\x6F\x72\x69\x6E\x67\x20\x70\x61\x63\x6B\x61\x67\x65\x20\x66\x6F\x72\x20\x45\x43\x32\x2C\x20\x41\x6D\x61\x7A\x6F\x6E\x20\x43\x6C\x6F\x75\x64\x57\x61\x74\x63\x68\x20\x70\x72\x6F\x76\x69\x64\x65\x73\x20\x74\x68\x65\x20\x66\x6F\x6C\x6C\x6F\x77\x69\x6E\x67\x20\x6D\x65\x74\x72\x69\x63\x73\x3A&quot;,&quot;\x57\x65\x62\x20\x73\x65\x72\x76\x65\x72\x20\x76\x69\x73\x69\x62\x6C\x65\x20\x6D\x65\x74\x72\x69\x63\x73\x20\x73\x75\x63\x68\x20\x61\x73\x20\x6E\x75\x6D\x62\x65\x72\x20\x66\x61\x69\x6C\x65\x64\x20\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E\x20\x72\x65\x71\x75\x65\x73\x74\x73\x2E&quot;,&quot;\x71\x35&quot;,&quot;\x71\x35\x61&quot;,&quot;\x4F\x70\x65\x72\x61\x74\x69\x6E\x67\x20\x73\x79\x73\x74\x65\x6D\x20\x76\x69\x73\x69\x62\x6C\x65\x20\x6D\x65\x74\x72\x69\x63\x73\x20\x73\x75\x63\x68\x20\x61\x73\x20\x6D\x65\x6D\x6F\x72\x79\x20\x75\x74\x69\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E&quot;,&quot;\x71\x35\x62&quot;,&quot;\x44\x61\x74\x61\x62\x61\x73\x65\x20\x76\x69\x73\x69\x62\x6C\x65\x20\x6D\x65\x74\x72\x69\x63\x73\x20\x73\x75\x63\x68\x20\x61\x73\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73\x2E&quot;,&quot;\x71\x35\x63&quot;,&quot;\x48\x79\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x76\x69\x73\x69\x62\x6C\x65\x20\x6D\x65\x74\x72\x69\x63\x73\x20\x73\x75\x63\x68\x20\x61\x73\x20\x43\x50\x55\x20\x75\x74\x69\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E&quot;,&quot;\x71\x35\x64&quot;,&quot;\x57\x68\x69\x63\x68\x20\x69\x73\x20\x61\x6E\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x61\x6C\x20\x70\x72\x6F\x63\x65\x73\x73\x20\x70\x65\x72\x66\x6F\x72\x6D\x65\x64\x20\x62\x79\x20\x41\x57\x53\x20\x66\x6F\x72\x20\x64\x61\x74\x61\x20\x73\x65\x63\x75\x72\x69\x74\x79\x3F&quot;,&quot;\x41\x45\x53\x2D\x32\x35\x36\x20\x65\x6E\x63\x72\x79\x70\x74\x69\x6F\x6E\x20\x6F\x66\x20\x64\x61\x74\x61\x20\x73\x74\x6F\x72\x65\x64\x20\x6F\x6E\x20\x61\x6E\x79\x20\x73\x68\x61\x72\x65\x64\x20\x73\x74\x6F\x72\x61\x67\x65\x20\x64\x65\x76\x69\x63\x65\x2E&quot;,&quot;\x71\x36&quot;,&quot;\x71\x36\x61&quot;,&quot;\x44\x65\x63\x6F\x6D\x6D\x69\x73\x73\x69\x6F\x6E\x69\x6E\x67\x20\x6F\x66\x20\x73\x74\x6F\x72\x61\x67\x65\x20\x64\x65\x76\x69\x63\x65\x73\x20\x75\x73\x69\x6E\x67\x20\x69\x6E\x64\x75\x73\x74\x72\x79\x2D\x73\x74\x61\x6E\x64\x61\x72\x64\x20\x70\x72\x61\x63\x74\x69\x63\x65\x73\x2E&quot;,&quot;\x71\x36\x62&quot;,&quot;\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x20\x76\x69\x72\x75\x73\x20\x73\x63\x61\x6E\x73\x20\x6F\x66\x20\x45\x42\x53\x20\x76\x6F\x6C\x75\x6D\x65\x73\x20\x61\x6E\x64\x20\x45\x42\x53\x20\x73\x6E\x61\x70\x73\x68\x6F\x74\x73\x2E&quot;,&quot;\x71\x36\x63&quot;,&quot;\x52\x65\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x6F\x66\x20\x64\x61\x74\x61\x20\x61\x63\x72\x6F\x73\x73\x20\x6D\x75\x6C\x74\x69\x70\x6C\x65\x20\x41\x57\x53\x20\x52\x65\x67\x69\x6F\x6E\x73\x20\x45\x2E\x20\x53\x65\x63\x75\x72\x65\x20\x77\x69\x70\x69\x6E\x67\x20\x6F\x66\x20\x45\x42\x53\x20\x64\x61\x74\x61\x20\x77\x68\x65\x6E\x20\x61\x6E\x20\x45\x42\x53\x20\x76\x6F\x6C\x75\x6D\x65\x20\x69\x73\x20\x75\x6E\x2D\x6D\x6F\x75\x6E\x74\x65\x64\x2E&quot;,&quot;\x71\x36\x64&quot;,&quot;\x54\x6F\x20\x70\x72\x6F\x74\x65\x63\x74\x20\x53\x33\x20\x64\x61\x74\x61\x20\x66\x72\x6F\x6D\x20\x62\x6F\x74\x68\x20\x61\x63\x63\x69\x64\x65\x6E\x74\x61\x6C\x20\x64\x65\x6C\x65\x74\x69\x6F\x6E\x20\x61\x6E\x64\x20\x61\x63\x63\x69\x64\x65\x6E\x74\x61\x6C\x20\x6F\x76\x65\x72\x77\x72\x69\x74\x69\x6E\x67\x2C\x20\x79\x6F\x75\x20\x73\x68\x6F\x75\x6C\x64\x3A&quot;,&quot;\x45\x6E\x61\x62\x6C\x65\x20\x53\x33\x20\x76\x65\x72\x73\x69\x6F\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x74\x68\x65\x20\x62\x75\x63\x6B\x65\x74\x2E&quot;,&quot;\x71\x37&quot;,&quot;\x71\x37\x61&quot;,&quot;\x41\x63\x63\x65\x73\x73\x20\x53\x33\x20\x64\x61\x74\x61\x20\x75\x73\x69\x6E\x67\x20\x6F\x6E\x6C\x79\x20\x73\x69\x67\x6E\x65\x64\x20\x55\x52\x4C\x73\x2E&quot;,&quot;\x71\x37\x62&quot;,&quot;\x44\x69\x73\x61\x62\x6C\x65\x20\x53\x33\x20\x64\x65\x6C\x65\x74\x65\x20\x75\x73\x69\x6E\x67\x20\x61\x6E\x20\x49\x41\x4D\x20\x62\x75\x63\x6B\x65\x74\x20\x70\x6F\x6C\x69\x63\x79\x2E&quot;,&quot;\x71\x37\x63&quot;,&quot;\x45\x6E\x61\x62\x6C\x65\x20\x53\x33\x20\x52\x65\x64\x75\x63\x65\x64\x20\x52\x65\x64\x75\x6E\x64\x61\x6E\x63\x79\x20\x53\x74\x6F\x72\x61\x67\x65\x2E&quot;,&quot;\x71\x37\x64&quot;,&quot;\x45\x6E\x61\x62\x6C\x65\x20\x4D\x75\x6C\x74\x69\x2D\x46\x61\x63\x74\x6F\x72\x20\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x69\x6F\x6E\x20\x28\x4D\x46\x41\x29\x20\x70\x72\x6F\x74\x65\x63\x74\x65\x64\x20\x61\x63\x63\x65\x73\x73\x2E&quot;,&quot;\x71\x37\x65&quot;,&quot;\x6F\x6C&quot;,&quot;\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74&quot;,&quot;\x6C\x65\x6E\x67\x74\x68&quot;,&quot;\x62\x72&quot;,&quot;\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64&quot;,&quot;\x6C\x69&quot;,&quot;\x71\x75\x65\x73\x74\x69\x6F\x6E&quot;,&quot;\x63\x72\x65\x61\x74\x65\x54\x65\x78\x74\x4E\x6F\x64\x65&quot;,&quot;\x61\x6E\x73\x77\x65\x72\x73&quot;,&quot;\x69\x6E\x70\x75\x74&quot;,&quot;\x74\x79\x70\x65&quot;,&quot;\x63\x68\x65\x63\x6B\x62\x6F\x78&quot;,&quot;\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65&quot;,&quot;\x6E\x61\x6D\x65&quot;,&quot;\x76\x61\x6C\x75\x65&quot;,&quot;\x69\x64&quot;,&quot;\x6C\x61\x62\x65\x6C&quot;,&quot;\x68\x74\x6D\x6C\x46\x6F\x72&quot;,&quot;\x6C&quot;,&quot;\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C&quot;,&quot;\x64\x65\x73\x63&quot;,&quot;\x64\x69\x73\x61\x62\x6C\x65\x64&quot;,&quot;\x72\x65\x73\x75\x6C\x74\x73&quot;,&quot;\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64&quot;,&quot;\x72\x65\x73\x65\x74&quot;,&quot;\x63\x68\x65\x63\x6B\x65\x64&quot;,&quot;\x70\x75\x73\x68&quot;,&quot;\x61\x63\x74\x75\x61\x6C\x41\x6E\x73\x77\x65\x72\x73&quot;,&quot;\x71\x75\x65\x73\x74\x69\x6F\x6E\x20&quot;,&quot;\x20\x61\x63\x74\x75\x61\x6C\x20\x61\x6E\x73\x77\x65\x72\x20&quot;,&quot;\x6C\x6F\x67&quot;,&quot;\x20\x65\x78\x70\x65\x63\x74\x65\x64\x20\x61\x6E\x73\x77\x65\x72\x20&quot;,&quot;\x65\x78\x70\x65\x63\x74\x65\x64\x41\x6E\x73\x77\x65\x72\x73&quot;,&quot;\x20\x61\x63\x74\x75\x61\x6C\x20\x61\x6E\x64\x20\x65\x78\x70\x65\x63\x74\x65\x64\x20\x61\x6E\x73\x77\x65\x72\x20\x63\x6F\x75\x6E\x74\x20\x6D\x61\x74\x63\x68\x65\x73&quot;,&quot;\x20\x63\x6F\x72\x72\x65\x63\x74\x2C\x20\x63\x6F\x72\x72\x65\x63\x74\x20\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x77\x20\x3A\x20&quot;,&quot;\x20\x61\x63\x74\x75\x61\x6C\x20\x61\x6E\x64\x20\x65\x78\x70\x65\x63\x74\x65\x64\x20\x61\x6E\x73\x77\x65\x72\x20\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x74\x20\x6D\x61\x74\x63\x68\x65\x73&quot;,&quot;\x63\x6F\x72\x72\x65\x63\x74\x2F\x74\x6F\x74\x61\x6C\x20\x3A\x20&quot;,&quot;\x2F&quot;,&quot;\x54\x6F\x74\x61\x6C\x20\x51\x75\x65\x73\x74\x69\x6F\x6E\x73\x20\x3A\x20&quot;,&quot;\x3C\x62\x72\x3E&quot;,&quot;\x43\x6F\x72\x72\x65\x63\x74\x20\x41\x6E\x73\x77\x65\x72\x73\x20\x3A\x20&quot;,&quot;\x61\x6C\x6C\x74\x68\x65\x62\x65\x73\x74&quot;,&quot;\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72&quot;,&quot;\x73\x74\x79\x6C\x65&quot;,&quot;\x79\x65\x6C\x6C\x6F\x77&quot;,&quot;\x63\x6F\x6C\x6F\x72&quot;,&quot;\x23\x30\x30\x46\x46\x30\x30&quot;,&quot;\x72\x65\x64&quot;,&quot;\x6D\x79\x4D\x6F\x64\x61\x6C&quot;,&quot;\x64\x69\x73\x70\x6C\x61\x79&quot;,&quot;\x62\x6C\x6F\x63\x6B&quot;,&quot;\x6D\x79\x4D\x6F\x64\x61\x6C\x54\x65\x78\x74&quot;,&quot;\x41\x57\x53\x20\x43\x65\x72\x74\x69\x66\x69\x65\x64\x20\x53\x6F\x6C\x75\x74\x69\x6F\x6E\x73\x20\x41\x72\x63\x68\x69\x74\x65\x63\x74\x20\x41\x73\x73\x6F\x63\x69\x61\x74\x65\x20\x2D\x20\x53\x61\x6D\x70\x6C\x65\x20\x51\x75\x65\x73\x74\x69\x6F\x6E\x73&quot;,&quot;\x63\x6C\x6F\x73\x65&quot;,&quot;\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x43\x6C\x61\x73\x73\x4E\x61\x6D\x65&quot;,&quot;\x6F\x6E\x63\x6C\x69\x63\x6B&quot;,&quot;\x6E\x6F\x6E\x65&quot;,&quot;\x74\x61\x72\x67\x65\x74&quot;,&quot;\x41\x6C\x6C\x20\x74\x68\x65\x20\x42\x65\x73\x74\x20\x21\x21\x21&quot;,&quot;&quot;,&quot;\x66\x6F\x6F&quot;];var questions=[{question:_0xc5c1[0],answers:[{desc:_0xc5c1[1],name:_0xc5c1[2],id:_0xc5c1[3],value:_0xc5c1[4]},{desc:_0xc5c1[5],name:_0xc5c1[2],id:_0xc5c1[6],value:_0xc5c1[7]},{desc:_0xc5c1[8],name:_0xc5c1[9],id:_0xc5c1[10],value:_0xc5c1[9]},{desc:_0xc5c1[11],name:_0xc5c1[2],id:_0xc5c1[12],value:_0xc5c1[13]},{desc:_0xc5c1[14],name:_0xc5c1[2],id:_0xc5c1[15],value:_0xc5c1[16]}],expectedAnswers:[_0xc5c1[7],_0xc5c1[9]],actualAnswers:[]},{question:_0xc5c1[17],answers:[{desc:_0xc5c1[18],name:_0xc5c1[19],id:_0xc5c1[20],value:_0xc5c1[4]},{desc:_0xc5c1[21],name:_0xc5c1[19],id:_0xc5c1[22],value:_0xc5c1[7]},{desc:_0xc5c1[23],name:_0xc5c1[19],id:_0xc5c1[24],value:_0xc5c1[9]},{desc:_0xc5c1[25],name:_0xc5c1[19],id:_0xc5c1[26],value:_0xc5c1[13]}],expectedAnswers:[_0xc5c1[9]],actualAnswers:[]},{question:_0xc5c1[27],answers:[{desc:_0xc5c1[28],name:_0xc5c1[29],id:_0xc5c1[30],value:_0xc5c1[4]},{desc:_0xc5c1[31],name:_0xc5c1[29],id:_0xc5c1[32],value:_0xc5c1[7]},{desc:_0xc5c1[33],name:_0xc5c1[29],id:_0xc5c1[34],value:_0xc5c1[9]},{desc:_0xc5c1[35],name:_0xc5c1[29],id:_0xc5c1[36],value:_0xc5c1[13]}],expectedAnswers:[_0xc5c1[4]],actualAnswers:[]},{question:_0xc5c1[37],answers:[{desc:_0xc5c1[38],name:_0xc5c1[39],id:_0xc5c1[40],value:_0xc5c1[4]},{desc:_0xc5c1[41],name:_0xc5c1[39],id:_0xc5c1[42],value:_0xc5c1[7]},{desc:_0xc5c1[43],name:_0xc5c1[39],id:_0xc5c1[44],value:_0xc5c1[9]},{desc:_0xc5c1[45],name:_0xc5c1[39],id:_0xc5c1[46],value:_0xc5c1[13]},{desc:_0xc5c1[47],name:_0xc5c1[39],id:_0xc5c1[48],value:_0xc5c1[16]}],expectedAnswers:[_0xc5c1[7],_0xc5c1[16]],actualAnswers:[]},{question:_0xc5c1[49],answers:[{desc:_0xc5c1[50],name:_0xc5c1[51],id:_0xc5c1[52],value:_0xc5c1[4]},{desc:_0xc5c1[53],name:_0xc5c1[51],id:_0xc5c1[54],value:_0xc5c1[7]},{desc:_0xc5c1[55],name:_0xc5c1[51],id:_0xc5c1[56],value:_0xc5c1[9]},{desc:_0xc5c1[57],name:_0xc5c1[51],id:_0xc5c1[58],value:_0xc5c1[13]}],expectedAnswers:[_0xc5c1[13]],actualAnswers:[]},{question:_0xc5c1[59],answers:[{desc:_0xc5c1[60],name:_0xc5c1[61],id:_0xc5c1[62],value:_0xc5c1[4]},{desc:_0xc5c1[63],name:_0xc5c1[61],id:_0xc5c1[64],value:_0xc5c1[7]},{desc:_0xc5c1[65],name:_0xc5c1[61],id:_0xc5c1[66],value:_0xc5c1[9]},{desc:_0xc5c1[67],name:_0xc5c1[61],id:_0xc5c1[68],value:_0xc5c1[13]}],expectedAnswers:[_0xc5c1[7]],actualAnswers:[]},{question:_0xc5c1[69],answers:[{desc:_0xc5c1[70],name:_0xc5c1[71],id:_0xc5c1[72],value:_0xc5c1[4]},{desc:_0xc5c1[73],name:_0xc5c1[71],id:_0xc5c1[74],value:_0xc5c1[7]},{desc:_0xc5c1[75],name:_0xc5c1[71],id:_0xc5c1[76],value:_0xc5c1[9]},{desc:_0xc5c1[77],name:_0xc5c1[71],id:_0xc5c1[78],value:_0xc5c1[13]},{desc:_0xc5c1[79],name:_0xc5c1[71],id:_0xc5c1[80],value:_0xc5c1[16]}],expectedAnswers:[_0xc5c1[4]],actualAnswers:[]}];function showQuestions(){var _0x34fex3=document[_0xc5c1[82]](_0xc5c1[81]);for(i= 0;i&lt; questions[_0xc5c1[83]];i++){_0x34fex3[_0xc5c1[85]](document[_0xc5c1[82]](_0xc5c1[84]));var _0x34fex4=document[_0xc5c1[82]](_0xc5c1[86]);_0x34fex4[_0xc5c1[85]](document[_0xc5c1[88]](questions[i][_0xc5c1[87]]));_0x34fex3[_0xc5c1[85]](_0x34fex4);for(j= 0;j&lt; questions[i][_0xc5c1[89]][_0xc5c1[83]];j++){var _0x34fex5=document[_0xc5c1[82]](_0xc5c1[90]);_0x34fex5[_0xc5c1[93]](_0xc5c1[91],_0xc5c1[92]);_0x34fex5[_0xc5c1[93]](_0xc5c1[94],questions[i][_0xc5c1[89]][j][_0xc5c1[94]]);_0x34fex5[_0xc5c1[93]](_0xc5c1[95],questions[i][_0xc5c1[89]][j][_0xc5c1[95]]);_0x34fex5[_0xc5c1[93]](_0xc5c1[96],questions[i][_0xc5c1[89]][j][_0xc5c1[96]]);_0x34fex3[_0xc5c1[85]](_0x34fex5);var _0x34fex6=document[_0xc5c1[82]](_0xc5c1[97]);_0x34fex6[_0xc5c1[93]](_0xc5c1[98],questions[i][_0xc5c1[89]][j][_0xc5c1[96]]);_0x34fex6[_0xc5c1[93]](_0xc5c1[96],questions[i][_0xc5c1[89]][j][_0xc5c1[96]]+ _0xc5c1[99]);_0x34fex6[_0xc5c1[100]]= questions[i][_0xc5c1[89]][j][_0xc5c1[101]];_0x34fex3[_0xc5c1[85]](_0x34fex6);_0x34fex3[_0xc5c1[85]](document[_0xc5c1[82]](_0xc5c1[84]))}};return _0x34fex3}function showResult(){document[_0xc5c1[104]](_0xc5c1[103])[_0xc5c1[102]]= true;document[_0xc5c1[104]](_0xc5c1[105])[_0xc5c1[102]]= false;var _0x34fex8=0;var _0x34fex9=questions[_0xc5c1[83]];for(i= 0;i&lt; questions[_0xc5c1[83]];i++){for(j= 0;j&lt; questions[i][_0xc5c1[89]][_0xc5c1[83]];j++){var _0x34fexa=document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]])[_0xc5c1[106]];document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]])[_0xc5c1[102]]= true;if(_0x34fexa){questions[i][_0xc5c1[108]][_0xc5c1[107]](questions[i][_0xc5c1[89]][j][_0xc5c1[95]])}};console[_0xc5c1[111]](_0xc5c1[109]+ i+ _0xc5c1[110]+ questions[i][_0xc5c1[108]]);console[_0xc5c1[111]](_0xc5c1[109]+ i+ _0xc5c1[112]+ questions[i][_0xc5c1[113]]);if(questions[i][_0xc5c1[113]][_0xc5c1[83]]== questions[i][_0xc5c1[108]][_0xc5c1[83]]){console[_0xc5c1[111]](_0xc5c1[109]+ i+ _0xc5c1[114]);var _0x34fexb=0;for(k= 0;k&lt; questions[i][_0xc5c1[113]][_0xc5c1[83]];k++){if(questions[i][_0xc5c1[113]][k]== questions[i][_0xc5c1[108]][k]){_0x34fexb+= 1;continue}};if(questions[i][_0xc5c1[113]][_0xc5c1[83]]== _0x34fexb){_0x34fex8+= 1;console[_0xc5c1[111]](_0xc5c1[109]+ i+ _0xc5c1[115]+ _0x34fex8)}}else {console[_0xc5c1[111]](_0xc5c1[109]+ i+ _0xc5c1[116])}};console[_0xc5c1[111]](_0xc5c1[117]+ _0x34fex8+ _0xc5c1[118]+ _0x34fex9);var _0x34fexc=_0xc5c1[119]+ _0x34fex9+ _0xc5c1[120]+ _0xc5c1[121]+ _0x34fex8;document[_0xc5c1[104]](_0xc5c1[122])[_0xc5c1[100]]= _0x34fexc;document[_0xc5c1[104]](_0xc5c1[122])[_0xc5c1[124]][_0xc5c1[123]]= _0xc5c1[125];for(i= 0;i&lt; questions[_0xc5c1[83]];i++){for(j= 0;j&lt; questions[i][_0xc5c1[89]][_0xc5c1[83]];j++){for(k= 0;k&lt; questions[i][_0xc5c1[113]][_0xc5c1[83]];k++){if(document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]])[_0xc5c1[95]]== questions[i][_0xc5c1[113]][k]){document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]]+ _0xc5c1[99])[_0xc5c1[124]][_0xc5c1[126]]= _0xc5c1[127];break}else {if(document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]])[_0xc5c1[106]]){document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]]+ _0xc5c1[99])[_0xc5c1[124]][_0xc5c1[126]]= _0xc5c1[128]}}}}};var _0x34fexd=document[_0xc5c1[104]](_0xc5c1[129]);_0x34fexd[_0xc5c1[124]][_0xc5c1[130]]= _0xc5c1[131];document[_0xc5c1[104]](_0xc5c1[132])[_0xc5c1[100]]= _0xc5c1[133]+ _0xc5c1[120]+ _0x34fexc;var _0x34fexe=document[_0xc5c1[135]](_0xc5c1[134])[0];_0x34fexe[_0xc5c1[136]]= function(){_0x34fexd[_0xc5c1[124]][_0xc5c1[130]]= _0xc5c1[137]};window[_0xc5c1[136]]= function(_0x34fexf){if(_0x34fexf[_0xc5c1[138]]== _0x34fexd){_0x34fexd[_0xc5c1[124]][_0xc5c1[130]]= _0xc5c1[137]}}}function reset(){document[_0xc5c1[104]](_0xc5c1[103])[_0xc5c1[102]]= false;document[_0xc5c1[104]](_0xc5c1[105])[_0xc5c1[102]]= true;document[_0xc5c1[104]](_0xc5c1[122])[_0xc5c1[100]]= _0xc5c1[139];document[_0xc5c1[104]](_0xc5c1[122])[_0xc5c1[124]][_0xc5c1[123]]= _0xc5c1[140];for(i= 0;i&lt; questions[_0xc5c1[83]];i++){for(j= 0;j&lt; questions[i][_0xc5c1[89]][_0xc5c1[83]];j++){document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]])[_0xc5c1[106]]= false;document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]])[_0xc5c1[102]]= false;questions[i][_0xc5c1[108]]= [];for(k= 0;k&lt; questions[i][_0xc5c1[113]][_0xc5c1[83]];k++){console[_0xc5c1[111]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]]);document[_0xc5c1[104]](questions[i][_0xc5c1[89]][j][_0xc5c1[96]]+ _0xc5c1[99])[_0xc5c1[124]][_0xc5c1[126]]= _0xc5c1[140]}}}}document[_0xc5c1[104]](_0xc5c1[141])[_0xc5c1[85]](showQuestions())
&lt;/script&gt;


&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2017/04/aws-certified-solutions-architect_14.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>5</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-7397515730425873583</guid><pubDate>Thu, 29 Dec 2016 08:42:00 +0000</pubDate><atom:updated>2016-12-29T14:12:06.719+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Telnet</category><title>Java Telnet example : testing remote service state</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
In most of the cases in daily job, you must have get into some situation where you needed to telnet to a machine. Although telnet is not a secure way to access remote machine, but still it can be useful if all we want to know if the particular service port on particular machine is running or not(for example you want to check say on local ip address 192.168.110 on port 3389 the RDP service is running or not and there may be other cases)&lt;br /&gt;
&lt;br /&gt;
Below, we will be showing up sample code in java which you can use the automate the process. This can also be used anywhere like if you are writing a service to report health of the multiple services, just a case.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;background-color: #e4e4ff; color: navy; font-weight: bold;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt; &lt;/span&gt;org.apache.commons.net.telnet.TelnetClient;

&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;import &lt;/span&gt;java.io.IOException;
&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;import &lt;/span&gt;java.net.ConnectException;

&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;public class &lt;/span&gt;JavaTelnetExample {

    &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;private static final &lt;/span&gt;String &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;RDP_SERVER &lt;/span&gt;= &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;10.66.6.62.1&quot;&lt;/span&gt;;
    &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;private static final int &lt;/span&gt;&lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;RDP_SERVER_PORT &lt;/span&gt;= &lt;span style=&quot;color: blue;&quot;&gt;3389&lt;/span&gt;;
    &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;private static final &lt;/span&gt;String &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;HTTP_SERVER &lt;/span&gt;= &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;10.66.62.2&quot;&lt;/span&gt;;
    &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;private static final int &lt;/span&gt;&lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;HTTP_SERVER_PORT &lt;/span&gt;= &lt;span style=&quot;color: blue;&quot;&gt;80&lt;/span&gt;;
    &lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;// Similar to above you can test state for number of other services on number of other machines&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;public static void &lt;/span&gt;main(String[] args) {
        System.&lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;Rdp service status on server ip : &quot; &lt;/span&gt;+ &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;RDP_SERVER &lt;/span&gt;+ &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot; , port : &quot; &lt;/span&gt;+ &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;RDP_SERVER_PORT &lt;/span&gt;+ &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot; = &quot; &lt;/span&gt;+ &lt;span style=&quot;font-style: italic;&quot;&gt;isServiceRunning&lt;/span&gt;(&lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;RDP_SERVER&lt;/span&gt;, &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;RDP_SERVER_PORT&lt;/span&gt;));
        System.&lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;Ssh service status on server ip : &quot; &lt;/span&gt;+ &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;HTTP_SERVER &lt;/span&gt;+ &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot; , port : &quot; &lt;/span&gt;+ &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;HTTP_SERVER_PORT &lt;/span&gt;+ &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot; = &quot; &lt;/span&gt;+ &lt;span style=&quot;font-style: italic;&quot;&gt;isServiceRunning&lt;/span&gt;(&lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;HTTP_SERVER&lt;/span&gt;, &lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;HTTP_SERVER_PORT&lt;/span&gt;));

    }

    &lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;// If able to connect successfully, return true for service state else return false.&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;
    private static boolean &lt;/span&gt;isServiceRunning(String ip, &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;int &lt;/span&gt;port) {
        &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;try &lt;/span&gt;{
            &lt;span style=&quot;background-color: #e4e4ff;&quot;&gt;TelnetClient&lt;/span&gt; telnetClient = &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;new &lt;/span&gt;&lt;span style=&quot;background-color: #e4e4ff;&quot;&gt;TelnetClient&lt;/span&gt;();
            telnetClient.connect(ip, port);
            &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;return true&lt;/span&gt;;
        } &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;catch &lt;/span&gt;(ConnectException e) {
            &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;return false&lt;/span&gt;;
        } &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;catch &lt;/span&gt;(IOException e) {
            &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;return false&lt;/span&gt;;
        }
    }
}&lt;/pre&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
To run this code, you can download the dependencies &#39;Apache Commons Net&#39; from the https://mvnrepository.com/artifact/commons-net/commons-net depending upon build tool you are using maven/gradle or jar file&lt;br /&gt;
&lt;br /&gt;
Feel free to leave comment if you get any issue or any suggestion.&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2016/12/java-telnet-example-testing-remote.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-2057441055575687759</guid><pubDate>Sat, 18 Jun 2016 19:37:00 +0000</pubDate><atom:updated>2016-06-19T01:07:10.333+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apache</category><category domain="http://www.blogger.com/atom/ns#">Jenkins</category><category domain="http://www.blogger.com/atom/ns#">Security</category><category domain="http://www.blogger.com/atom/ns#">Tomcat</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>2 Steps to restrict Jenkins access by IP address or Host Name</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Steps to fresh jenkins installtion on on Apache Tomcat Server :&amp;nbsp;&lt;a href=&quot;http://www.automatethebox.com/2016/06/installing-jenkins-on-apache-tomcat.html&quot;&gt;http://www.automatethebox.com/2016/06/installing-jenkins-on-apache-tomcat.html&lt;/a&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;If Jenkins is installed on Tomcat Server&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&lt;i&gt;&lt;u&gt;Add any of the below entry&lt;/u&gt;&lt;/i&gt; in the conf\context.xml file :&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;Valve className=&quot;org.apache.catalina.valves.RemoteAddrValve&quot; allow=&quot;127.0.0.1&quot;/&amp;gt;&amp;lt;!--Allow from Ip Address--&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;Valve className=&quot;org.apache.catalina.valves.RemoteAddrValve&quot; deny=&quot;127.0.0.1&quot;/&amp;gt;&amp;lt;!--Deny from Ip Address--&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;Valve className=&quot;org.apache.catalina.valves.RemoteHostValve&quot; allow=&quot;yahoo.com&quot;/&amp;gt;&amp;lt;!--Allow from a Domain--&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;Valve className=&quot;org.apache.catalina.valves.RemoteAddrValve&quot; allow=&quot;127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1|202.43.25.244&quot;/&amp;gt;&amp;lt;!--Allow from multipl ip&#39;s--&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;Restart the Tomcat Server&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Now, when you try to access Jenkins url, you should get 403 error&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;If Jenkins is installed on Apache Server&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;u&gt;&lt;i&gt;Add all of the below&amp;nbsp;entries&lt;/i&gt;&lt;/u&gt;&amp;nbsp;in the conf\.htaccess file to allow access from ip &#39;45.67.87.67&#39; and &#39;10.66.62.0/24&#39; LAN only&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Order Deny,Allow&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Deny from all&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Allow from 45.67.87.67&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Allow from 10.66.62.0/24&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Restart the Apache Server&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Now, when you try to access Jenkins url, you should get 403 error&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6JgmXLO3NFmusZRt_-0GSET0cKc94yUtgEfBsVAExOC8KZBEvgqcMSbkhcX4eKIjG64E0i7AgbJyf6iur4IXhDk4z5hGI69Inr4NTRVI0xu7_AKAFFqtBJCtGtnY1i11gSZoDnazxp0L/s1600/b3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;70&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6JgmXLO3NFmusZRt_-0GSET0cKc94yUtgEfBsVAExOC8KZBEvgqcMSbkhcX4eKIjG64E0i7AgbJyf6iur4IXhDk4z5hGI69Inr4NTRVI0xu7_AKAFFqtBJCtGtnY1i11gSZoDnazxp0L/s400/b3.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2016/06/2-steps-to-restrict-jenkins-access-by.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6JgmXLO3NFmusZRt_-0GSET0cKc94yUtgEfBsVAExOC8KZBEvgqcMSbkhcX4eKIjG64E0i7AgbJyf6iur4IXhDk4z5hGI69Inr4NTRVI0xu7_AKAFFqtBJCtGtnY1i11gSZoDnazxp0L/s72-c/b3.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-3774239492093210474</guid><pubDate>Sat, 18 Jun 2016 19:07:00 +0000</pubDate><atom:updated>2016-08-20T13:23:34.150+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Jenkins</category><category domain="http://www.blogger.com/atom/ns#">Tomcat</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Installing Jenkins on Apache Tomcat Server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
First of all if you have not installed the Apache Tomcat Server, We will be going to install it on Windows following the below steps :&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Download the Apache Server from Url : &amp;nbsp;http://www.apache.org/dyn/closer.cgi&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4vxJubynmPwpTTV5l54b8V9X6CKByNzwk8tcxeFNCIZzjQ5KWOKqDFVvtv0vDMwKoDn3aQE-Ppyn857im5Rx__uEXkpKNkbubnwv0xoA04maYZUmWmcNrxB2vfLMoZuyb57HeKbtdRkVX/s1600/b1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4vxJubynmPwpTTV5l54b8V9X6CKByNzwk8tcxeFNCIZzjQ5KWOKqDFVvtv0vDMwKoDn3aQE-Ppyn857im5Rx__uEXkpKNkbubnwv0xoA04maYZUmWmcNrxB2vfLMoZuyb57HeKbtdRkVX/s320/b1.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;li&gt;Extract the Tomcat zip folder&lt;/li&gt;
&lt;li&gt;Navigate to to &#39;conf&#39; directory, path may be somewhat like &#39;..\apache-tomcat-9.0.0.M8\conf&#39; from where you have extracted the zip.&lt;/li&gt;
&lt;li&gt;Open the &lt;b&gt;Server.xml&lt;/b&gt; file and edit the PORT where you want the Tomcat to listen for the requests&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv4L-bcMDwwKxpeiJdQkTwNWSkZkJvNQ620JJD1ffI8fP6V1XbaLlvkIhdctAR7OlDe-Y7YiL_LQ9hfiMipn3NDHbIHQ4SwdqqU0qnXrzzRGgrpTA9ZWZ_-2UMKJeeRoOw6Fr2nkb3nyjw/s1600/b2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv4L-bcMDwwKxpeiJdQkTwNWSkZkJvNQ620JJD1ffI8fP6V1XbaLlvkIhdctAR7OlDe-Y7YiL_LQ9hfiMipn3NDHbIHQ4SwdqqU0qnXrzzRGgrpTA9ZWZ_-2UMKJeeRoOw6Fr2nkb3nyjw/s320/b2.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;li&gt;Now start Command Prompt and go to &#39;..\apache-tomcat-9.0.0.M8\bin&#39; and call &#39;&lt;b&gt;startup.bat&lt;/b&gt;&#39;&lt;/li&gt;
&lt;li&gt;Now start a browser and navigate to url &#39;&amp;lt;your_system_ip:port_specified_in_step4&amp;gt;&#39;. Example : 127.0.0.1:8080&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;You should see Tomcat Successfully installed page. Congratulation!&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/0-NUWPCnROU/0.jpg&quot; src=&quot;https://www.youtube.com/embed/0-NUWPCnROU?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now, we will be moving to next part of configuring Jenkins behind the Tomcat Server &amp;nbsp;:&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;Download Jenkins.war file from&amp;nbsp;https://jenkins.io/&lt;/li&gt;
&lt;li&gt;Once downloaded, unzip and move the jenkins.war to directory &#39;.\apache-tomcat-9.0.0.M8\webapps&#39;&lt;/li&gt;
&lt;li&gt;Restart the Tomcat. CTRL+C or call the&amp;nbsp;.\apache-tomcat-9.0.0.M8\bin\&lt;b&gt;shutdown.bat&lt;/b&gt;&#39; and then start again.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Now when you navigate to 127.0.0.1/jenkins, you should see jenkins successfully installed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Feel free to leave comments !!!&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2016/06/installing-jenkins-on-apache-tomcat.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4vxJubynmPwpTTV5l54b8V9X6CKByNzwk8tcxeFNCIZzjQ5KWOKqDFVvtv0vDMwKoDn3aQE-Ppyn857im5Rx__uEXkpKNkbubnwv0xoA04maYZUmWmcNrxB2vfLMoZuyb57HeKbtdRkVX/s72-c/b1.PNG" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-8066909991795110320</guid><pubDate>Sun, 20 Mar 2016 15:25:00 +0000</pubDate><atom:updated>2016-03-20T21:06:44.387+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Maven</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><title>Connecting to MySql from java with Maven</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this example we will be creating a simple maven java project to connect to the local mysql instance, without actually installing any jdbc connector and setting it to classpath (maven will take care of this :))&lt;br /&gt;
&lt;br /&gt;
1. Add MySQL connector maven dependency in the pom.xml&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: white; font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
         xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
         xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&amp;gt;
    &amp;lt;modelVersion&amp;gt;4.0.0&amp;lt;/modelVersion&amp;gt;

    &amp;lt;groupId&amp;gt;com.automatethebox&amp;lt;/groupId&amp;gt;
    &amp;lt;artifactId&amp;gt;mysql-connect-maven&amp;lt;/artifactId&amp;gt;
    &amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;

    &amp;lt;dependencies&amp;gt;
        &amp;lt;dependency&amp;gt;
            &amp;lt;groupId&amp;gt;mysql&amp;lt;/groupId&amp;gt;
            &amp;lt;artifactId&amp;gt;mysql-connector-java&amp;lt;/artifactId&amp;gt;
            &amp;lt;version&amp;gt;5.1.38&amp;lt;/version&amp;gt;
        &amp;lt;/dependency&amp;gt;
    &amp;lt;/dependencies&amp;gt;
&amp;lt;/project&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
2. Sample java source file: Connecting to local mysql instance and listing tables;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;package &lt;/span&gt;com.automatethebox.mysql_connect_maven;

&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;import &lt;/span&gt;java.sql.Connection;
&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;import &lt;/span&gt;java.sql.DriverManager;
&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;import &lt;/span&gt;java.sql.ResultSet;
&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;import &lt;/span&gt;java.sql.SQLException;
&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;import &lt;/span&gt;java.sql.Statement;

&lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;public class &lt;/span&gt;MySqlConnectionWithMaven {

    &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;public static void &lt;/span&gt;main(String[] args) {

        &lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;// Databases url (here &#39;information_schema&#39; is database name)&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;        &lt;/span&gt;String databaseUrl = &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;jdbc:mysql://localhost/information_schema&quot;&lt;/span&gt;;
        String jdbcConnectorClass = &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;com.mysql.jdbc.Driver&quot;&lt;/span&gt;;
        String mysqlUser = &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;root&quot;&lt;/span&gt;;
        String myUserPass = &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;Admin@123&quot;&lt;/span&gt;;
        String query = &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;Select distinct(table_name) from INFORMATION_SCHEMA.TABLES&quot;&lt;/span&gt;;

        &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;try &lt;/span&gt;{
            Class.&lt;span style=&quot;font-style: italic;&quot;&gt;forName&lt;/span&gt;(jdbcConnectorClass);
            Connection connection = DriverManager.&lt;span style=&quot;font-style: italic;&quot;&gt;getConnection&lt;/span&gt;(databaseUrl, mysqlUser, myUserPass);
            Statement statement = connection.createStatement();
            ResultSet resultSet = statement.executeQuery(query);
            &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;while &lt;/span&gt;(resultSet.next()) {
                String tableName = resultSet.getString(&lt;span style=&quot;color: blue;&quot;&gt;1&lt;/span&gt;);
                System.&lt;span style=&quot;color: #660e7a; font-style: italic; font-weight: bold;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&quot;Table : &quot; &lt;/span&gt;+ tableName);
            }
            connection.close();
        } &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;catch &lt;/span&gt;(ClassNotFoundException e) {
            e.printStackTrace();
        } &lt;span style=&quot;color: navy; font-weight: bold;&quot;&gt;catch &lt;/span&gt;(SQLException e) {
            e.printStackTrace();
        }
    }
}&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2016/03/connecting-to-mysql-from-java-with-maven.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-461511248753828234</guid><pubDate>Thu, 03 Mar 2016 18:31:00 +0000</pubDate><atom:updated>2016-03-04T00:01:56.873+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Java</category><title>Disable Java JVM Default DNS Caching</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
You can disable the Java Virtual machine default DNS caching following any of the below methods&lt;br /&gt;
( &lt;a href=&quot;http://docs.oracle.com/javase/6/docs/technotes/guides/net/properties.html#nct&quot; target=&quot;_blank&quot;&gt;By Default java 1.6 caches all the DNS queries&lt;/a&gt; ):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;Method 1(Changes while staring up JVM)&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Add &lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;-Dsun.net.inetaddr.ttl=0&lt;/span&gt;&lt;/i&gt; while starting up the JVM.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;Method 2(Changes in java config file)&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Add/Edit the property &lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;networkaddress.cache.ttl=0&lt;/span&gt;&lt;/i&gt;&amp;nbsp;in %JRE%/lib/security/java.security file. Here JRE refers to Java Runtime Environment folder.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;Method 3(Changes in your code)&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Set the property in you java code as &lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;java.security.Security.setProperty(&quot;networkaddress.cache.ttl&quot;, &quot;0&quot; );&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2016/03/disable-java-jvm-default-dns-caching.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-276494361546648932</guid><pubDate>Sun, 20 Dec 2015 10:36:00 +0000</pubDate><atom:updated>2015-12-20T16:06:56.682+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><category domain="http://www.blogger.com/atom/ns#">Gradle</category><title>Solving Gradle DSL method not found : &#39;android()&#39;</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Getting &quot;&lt;b&gt;Gradle DSL method not found : &#39;android()&lt;/b&gt;&quot; error, well then you are at right place to solve the things :)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBX3amRd7rH5staCaOwhqJGNU6hXZwaQhM3mcMjqCbHqgtK8VfUcwG0eebT-LU3G_4TZta0CdYiesI-vj-PbGR9REs6QAj6XXz7v8cviTVaTUCvEB72RbMdKigFQCbZzjdVs6ugiKijP_w/s1600/1-3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;55&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBX3amRd7rH5staCaOwhqJGNU6hXZwaQhM3mcMjqCbHqgtK8VfUcwG0eebT-LU3G_4TZta0CdYiesI-vj-PbGR9REs6QAj6XXz7v8cviTVaTUCvEB72RbMdKigFQCbZzjdVs6ugiKijP_w/s400/1-3.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Solution:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Open the project top level &#39;build.gradle&#39; file&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEipHQgMLZp9j94Gr1QvhqAUhhYMleOwJvLjw-aSmBDEzFUO3ZtfbctUEoHhJsVQeUzhDCeRubG00XKjjtZBzs6kCuK3hgPk-CfpF3h_sOcqMVnoW3rwaKsWeYqPgjyqSikWczsNAJaBPb/s1600/1-4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEipHQgMLZp9j94Gr1QvhqAUhhYMleOwJvLjw-aSmBDEzFUO3ZtfbctUEoHhJsVQeUzhDCeRubG00XKjjtZBzs6kCuK3hgPk-CfpF3h_sOcqMVnoW3rwaKsWeYqPgjyqSikWczsNAJaBPb/s400/1-4.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Remove the below configuration &amp;nbsp;android() method&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span style=&quot;font-size: small; text-align: left;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
// Delete these lines from project top level &#39;build.gradle&#39; file
android {
&amp;nbsp;compileSdkVersion 23
&amp;nbsp;buildToolsVersion &#39;22.0.1&#39;
}
&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Save the changes and re-compile&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/12/solving-gradle-dsl-method-not-found.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBX3amRd7rH5staCaOwhqJGNU6hXZwaQhM3mcMjqCbHqgtK8VfUcwG0eebT-LU3G_4TZta0CdYiesI-vj-PbGR9REs6QAj6XXz7v8cviTVaTUCvEB72RbMdKigFQCbZzjdVs6ugiKijP_w/s72-c/1-3.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-9042555365164605067</guid><pubDate>Sun, 20 Dec 2015 08:37:00 +0000</pubDate><atom:updated>2015-12-20T15:03:49.391+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Jenkins</category><category domain="http://www.blogger.com/atom/ns#">Selenium/WebDriver</category><title>Configure Jenkins email notifications</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this tutorial we will discuss about setting up the email notification in your Jenkins environment from the start :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Part I: Configure the email notifications from Jenkins Management section.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Part II : Configure the email notification for the individual Jenkins job &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Part I: Configure the email notifications from Jenkins Management section.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;First you should be logged in to Jenkins interface as Administrators, so you should see &#39;Manage Jenkins&#39; link on the left side options.&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQHq6TlD8RJOQWQ-fACWnJXxQ0bqyUFZ7_r3qsvKRnpNR5_iDFM_5m7eO1Yt4n63BtyCKixIteuEK89oYlLkeqVk6e2TuISS9YJldNy9_kTuSqL3bO4R097SNhmCrc2ENuQsYhVHOoLXrg/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQHq6TlD8RJOQWQ-fACWnJXxQ0bqyUFZ7_r3qsvKRnpNR5_iDFM_5m7eO1Yt4n63BtyCKixIteuEK89oYlLkeqVk6e2TuISS9YJldNy9_kTuSqL3bO4R097SNhmCrc2ENuQsYhVHOoLXrg/s400/1.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT7W84wwM6t6zQ7Zmv1FgEYs3JI6NImv9wLaIH-3v65WCpCVd4z-RAWbgQbyHKvR-J84HKqI9laYd2E3wuG-0TNCWX1atES43qolr0NYzoyidm79X-P2vod-FF6OmCNQlzhAI8jntt1e9h/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on the &#39;Manage Jenkins&#39;, to navigate to &#39;Manage Jenkins&#39; page. &#39;Configure System&#39; option should be available&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDwPBgdN_0Dasp4_fUqpuzRbDR2xdq0wxCgOHa6S0hWl-9lEaPZIoxo7hx3I6pp6XFBg1HDl02ZydTUe1XPUg8qFM4R7vkPqrdJhM8wQhfzbJOShMFhMFp2-cjWpfg-8UQyD3gQo4VASG/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;151&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDwPBgdN_0Dasp4_fUqpuzRbDR2xdq0wxCgOHa6S0hWl-9lEaPZIoxo7hx3I6pp6XFBg1HDl02ZydTUe1XPUg8qFM4R7vkPqrdJhM8wQhfzbJOShMFhMFp2-cjWpfg-8UQyD3gQo4VASG/s400/2.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2iLaXuOhm7SVQ4YT-dG3DZ5EoGEFo3438l41YngZRyow_XmF9aqmtIQiDWnp_vOvKIjp0DxhyphenhyphenFf8r8a4VVEkq8CJ6v9wxBNylZAkdU967vmOi9Ios2H6uU_Vku5axfE1gvJXJKVcNg7Ga/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on the &#39;Configure System&#39; link, scroll down on &#39;Configure System&#39; page, you should see the &#39;Email notifications&#39; section.&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGOkW0AzHUpiK_HgZyovLkHiJN5kkPs1bODkrJ_OCR0ecP66IYhOoi3rVCkclydFDJ4YIK78U-HGuaysHsbVklwRiglLZm5y2XDYoGWThQUZRVOmJY7wZYWFEA27-nO-Z1vjZa-1GZlq_8/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGOkW0AzHUpiK_HgZyovLkHiJN5kkPs1bODkrJ_OCR0ecP66IYhOoi3rVCkclydFDJ4YIK78U-HGuaysHsbVklwRiglLZm5y2XDYoGWThQUZRVOmJY7wZYWFEA27-nO-Z1vjZa-1GZlq_8/s400/3.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Set the following settings in the &#39;Email notification&#39; section [We are taking yahoo domain for example]&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SMTP Server : smtp.mail.yahoo.com&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check &#39;Use SMTP Authentication&#39;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Username : &amp;lt;email address to send emails&amp;gt; Example : test@yahoo.com&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Password : &amp;lt;used email address password&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check &#39;Use SSL&#39;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SMTP Port : 465&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Reply-To-Address : &amp;nbsp;&amp;lt;email address to reply emails, can be same email or different&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Charset : UTF-8&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLxqrJvCsJq1NzBTUVfo4MX0f9Z8Vkt1qqdLDgQk0v6XbyNMWa4MS77xJLxm1P5HjUOrM9PYpc8-hGeA3EbiGsXjiLICqOqxi9Ysq1fOM166k-126uj0Vlgzrf-F-poQxIsyIZ8-hBH8wl/s1600/4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLxqrJvCsJq1NzBTUVfo4MX0f9Z8Vkt1qqdLDgQk0v6XbyNMWa4MS77xJLxm1P5HjUOrM9PYpc8-hGeA3EbiGsXjiLICqOqxi9Ysq1fOM166k-126uj0Vlgzrf-F-poQxIsyIZ8-hBH8wl/s400/4.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;ol&gt;&lt;/ol&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scroll up on the page and now set following settings in &#39;Locations&#39; section&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;System admin e-mail address : &amp;nbsp;&amp;lt;email address to send emails&amp;gt; Example : test@yahoo.com&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPlxFdF7820qyfG5bjDqfYbPbDPXeoib1wQ3RfMUaHPU5kFGGr1Zr_l7w4GFpODXhyphenhyphenAjDdrzVfJ_BtlobTgpoQaurVQqRxD9_1T0zXGkDEK8_oWQtG46eyXaTtlK2AfnxFYrIIORwYpjYZ/s1600/5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;46&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPlxFdF7820qyfG5bjDqfYbPbDPXeoib1wQ3RfMUaHPU5kFGGr1Zr_l7w4GFpODXhyphenhyphenAjDdrzVfJ_BtlobTgpoQaurVQqRxD9_1T0zXGkDEK8_oWQtG46eyXaTtlK2AfnxFYrIIORwYpjYZ/s400/5.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now to test your email configurations, Scroll down to &#39;Email Notification&#39; section.&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check &#39;Test Configuration by sending test e-mail&#39;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Test e-mail recipient :&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;recipient email address to test configuration&amp;gt; Example: youremail@yahoo.com&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on &quot;Test Configuration&quot; button.&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH0VKzm4906E1xb0OI0gAsu_A3LUqKWo29QmHz7s0zZPpg1BJQMp6bgB0WOEGqf13wZ13zFPKkPz_51LWU5W7l3PTA0hhdVYXt1tNqFlZ3FJp87Y5Zvd03SJvKNMEE6wDpmTSx_bKK97VK/s1600/6.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;115&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH0VKzm4906E1xb0OI0gAsu_A3LUqKWo29QmHz7s0zZPpg1BJQMp6bgB0WOEGqf13wZ13zFPKkPz_51LWU5W7l3PTA0hhdVYXt1tNqFlZ3FJp87Y5Zvd03SJvKNMEE6wDpmTSx_bKK97VK/s400/6.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You should see message &#39;Email was successfully sent&#39;. It yes, congrats you have successfully configured Jenkins email notifications :)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&#39;Apply&#39; and &#39;Save&#39; the changes.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;Part II : Configure the email notification for the individual Jenkins job &amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Navigate to configuration page of Jenkins job, for which you wants to send a email notification. For example we have a job &#39;test-email-notification&#39;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Under &#39;Post Build Actions&#39;, click on &#39;Add post build action&#39; and select &#39;Email Notification&#39; option.&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEVB-iaouUvP618yDQdVwU4xLAPtA3id-3lf_l0eeYrCYn1r07jrjMWAPKikY-O3uO-g4UoMAMSNL7zBdlHgS696i_4sEeyYT7vSPsgKjKYT6g0qhbCSZSY65guosmadrmtrApyOyyS0I4/s1600/1-1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEVB-iaouUvP618yDQdVwU4xLAPtA3id-3lf_l0eeYrCYn1r07jrjMWAPKikY-O3uO-g4UoMAMSNL7zBdlHgS696i_4sEeyYT7vSPsgKjKYT6g0qhbCSZSY65guosmadrmtrApyOyyS0I4/s400/1-1.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now, when the &#39;Email notification&#39; section visible. Provide the recipients email addresses and select other check box options per your requirement&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisfHPc3J0g3dPMPjcsC_HihIWcSh5KFokxPKsT-Uha-LGCrob291PXm38qnQgDNZZOsgjqDcX_KohwhmyQrvBWlWLuJTSce-t7BJAFBG6z1W6cf5R5L9UTNtqSudy4PeYnsA5zeVXAK7nN/s1600/1-2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;137&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisfHPc3J0g3dPMPjcsC_HihIWcSh5KFokxPKsT-Uha-LGCrob291PXm38qnQgDNZZOsgjqDcX_KohwhmyQrvBWlWLuJTSce-t7BJAFBG6z1W6cf5R5L9UTNtqSudy4PeYnsA5zeVXAK7nN/s400/1-2.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on Apply and Save the changes.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Feel free to leave your comments in case of any issues in above steps... :)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/12/configure-jenkins-email-notifications.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQHq6TlD8RJOQWQ-fACWnJXxQ0bqyUFZ7_r3qsvKRnpNR5_iDFM_5m7eO1Yt4n63BtyCKixIteuEK89oYlLkeqVk6e2TuISS9YJldNy9_kTuSqL3bO4R097SNhmCrc2ENuQsYhVHOoLXrg/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-1679542176856744277</guid><pubDate>Sat, 12 Dec 2015 13:39:00 +0000</pubDate><atom:updated>2015-12-12T19:13:05.428+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Maven</category><category domain="http://www.blogger.com/atom/ns#">TestNG</category><title>Some helpful commands to build multi-module maven project tests</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;u&gt;Build and execute tests from all the sub modules&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;i&gt;mvn clean install&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Build and execute tests from a specific sub module&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;i&gt;mvn clean install -pl &amp;lt;module-name&amp;gt; -am&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Build and execute a specific test from a specific sub module&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;i&gt;mvn -DfailIfNoTests=false -Dtest=&amp;lt;test-class-name&amp;gt; clean install -pl &amp;lt;module-name&amp;gt; -am&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;i&gt;mvn -DfailIfNoTests=false -Dtest=&amp;lt;test-class-name#test-method-name&amp;gt; clean install -pl &amp;lt;module-name&amp;gt; -am&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/12/some-helpful-commands-to-build-multi.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-7394636171104072788</guid><pubDate>Fri, 03 Apr 2015 19:15:00 +0000</pubDate><atom:updated>2015-04-04T00:45:41.357+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Selendroid</category><title>An error occurred while resigning the app &#39;selendroid-test-app-0.15.0.apk&#39;</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt; An error occurred while resigning the app &#39;selendroid-test-app-0.15.0.apk&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
If you got the same error message while trying to start the Selendoid server with your apk file, try the below to fix it :&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;i&gt;Solution :&amp;nbsp;&lt;/i&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;&lt;b&gt;Check JAVA_HOME is set properly&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Set System variable with name &quot;JAVA_HOME&quot; &amp;nbsp;with value set to Java jdk like &quot;C:\Program Files\Java\jdk1.8.0_40\&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;Check ANDROID_HOME is set properly&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Set System variable with name &quot;ANDROID_HOME&quot; &amp;nbsp;with value set to Android Sdk like &quot;C:\Users\lalit\AppData\Local\Android\sdk\&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://selendroid.io/images/selendroid-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://selendroid.io/images/selendroid-logo.png&quot; height=&quot;86&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;i&gt;Still after setting the above variables correctly, if you see any error try to sign your app manually using below command&lt;/i&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
C:\Program Files\Java\jdk1.8.0_40\bin&amp;gt;&amp;nbsp;&lt;b&gt;jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar &amp;lt; apk file path &amp;gt; &amp;nbsp;-storepass android -keystore &amp;lt;keystore location&amp;gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;lt; apk file path &amp;gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;nbsp;androiddebugkey&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;Example:&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
C:\Program Files\Java\jdk1.8.0_40\bin &amp;gt;&amp;nbsp;&lt;b&gt;jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\Users\lalit\Downloads\selendroid-test-app-0.15.0.apk&amp;nbsp;-storepass android -keystore C:\Users\lalit\.android\debug.keystore C:\Users\lalit\Downloads\selendroid-test-app-0.15.0.apk&amp;nbsp;androiddebugkey&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;If it fails and throws error like&lt;/u&gt; &amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: red;&quot;&gt;jarsigner: unable to open jar file&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;i&gt;Solution :&amp;nbsp;&lt;/i&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Try to rename your *.apk file to *.zip&lt;/li&gt;
&lt;li&gt;Open the zip file and verify its opened successfully, and if it does not then its currupt apk file :( and need to be changed :)&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/04/an-error-occurred-while-resigning-app.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-9035304566657089571</guid><pubDate>Fri, 20 Mar 2015 10:59:00 +0000</pubDate><atom:updated>2015-03-20T16:29:48.603+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tech Tricks</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Automatic logon in windows XP/7/8/Windows Server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Open the Windows Registery editor from run.exe [ type regedit and ENTER ]&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-align: center;&quot;&gt;Navigate to &quot;&lt;b&gt;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\winlogon&lt;/b&gt;&quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Set or create the following keys (DWORD, String, String)&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;AutoAdminLogon&lt;/b&gt; = &quot;1&quot;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;DefaultUserName&lt;/b&gt; = Your user name&lt;/li&gt;
&lt;li&gt;&lt;b&gt;DefaultPassword&lt;/b&gt; = Your password&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Restart and now machine will be automatically logged in :)&amp;nbsp;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPws3d0K5duAD6Rz_U7Dkr2jbJxVyqsmK2gZERXxnPCMKo8gulyUs1xXCVOhCUTNktfdmEKWTrI0_25uoVuyFB2jtxI89z7dtnemhIDfEgkHWY-zqTRtY6Zk4M5ioELIymLhmUa_7P8RZk/s1600/win.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPws3d0K5duAD6Rz_U7Dkr2jbJxVyqsmK2gZERXxnPCMKo8gulyUs1xXCVOhCUTNktfdmEKWTrI0_25uoVuyFB2jtxI89z7dtnemhIDfEgkHWY-zqTRtY6Zk4M5ioELIymLhmUa_7P8RZk/s1600/win.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/03/automatic-logon-in-windows-xp78windows.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPws3d0K5duAD6Rz_U7Dkr2jbJxVyqsmK2gZERXxnPCMKo8gulyUs1xXCVOhCUTNktfdmEKWTrI0_25uoVuyFB2jtxI89z7dtnemhIDfEgkHWY-zqTRtY6Zk4M5ioELIymLhmUa_7P8RZk/s72-c/win.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-2034448976312985154</guid><pubDate>Thu, 22 Jan 2015 15:45:00 +0000</pubDate><atom:updated>2015-01-22T21:15:33.039+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tech Tricks</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>The host supports Intel VT-x, but Intel VT-x is disabled</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&quot;The host supports Intel VT-x, but Intel VT-x is disabled&quot; is thrown - &amp;nbsp;on trying to start a virtual machine e.g using VMware Player; when the Virtual Technology(VT) is disabled from system BIOS Settings.&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRlxkKMGWLCdbSkiBp9iqaK0hy_Espv6n8ahrMC49LpZkV1VmY6myVgjR0SwqKdVYCPgfujEzyFu532TXTwbq_vdO6wnTyI8gtNPqe0N-5ENvnITsXCyKTO-0ehnj82IoChbS2toa-ofjZ/s1600/vmware.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRlxkKMGWLCdbSkiBp9iqaK0hy_Espv6n8ahrMC49LpZkV1VmY6myVgjR0SwqKdVYCPgfujEzyFu532TXTwbq_vdO6wnTyI8gtNPqe0N-5ENvnITsXCyKTO-0ehnj82IoChbS2toa-ofjZ/s1600/vmware.PNG&quot; height=&quot;360&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;The host supports Intel VT-x, but Intel VT-x is disabled&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Steps to fix this and run virtual machines successfully :-&lt;/b&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Close all the application and restart the System.&lt;/li&gt;
&lt;li&gt;Press F10 on system startup, to go to Bios Settings&lt;/li&gt;
&lt;li&gt;Enable the Virtual Settings from Bios Settings &amp;gt; System Configuration&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Save the Changes and Start the System.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;Video link :&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/pEMgMPgudcg&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;

&lt;div&gt;
&lt;br /&gt;
Now try to start your virtual machine :) it should start without any error now :)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/the-host-supports-intel-vt-x-but-intel.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRlxkKMGWLCdbSkiBp9iqaK0hy_Espv6n8ahrMC49LpZkV1VmY6myVgjR0SwqKdVYCPgfujEzyFu532TXTwbq_vdO6wnTyI8gtNPqe0N-5ENvnITsXCyKTO-0ehnj82IoChbS2toa-ofjZ/s72-c/vmware.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-6114670512479721807</guid><pubDate>Sun, 18 Jan 2015 19:17:00 +0000</pubDate><atom:updated>2015-01-19T00:47:56.205+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sqlmap</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Install and run Sqlmap on Windows</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sqlmap is the most popular tool for finding and exploiting the sql vulnerability on the web. It is written in python for cross platform, today i will show the simple steps to install it on the Windows environment ( i am doing it on windows 8.1 :D )&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Download and install the Python interpreter from &lt;a href=&quot;https://www.python.org/downloads/&quot; target=&quot;_blank&quot;&gt;https://www.python.org/downloads/&lt;/a&gt; on your System. Python 2.7.9 version should be fine.&lt;/li&gt;
&lt;li&gt;Now download the Sqlmap zip file from &lt;a href=&quot;http://sqlmap.org/&quot; target=&quot;_blank&quot;&gt;http://sqlmap.org/&lt;/a&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Unzip the sqlmap zip folder&lt;/li&gt;
&lt;li&gt;Open the command prompt &amp;gt; navigate to sqlmap unzipped folder&lt;/li&gt;
&lt;li&gt;Launch command &quot;sqlmap.py&quot;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhYuHYbqQtKwUtrMugtjPipINn7QPF34HKlJNYXo8-f9ge38NzvNW-q-oWz1XsSwq9zyf9jSlnYK6z4IOebjAjp6j7LB4TrfjtNEqSaaN4GkAfyNtAJ7DsVOrk0J5mB5r0kt5SJ1JLwe-/s1600/sqlmap-install-windows.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhYuHYbqQtKwUtrMugtjPipINn7QPF34HKlJNYXo8-f9ge38NzvNW-q-oWz1XsSwq9zyf9jSlnYK6z4IOebjAjp6j7LB4TrfjtNEqSaaN4GkAfyNtAJ7DsVOrk0J5mB5r0kt5SJ1JLwe-/s1600/sqlmap-install-windows.png&quot; height=&quot;200&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Install Sqlmap on windows&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div&gt;
Sqlmap is installed successfully and ready to roll and hack someone database :D ;)&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/install-and-run-sqlmap-on-windows_19.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhYuHYbqQtKwUtrMugtjPipINn7QPF34HKlJNYXo8-f9ge38NzvNW-q-oWz1XsSwq9zyf9jSlnYK6z4IOebjAjp6j7LB4TrfjtNEqSaaN4GkAfyNtAJ7DsVOrk0J5mB5r0kt5SJ1JLwe-/s72-c/sqlmap-install-windows.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-4702772943102082533</guid><pubDate>Sun, 11 Jan 2015 18:19:00 +0000</pubDate><atom:updated>2015-01-21T01:09:06.656+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><title>Android Json tutorial : Saving custom class object as JSONObject and JSONArray on Parse</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Android JSONObject and JSONArray allows you to save your custom class values on the Parse.com as a json string.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Suppose you would like to save your custom class values in a single Parse.com class column, you can just convert your class parameter values in JSONObject and then can save in a column on Parse.com.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Saving JSONObject on Parse&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;// Create a Parse object for the table under which you like to add your json object in a column.
ParseObject parseObject = new ParseObject(&quot;MainTable&quot;);

// Add your JSONObject
parseObject.put(&quot;myCustomClass&quot;,new JSONObject().put(&quot;key&quot;,&quot;value&quot;));
// Tip : Here you can add all of your custom class variable as key value pair in JSONObject

// Save the Parse object
parseObject.saveInBackground();
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Saving JSONArray on Parse [ If you like to save an array of custom class instances]&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;// Create a Parse object for the table under which you like to add your json object in a column.
ParseObject parseObject = new ParseObject(&quot;MainTable&quot;);

// Add your JSONArray
JSONArray jsonArray = new JSONArray(&quot;myCustomClassArray&quot;);
jsonArray.put(new JSONObject().put(&quot;key1&quot;,&quot;value1&quot;));
jsonArray.put(new JSONObject().put(&quot;key2&quot;,&quot;value2&quot;));
// Tip : Here you can add all of your custom class variable as key value pair in JSONObject

// Save the Parse object
parseObject.saveInBackground();&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/android-json-tutorial-saving-custom.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-4398545977433975766</guid><pubDate>Mon, 05 Jan 2015 18:14:00 +0000</pubDate><atom:updated>2015-01-21T01:12:42.151+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">svn</category><category domain="http://www.blogger.com/atom/ns#">Tech Tricks</category><title>The working copy at XXX is too old (format XXX) to work with client version XXX (rXXX)’ (expects format XX). You need to upgrade the working copy first.</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;The working copy at XXX is too old (format XXX) to work with client version XXX (rXXX)’ (expects format XX). You need to upgrade the working copy first.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
You are at right place for the solution, if you faced the error message like above while using svn client.&lt;br /&gt;
&lt;br /&gt;
Reasons why this error occurs:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;You have installed a newer version of svn client on your machine, and trying to add/commit some new files to svn server from you current working copy.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;&amp;nbsp;Easy fix 1:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Go to your svn checked project &amp;gt; right click &amp;gt; select &#39;upgrade the Working copy&#39;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;This will upgrade the working copy and now you should be able to add/commit file easily.&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpeU9Kx_KibRm2k4CAD6StahldOMxkNK-dDQK_bHRcp9_TNBKC5AdpvweZ8W2YN_tTWjhAoq7c8kTDI3WZ6xbctqiot_DuQxlfPf4_iTCxAuXVfPHdSRSpPN4POaIpPVScBlwXijgf22Zx/s1600/Upgrade_to_Subversion_1.7_with_Tortoise_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpeU9Kx_KibRm2k4CAD6StahldOMxkNK-dDQK_bHRcp9_TNBKC5AdpvweZ8W2YN_tTWjhAoq7c8kTDI3WZ6xbctqiot_DuQxlfPf4_iTCxAuXVfPHdSRSpPN4POaIpPVScBlwXijgf22Zx/s1600/Upgrade_to_Subversion_1.7_with_Tortoise_2.png&quot; height=&quot;207&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;Easy Fix 2:&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Still after applying the fix above, issue is not fixed :(. You can try below then:&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Right click on the folder causing the issue.&lt;/li&gt;
&lt;li&gt;If on right click it does not have any svn &#39;upgrade the working copy&#39;&lt;/li&gt;
&lt;li&gt;Then go under the folder delete the &quot;.svn&quot; folder completely&lt;/li&gt;
&lt;li&gt;Add/commit the remaining files to svn :) it will no give any error :)&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Thank you for reading :)&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/the-working-copy-at-xxx-is-too-old.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpeU9Kx_KibRm2k4CAD6StahldOMxkNK-dDQK_bHRcp9_TNBKC5AdpvweZ8W2YN_tTWjhAoq7c8kTDI3WZ6xbctqiot_DuQxlfPf4_iTCxAuXVfPHdSRSpPN4POaIpPVScBlwXijgf22Zx/s72-c/Upgrade_to_Subversion_1.7_with_Tortoise_2.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-6203785047105256397</guid><pubDate>Sun, 04 Jan 2015 14:24:00 +0000</pubDate><atom:updated>2015-01-21T01:10:46.582+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tech Tricks</category><title>Mcafee - Internet Security antivirus extend trial period free trick</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Like one of my previous &lt;a href=&quot;http://automatethebox.blogspot.in/2014/04/how-i-tricked-intellij-idea-ultimate.html&quot; target=&quot;_blank&quot;&gt;blog post&lt;/a&gt; on extending a software trial period, here comes the same trick to get the McAfee - Internet Security antivirus free extended subscription just by changing system date and time.&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOnGeXPXMvMo939VLUiebevChGtCmylwIR3DSW1_JbHIFqVhE5AxuYGypEaI9iqxeD6gbM2Vg1ZFmj6k3juZ4ZB81XyxZmYsVzUAsuMtqIhMWJoX_azDrEJE-sEyQtMACWb_bfO1v0UHyp/s1600/Mcafee1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOnGeXPXMvMo939VLUiebevChGtCmylwIR3DSW1_JbHIFqVhE5AxuYGypEaI9iqxeD6gbM2Vg1ZFmj6k3juZ4ZB81XyxZmYsVzUAsuMtqIhMWJoX_azDrEJE-sEyQtMACWb_bfO1v0UHyp/s1600/Mcafee1.PNG&quot; height=&quot;278&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;McAfee trial period expired&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Simple 2 step to extend the trial period and get free subscription :)&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;As you can see expired trial period screenshot on dated 04-01-2014. Change the System date to previous date say &#39;01-01-2014&#39; in our case.&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyad19YTI7w6ylF8iIkuxeHJhin52s0rAiDdEupxwJeHZQHIbYm_OZyF6l3O0WretYP5gCFV-vnfA6tf7A_2vcsrZZb7r2qYv9ScEKgTKc4AKQ_XHUUaCjL6Uuq1s0V362xAXa7j3FSoJU/s1600/Mcafee4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyad19YTI7w6ylF8iIkuxeHJhin52s0rAiDdEupxwJeHZQHIbYm_OZyF6l3O0WretYP5gCFV-vnfA6tf7A_2vcsrZZb7r2qYv9ScEKgTKc4AKQ_XHUUaCjL6Uuq1s0V362xAXa7j3FSoJU/s1600/Mcafee4.PNG&quot; height=&quot;233&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Change system date to previous months or years&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;li&gt;&amp;nbsp;Close the McAfee and start again. and Bingooooo !!!! free subscription activated&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi79xjDfQP5UTA-DpQrGKcfwyVriUTT7QkdHLGfQzcFlx48sL1QTUe7XeoAa7lluPSaiSw2kpaz4xF09aJD_qbN3wHirMa1igkWaKsHHe5oeoWcQ8IMeRUSSavHjwJZtOFmR2s_JtDcrfey/s1600/Mcafee2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi79xjDfQP5UTA-DpQrGKcfwyVriUTT7QkdHLGfQzcFlx48sL1QTUe7XeoAa7lluPSaiSw2kpaz4xF09aJD_qbN3wHirMa1igkWaKsHHe5oeoWcQ8IMeRUSSavHjwJZtOFmR2s_JtDcrfey/s1600/Mcafee2.PNG&quot; height=&quot;270&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;McAfee free subscription activated.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEill2PhekEp2uDFaSlqmMRH7DT2tPFZ25JEw447lGm7R66dphjBNjeFbn8jKby_K_R3uW0bJ7bEpyUEhs-0SYdw-oS8zUtjYEGXoMlj08fB3h-eg2jF4TZsbCu9UfoOj2xodDd9ma_eLqrX/s1600/Mcafee3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEill2PhekEp2uDFaSlqmMRH7DT2tPFZ25JEw447lGm7R66dphjBNjeFbn8jKby_K_R3uW0bJ7bEpyUEhs-0SYdw-oS8zUtjYEGXoMlj08fB3h-eg2jF4TZsbCu9UfoOj2xodDd9ma_eLqrX/s1600/Mcafee3.PNG&quot; height=&quot;267&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;font-size: 12.7272720336914px;&quot;&gt;Another year of free McAfee internet security subscription&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/mcafee-internet-security-antivirus.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOnGeXPXMvMo939VLUiebevChGtCmylwIR3DSW1_JbHIFqVhE5AxuYGypEaI9iqxeD6gbM2Vg1ZFmj6k3juZ4ZB81XyxZmYsVzUAsuMtqIhMWJoX_azDrEJE-sEyQtMACWb_bfO1v0UHyp/s72-c/Mcafee1.PNG" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-7380914290804108886</guid><pubDate>Sat, 03 Jan 2015 16:54:00 +0000</pubDate><atom:updated>2015-01-03T22:27:27.785+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Hacking</category><category domain="http://www.blogger.com/atom/ns#">vulnerability</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Hands on hacking - Windows 8.1 Elevation of Privilege vulnerability </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Windows-Elevation of Privilege vulnerability in ahcache.sys/NtApphelpCacheControl, reported by the Google project Zero team is now all over in news. So, i thought to try it on my Windows 8.1 and let&#39;s see if the provided exploit works or not, and how to verify it ;)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgANA_BeIybPHmfsY3GYdBgaTtYngcStERUVkhZ-KuQPccGd9pTAGm6LLiAVtrVG6C5klTKuWZKSmr58LiMUhThdj-ou3jrZVQoawTytqbuvG3ZpgVOVHzRLOCH4ASVxgxjQBBwUAi9Q3s6/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgANA_BeIybPHmfsY3GYdBgaTtYngcStERUVkhZ-KuQPccGd9pTAGm6LLiAVtrVG6C5klTKuWZKSmr58LiMUhThdj-ou3jrZVQoawTytqbuvG3ZpgVOVHzRLOCH4ASVxgxjQBBwUAi9Q3s6/s1600/Untitled.png&quot; height=&quot;188&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Below are the steps taken directly from the &lt;a href=&quot;https://code.google.com/p/google-security-research/issues/detail?id=118&quot; target=&quot;_blank&quot;&gt;report&lt;/a&gt;, and we will be going to execute it one by one and see how it works&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; font-size: 12px; max-width: 80em; padding-left: 0.7em; white-space: pre-wrap;&quot;&gt;1) Put the AppCompatCache.exe and Testdll.dll on disk
2) Ensure that UAC is enabled, the current user is a split-token admin and the UAC setting is the default (no prompt for specific executables). 
3) Execute AppCompatCache from the command prompt with the command line &quot;AppCompatCache.exe c:\windows\system32\ComputerDefaults.exe testdll.dll&quot;. 
4) If successful then the calculator should appear running as an administrator. If it doesn&#39;t work first time (and you get the ComputerDefaults program) re-run the exploit from 3, there seems to be a caching/timing issue sometimes on first run. &lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Let&#39;s Start the test&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Download the exploit files from this &lt;a href=&quot;https://drive.google.com/file/d/0B8oqIHl1Y-9uY0tsWVFrUjNiSUE/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;As per the step #2 from report, make sure your currently logged in user is&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;split-user token and UAC setting is set to default [ &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;(&lt;b&gt;i)-You should be an administrator, (ii)- Right click on calc.exe and select run as Administrator - an UAC pop up should be displayed&lt;/b&gt;&lt;/span&gt; ]&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Now navigate to downloaded folder poc\bin on command line and execute the below command:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-size: 12px; white-space: pre-wrap;&quot;&gt;AppCompatCache.exe c:\windows\system32\ComputerDefaults.exe testdll.dll&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Now you should see calc.exe (calculator) &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;running in elevated administrator mode and&amp;nbsp;that&#39;s&amp;nbsp;also&amp;nbsp;without any asking for any UAC pop up confirmation from&amp;nbsp;logged&amp;nbsp;in user :\&lt;/span&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1b3X_201Zok8gxrm45WwWavOxXKdla5Z9E8F0QaGYf8WYD_I1M_xTs8vcKunr7C5Ar9IN9GJg_VEYbeji6dqaoEbN9WZ1c33aRr6Qwjm9EchyphenhyphenYeQMMkJcqnQET_Qc53SBxQ7aIYLUvOqR/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1b3X_201Zok8gxrm45WwWavOxXKdla5Z9E8F0QaGYf8WYD_I1M_xTs8vcKunr7C5Ar9IN9GJg_VEYbeji6dqaoEbN9WZ1c33aRr6Qwjm9EchyphenhyphenYeQMMkJcqnQET_Qc53SBxQ7aIYLUvOqR/s1600/Capture.PNG&quot; height=&quot;154&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Bypassing UAC using the exploit code (elevation of privilage)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
You may wonder how to check if this is actually worked and calc.exe application is started in elevated mode, so here is how you can check :)&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Open the Task Manager &amp;gt; Navigate to Details tab &amp;gt; Right click on columns &amp;gt; click on &#39;Select Columns&#39; &amp;nbsp;&amp;gt; tick the &#39;Elevated&#39; column and click on OK&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMFvQcGM6Uxn7jcFLkj4TutoCIG3dK5L7bNl2x_HsT1AO-pIpl8knDyNWzqftwoC0HeOahce1-eNbdGWw4If3ZEe_ULOudLOT22wTdeSdVlYjM_HY3IOi-RLX2vl8vN_JZnJEL2fpa-QEz/s1600/Capture1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMFvQcGM6Uxn7jcFLkj4TutoCIG3dK5L7bNl2x_HsT1AO-pIpl8knDyNWzqftwoC0HeOahce1-eNbdGWw4If3ZEe_ULOudLOT22wTdeSdVlYjM_HY3IOi-RLX2vl8vN_JZnJEL2fpa-QEz/s1600/Capture1.PNG&quot; height=&quot;185&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Adding elevated column in Task Manager process details tab&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;li&gt;once the &#39;elevated&#39; column is added, you can see our calc.exe application is started as Administrator.&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibZ3SEVSV-OG7Ae53nMF6WZunZMpbr7Na7xYqX68O-QR7Z4UbhC54IH8APQWHJtUc_-lm2pD6gVH8iQlQ1zkfYeP_7sx96oSPpfPI_DryS35ATpEVsiMB_eYg3LzRPq9YvdHweezCcuk41/s1600/Capture2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibZ3SEVSV-OG7Ae53nMF6WZunZMpbr7Na7xYqX68O-QR7Z4UbhC54IH8APQWHJtUc_-lm2pD6gVH8iQlQ1zkfYeP_7sx96oSPpfPI_DryS35ATpEVsiMB_eYg3LzRPq9YvdHweezCcuk41/s1600/Capture2.PNG&quot; height=&quot;65&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;checking a process Elevated status&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;/ul&gt;
Thank you :)
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; font-size: 12px; max-width: 80em; padding-left: 0.7em; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; max-width: 80em; padding-left: 0.7em;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;PS : If you like to go in the bug report detail you can check it here&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;a href=&quot;https://code.google.com/p/google-security-research/issues/detail?id=118&quot;&gt;https://code.google.com/p/google-security-research/issues/detail?id=118&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; font-size: 12px; max-width: 80em; padding-left: 0.7em; white-space: pre-wrap;&quot;&gt;&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/hands-on-hacking-windows-81-elevation.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgANA_BeIybPHmfsY3GYdBgaTtYngcStERUVkhZ-KuQPccGd9pTAGm6LLiAVtrVG6C5klTKuWZKSmr58LiMUhThdj-ou3jrZVQoawTytqbuvG3ZpgVOVHzRLOCH4ASVxgxjQBBwUAi9Q3s6/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-529028119558256684</guid><pubDate>Sat, 03 Jan 2015 11:56:00 +0000</pubDate><atom:updated>2015-01-21T01:11:23.315+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Selenium/WebDriver</category><title>Running Selenium Webdriver tests on Internet Explorer browser</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
So finally added support to execute tests on Internet Explorer browser also in my github project&amp;nbsp;&lt;a href=&quot;https://github.com/lalit-k/selenium-java-tests&quot; target=&quot;_blank&quot;&gt;https://github.com/lalit-k/selenium-java-tests&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
3 Simple steps to add Internet Explorer support in Selenium Webdriver project:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Download the IEDriverServer.exe , you can download the latest version from &lt;a href=&quot;http://selenium-release.storage.googleapis.com/index.html&quot; target=&quot;_blank&quot;&gt;http://selenium-release.storage.googleapis.com/index.html&lt;/a&gt; for your target operating system.[download url may change, you can google latest if it changes]&lt;/li&gt;
&lt;li&gt;Extract the&amp;nbsp;IEDriverServer.exe from the downloaded zip, and place in your project resources folder.&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUhs9xaK_vtHWpavYOc_pQiwM_DlJ7hGJ12CJaHdtPuIjPS5_Naqk3_61hRbsQGBEpQnwg0GdLTDOWqqQJwakWrvrtKZeS1XJaNwYhvpcu_XMYq1VPspFcoy8mTwX0JqunoGyN3Y1z0Q1M/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUhs9xaK_vtHWpavYOc_pQiwM_DlJ7hGJ12CJaHdtPuIjPS5_Naqk3_61hRbsQGBEpQnwg0GdLTDOWqqQJwakWrvrtKZeS1XJaNwYhvpcu_XMYq1VPspFcoy8mTwX0JqunoGyN3Y1z0Q1M/s1600/Capture.PNG&quot; height=&quot;208&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small; text-align: left;&quot;&gt;IEDriverServer.exe&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;li&gt;Now, go to the Driver script where you are initializing the&amp;nbsp;IEDriverServer&amp;nbsp;and add the below code line to&amp;nbsp;initialize the&amp;nbsp;IEDriverServer.&lt;/li&gt;
&lt;/ol&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span style=&quot;font-size: small; text-align: left;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
System.setProperty(&quot;webdriver.ie.driver&quot;, &amp;lt;full system path of the IEDriverServer.exe. Example: c:\tests\resources\IEDriverServer.exe&amp;gt;);
WebDriver driver = new InternetExplorerDriver();
&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Tip : you can use the &quot;System.getProperty(&quot;user.dir&quot;);&quot; to get the current working directory and then append the path to&amp;nbsp;IEDriverServer.exe&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmSQhixU6rBUVxYwUHzpup3CirXpEvLg88aahyphenhyphenfKWOyM0p1Zzx2LIJDt61KZmtv_KjCbtBMWRCSlarkhMdxeJ0A7h3rGW7a6ht5fXQijlnywTxfYpDGEmwFWnHzdaOJhXDR9AiYPlr6-kR/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmSQhixU6rBUVxYwUHzpup3CirXpEvLg88aahyphenhyphenfKWOyM0p1Zzx2LIJDt61KZmtv_KjCbtBMWRCSlarkhMdxeJ0A7h3rGW7a6ht5fXQijlnywTxfYpDGEmwFWnHzdaOJhXDR9AiYPlr6-kR/s1600/Capture.PNG&quot; height=&quot;179&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;System.getProperty(&quot;user.dir&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
You can also view the complete code changes for your reference at&amp;nbsp;&lt;a href=&quot;https://github.com/lalit-k/selenium-java-tests/commit/d1dc4cd3f878d64a4119fc0d6297df026a07cf5a&quot; target=&quot;_blank&quot;&gt;https://github.com/lalit-k/selenium-java-tests/commit/d1dc4cd3f878d64a4119fc0d6297df026a07cf5a&lt;/a&gt;&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/running-selenium-webdriver-tests-on_3.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUhs9xaK_vtHWpavYOc_pQiwM_DlJ7hGJ12CJaHdtPuIjPS5_Naqk3_61hRbsQGBEpQnwg0GdLTDOWqqQJwakWrvrtKZeS1XJaNwYhvpcu_XMYq1VPspFcoy8mTwX0JqunoGyN3Y1z0Q1M/s72-c/Capture.PNG" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-5803739557028606640</guid><pubDate>Sat, 03 Jan 2015 08:28:00 +0000</pubDate><atom:updated>2015-01-21T01:11:41.011+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Selenium/WebDriver</category><title>Running Selenium Webdriver tests on Google Chrome browser</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Few months back i had added the support to execute tests on Google Chrome browser in my github project&amp;nbsp;&lt;a href=&quot;https://github.com/lalit-k/selenium-java-tests&quot; target=&quot;_blank&quot;&gt;https://github.com/lalit-k/selenium-java-tests&lt;/a&gt;&amp;nbsp;, so i thought to write it down how you can do the same if needed in your project.&lt;br /&gt;
&lt;br /&gt;
3 Simple steps to add Google Chrome support in Selenium Webdriver project:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Download the ChromeDriver.exe , you can download the latest version from &lt;a href=&quot;http://chromedriver.storage.googleapis.com/index.html&quot; target=&quot;_blank&quot;&gt;http://chromedriver.storage.googleapis.com/index.html&lt;/a&gt; for your target operating system.[download url may change, you can google latest if it changes]&lt;/li&gt;
&lt;li&gt;Extract the chromedriver.exe from the downloaded zip, and place in your project resources folder.&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio2gCN7VVLi_xK8jvZUdEAbeXj05rXljMdj4SkXsV7JsKp-2hqAWrgdZBsml26Me2958Q14M9lhrhAf5IMTCoFIxggYUjMuo3Ur1UBy_K_prMVumXM5oklW_r10rooSJXPikWtbl6l-k1y/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio2gCN7VVLi_xK8jvZUdEAbeXj05rXljMdj4SkXsV7JsKp-2hqAWrgdZBsml26Me2958Q14M9lhrhAf5IMTCoFIxggYUjMuo3Ur1UBy_K_prMVumXM5oklW_r10rooSJXPikWtbl6l-k1y/s1600/Capture.PNG&quot; height=&quot;107&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Add Chromedriver.exe&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;li&gt;Now, go to the Driver file where you are initializing the ChromeDriver and add the below code line to initialize the ChromeDriver.&lt;/li&gt;
&lt;/ol&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span style=&quot;font-size: small; text-align: left;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
System.setProperty(&quot;webdriver.chrome.driver&quot;, &amp;lt;full system path of the chromedriver.exe. Example: c:\tests\resources\chromedriver.exe&amp;gt;);
WebDriver driver = new ChromeDriver();
&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Tip : you can use the &quot;System.getProperty(&quot;user.dir&quot;);&quot; to get the current working directory and then append the path to chromedriver.exe&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhgTWujSCrfFh_wLbH6gNI0lJCGtraQrFCUT7maQ8nWJNb4HdlY1zHRNgd6j6LVEIjUiIZL9oZXYqDuBScVami6CtbcSdjg4l9S0zA1cl2fGb0nKnG9jYcEp08wUXiHfDCzf3qYze6MEyT/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhgTWujSCrfFh_wLbH6gNI0lJCGtraQrFCUT7maQ8nWJNb4HdlY1zHRNgd6j6LVEIjUiIZL9oZXYqDuBScVami6CtbcSdjg4l9S0zA1cl2fGb0nKnG9jYcEp08wUXiHfDCzf3qYze6MEyT/s1600/Capture.PNG&quot; height=&quot;203&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small; text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
System.getProperty(&quot;user.dir&quot;)
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also view the complete code changes for your reference at&amp;nbsp;&lt;a href=&quot;https://github.com/lalit-k/selenium-java-tests/commit/01cda755f72918a417b7b0cded1b2db4c387eb70&quot; target=&quot;_blank&quot;&gt;https://github.com/lalit-k/selenium-java-tests/commit/01cda755f72918a417b7b0cded1b2db4c387eb70&lt;/a&gt;&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/running-selenium-webdriver-tests-on.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio2gCN7VVLi_xK8jvZUdEAbeXj05rXljMdj4SkXsV7JsKp-2hqAWrgdZBsml26Me2958Q14M9lhrhAf5IMTCoFIxggYUjMuo3Ur1UBy_K_prMVumXM5oklW_r10rooSJXPikWtbl6l-k1y/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-1654357516191517487</guid><pubDate>Fri, 02 Jan 2015 20:37:00 +0000</pubDate><atom:updated>2015-01-03T02:08:15.328+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Blogger</category><category domain="http://www.blogger.com/atom/ns#">Facebook</category><title>Add Facebook popup Like box on your blog</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
When you come first time on this blog you must have seen a Facebook Like pop up box. Well that is just a few lines of JavaScript code embedded in the blog template.&lt;br /&gt;
&lt;br /&gt;
So, i thought it to share with you guys if you like to add on your blogs also :)&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVLZ-U6TJtGhZSN_nGuskOz4KPVvsBF1tg6CZ2jSXyJuOgpA6MPnfxRfWXZvd_E_v6IumUMjGPrRAxGYUR4THyygcUg2rogDXQ2ggbLf7iF3e_DIvEW9NO9IbIuhrJeXDzQXjNCArlbUHG/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVLZ-U6TJtGhZSN_nGuskOz4KPVvsBF1tg6CZ2jSXyJuOgpA6MPnfxRfWXZvd_E_v6IumUMjGPrRAxGYUR4THyygcUg2rogDXQ2ggbLf7iF3e_DIvEW9NO9IbIuhrJeXDzQXjNCArlbUHG/s1600/Capture.PNG&quot; height=&quot;175&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Facebook popup Like box&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
1. Open the your blog Layout Editor &amp;gt; Add a Widget &amp;gt; Select HTML/JavaScript widget.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA3dvwEFIp796g8oaH40cZdXwiJEyB_zimhKSDNJImrCxZg6JLDaiXB4hTWHErN8gVmEGTy0uHmb8Ey9ec9TYAc2TlEj_8gRIGzP7wTFxur31LdKt4BHaHBYxEiETSqvxAz1TqeFUxF0O4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA3dvwEFIp796g8oaH40cZdXwiJEyB_zimhKSDNJImrCxZg6JLDaiXB4hTWHErN8gVmEGTy0uHmb8Ey9ec9TYAc2TlEj_8gRIGzP7wTFxur31LdKt4BHaHBYxEiETSqvxAz1TqeFUxF0O4/s1600/Capture.PNG&quot; height=&quot;312&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Configure Html/JavaScript widget&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
2. Copy and paste the below code in the content section as shown in above image. [ Just change the page id to your own Facebook page/profile]&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
&amp;nbsp;&amp;lt;script src=&#39;http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&#39; type=&#39;text/javascript&#39;&amp;gt;&amp;lt;/script&amp;gt;

&amp;lt;style&amp;gt;

#fbox-background {

&amp;nbsp; &amp;nbsp; display: none;

&amp;nbsp; &amp;nbsp; background: rgba(0,0,0,0.8);

&amp;nbsp; &amp;nbsp; width: 100%;

&amp;nbsp; &amp;nbsp; height: 100%;

&amp;nbsp; &amp;nbsp; position: fixed;

&amp;nbsp; &amp;nbsp; top: 0;

&amp;nbsp; &amp;nbsp; left: 0;

&amp;nbsp; &amp;nbsp; z-index: 99999;

}



#fbox-close {

&amp;nbsp; &amp;nbsp; width: 100%;

&amp;nbsp; &amp;nbsp; height: 100%;

}



#fbox-display {

&amp;nbsp; &amp;nbsp; background: #eaeaea;

&amp;nbsp; &amp;nbsp; border: 5px solid #828282;

&amp;nbsp; &amp;nbsp; width: 340px;

&amp;nbsp; &amp;nbsp; height: 230px;

&amp;nbsp; &amp;nbsp; position: absolute;

&amp;nbsp; &amp;nbsp; top: 32%;

&amp;nbsp; &amp;nbsp; left: 37%;

&amp;nbsp; &amp;nbsp; -webkit-border-radius: 5px;

&amp;nbsp; &amp;nbsp; -moz-border-radius: 5px;

&amp;nbsp; &amp;nbsp; border-radius: 5px;

}



#fbox-button {

&amp;nbsp; &amp;nbsp; float: right;

&amp;nbsp; &amp;nbsp; cursor: pointer;

&amp;nbsp; &amp;nbsp; position: absolute;

&amp;nbsp; &amp;nbsp; right: 0px;

&amp;nbsp; &amp;nbsp; top: 0px;

}



#fbox-button:before {

&amp;nbsp; &amp;nbsp; content: &quot;CLOSE&quot;;

&amp;nbsp; &amp;nbsp; padding: 5px 8px;

&amp;nbsp; &amp;nbsp; background: #828282;

&amp;nbsp; &amp;nbsp; color: #eaeaea;

&amp;nbsp; &amp;nbsp; font-weight: bold;

&amp;nbsp; &amp;nbsp; font-size: 10px;

&amp;nbsp; &amp;nbsp; font-family: Tahoma;

}



#fbox-link,#fbox-link a.visited,#fbox-link a,#fbox-link a:hover {

&amp;nbsp; &amp;nbsp; color: #aaaaaa;

&amp;nbsp; &amp;nbsp; font-size: 9px;

&amp;nbsp; &amp;nbsp; text-decoration: none;

&amp;nbsp; &amp;nbsp; text-align: center;

&amp;nbsp; &amp;nbsp; padding: 5px;

}

&amp;lt;/style&amp;gt;

&amp;lt;script type=&#39;text/javascript&#39;&amp;gt;

//&amp;lt;![CDATA[

jQuery.cookie = function (key, value, options) {

// key and at least value given, set cookie...

if (arguments.length &amp;gt; 1 &amp;amp;&amp;amp; String(value) !== &quot;[object Object]&quot;) {

options = jQuery.extend({}, options);

if (value === null || value === undefined) {

options.expires = -1;

}

if (typeof options.expires === &#39;number&#39;) {

var days = options.expires, t = options.expires = new Date();

t.setDate(t.getDate() + days);

}

value = String(value);

return (document.cookie = [

encodeURIComponent(key), &#39;=&#39;,

options.raw ? value : encodeURIComponent(value),

options.expires ? &#39;; expires=&#39; + options.expires.toUTCString() : &#39;&#39;, // use expires attribute, max-age is not supported by IE

options.path ? &#39;; path=&#39; + options.path : &#39;&#39;,

options.domain ? &#39;; domain=&#39; + options.domain : &#39;&#39;,

options.secure ? &#39;; secure&#39; : &#39;&#39;

].join(&#39;&#39;));

}

// key and possibly options given, get cookie...

options = value || {};

var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;

return (result = new RegExp(&#39;(?:^|; )&#39; + encodeURIComponent(key) + &#39;=([^;]*)&#39;).exec(document.cookie)) ? decode(result[1]) : null;

};

//]]&amp;gt;

&amp;lt;/script&amp;gt;

&amp;lt;script type=&#39;text/javascript&#39;&amp;gt;

jQuery(document).ready(function($){

if($.cookie(&#39;popup_facebook_box&#39;) != &#39;yes&#39;){

$(&#39;#fbox-background&#39;).delay(5000).fadeIn(&#39;medium&#39;);

$(&#39;#fbox-button, #fbox-close&#39;).click(function(){

$(&#39;#fbox-background&#39;).stop().fadeOut(&#39;medium&#39;);

});

}

$.cookie(&#39;popup_facebook_box&#39;, &#39;yes&#39;, { path: &#39;/&#39;, expires: 7 });

});

&amp;lt;/script&amp;gt;

&amp;lt;div id=&#39;fbox-background&#39;&amp;gt;

&amp;lt;div id=&#39;fbox-close&#39;&amp;gt;

&amp;lt;/div&amp;gt;

&amp;lt;div id=&#39;fbox-display&#39;&amp;gt;

&amp;lt;div id=&#39;fbox-button&#39;&amp;gt;

&amp;lt;/div&amp;gt;

&amp;lt;iframe allowtransparency=&#39;true&#39; frameborder=&#39;0&#39; scrolling=&#39;no&#39; src=&#39;//www.facebook.com/plugins/likebox.php?

href=https://www.facebook.com/automatethebox&amp;amp;width=402&amp;amp;height=255&amp;amp;colorscheme=light&amp;amp;show_faces=true&amp;amp;show_border=false&amp;amp;stream=false&amp;amp;header=false&#39;

style=&#39;border: none; overflow: hidden; background: #fff; width: 339px; height: 200px;&#39;&amp;gt;&amp;lt;/iframe&amp;gt;

&amp;lt;div id=&quot;fbox-link&quot;&amp;gt;Powered by &amp;lt;a style=&quot;padding-left: 0px;&quot; href=&quot;http://automatethebox.blogspot.com&quot; rel=&quot;nofollow&quot;&amp;gt;AutomateTheBox&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
3. Save the Changes, and all Done :) ready to roll&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/add-facebook-popup-like-box-on-your-blog.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVLZ-U6TJtGhZSN_nGuskOz4KPVvsBF1tg6CZ2jSXyJuOgpA6MPnfxRfWXZvd_E_v6IumUMjGPrRAxGYUR4THyygcUg2rogDXQ2ggbLf7iF3e_DIvEW9NO9IbIuhrJeXDzQXjNCArlbUHG/s72-c/Capture.PNG" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-440188012453262194</guid><pubDate>Thu, 01 Jan 2015 20:07:00 +0000</pubDate><atom:updated>2015-01-21T01:12:21.811+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><title>ParseUser.logout() doesn&#39;t logs user out</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently working on a android app integrated with Parse and Facebook, i observed the issue that just calling the ParseUser.logout() does not clear the authenticated user token and logs in the user again on clicking on &#39;Log in as Facebook&#39; even if user have logged out from the Facebook app also.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
goggled the solution, but found this is as Design :(&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, still if you like to invalidate the facebook authentication token on ParseUser.logout(), you can do by adding a few lines of code shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#################Code Snippet#####################&lt;br /&gt;
&lt;br /&gt;
// Logout already logged in user from your android app.&lt;br /&gt;
&lt;br /&gt;
ParseUser.logout();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// Check if user is logged in Facebook android app or not. If not clear the token information &amp;nbsp;explicitly.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;com.facebook.Session facebookSession= com.facebook.Session.getActiveSession();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (facebookSession== null) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;facebookSession= new com.facebook.Session(this);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; com.facebook.Session.setActiveSession(facebookSession);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;facebookSession.closeAndClearTokenInformation();&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
#################Code Snippet#####################&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now, when you click on &#39;Log in with Facebook&#39;, user will be taken to login screen and there you can then log in to your app as different user :)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2015/01/parseuserlogout-doesnt-logs-user-out.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-334816871662668937</guid><pubDate>Mon, 29 Dec 2014 16:31:00 +0000</pubDate><atom:updated>2015-01-21T01:13:10.118+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><title>Facebook Android Sdk : Serialize GraphUser object</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
If you check at the Facebook sdk GraphUser object &lt;a href=&quot;https://developers.facebook.com/docs/reference/android/current/interface/GraphUser/&quot; target=&quot;_blank&quot;&gt;documentation&lt;/a&gt; , it does not implements the&amp;nbsp;java.io.Serializable as a result of which you can pass the GraphUser object through activities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Though if you like to pass GraphUser to other activities, you can do it by saving GraphUser json string in a String instance and then pass it,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;// Save GraphUser json information in String instance and pass to another activity using intent&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
List&amp;lt;GraphUser&amp;gt; selectedUsers = friendPickerFragment.getSelection();&lt;br /&gt;
List&amp;lt;GraphUser&amp;gt; selectedUsersJson = new ArrayList&amp;lt;String&amp;gt;();&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
for (GraphUser graphUser : selectedUsers) {&lt;/div&gt;
&lt;div&gt;
selectedUsersJson.add(graphUser.getInnerJSONObject().toString());&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;i&gt;// Re-initialize the GraphUser from the saved graph user json from the intent&lt;/i&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
List&amp;lt;GraphUser&amp;gt; selectedUsers = new ArrayList&amp;lt;GraphUser&amp;gt;();&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
for (String graphUserJson :&amp;nbsp;selectedUsersJson) {&lt;/div&gt;
&lt;div&gt;
selectedUsers&amp;nbsp;.add(GraphObject.Factory.create(new JSONObject(graphUserJson),GraphUser.class));&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Happy Serializing :)&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2014/12/facebook-android-sdk-serialize.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-2247896426752547171</guid><pubDate>Sat, 06 Dec 2014 06:34:00 +0000</pubDate><atom:updated>2015-01-21T01:13:33.111+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><category domain="http://www.blogger.com/atom/ns#">Tech Tricks</category><title>Download Android SDK offline</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Many of you interested in Android development or automation, must have downloaded Android SDK installer and have noticed once you install the SDK on your machine, you still need to download some more file using the Android SDK Manager like :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Android SDK Tools&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Android Platform Tools&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Android API&#39;s&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;In some case you may not have the fast internet connection/bandwidth to download this much stuff.( Same with me :D ). So, here is the solution i am sharing with you guys how you can download with stuff from an high internet connection machine and then cut and paste to your development machine :)&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Navigate to the link &lt;a href=&quot;https://dl-ssl.google.com/android/repository/repository-10.xml&quot;&gt;https://dl-ssl.google.com/android/repository/repository-10.xml&lt;/a&gt; in browser. [ Note this is the last updated link at the time of writing this post.In future &lt;b&gt;you will need to check the latest page by +1&amp;nbsp;increment to digit shown in url&lt;/b&gt;. Example next updated version should have &#39;respository-10.xml&#39; in end ]&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;Search for the sdk-tools/platform-tools/other stuff in the page like:&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; For example to download the android sdk api 21,search for &quot;android-21&quot;. You will see entry in xml like &quot;android-21_r01.zip&quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Copy the entry and append to url &#39;http://dl-ssl.google.com/android/repository/&#39;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Your download url will be like&amp;nbsp;&lt;a href=&quot;http://dl-ssl.google.com/android/repository/android-21_r01.zip&quot;&gt;http://dl-ssl.google.com/android/repository/android-21_r01.zip&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;[ Similarly you can download the other stuff zip files as mentioned in above steps ]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Once you have downloaded, you just copy the zip file to your development machine.Extract the files and place under &amp;lt;android-sdk-path&amp;gt;/&amp;lt;respective-folder-for-tools/other-stuff&amp;gt;.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You can check the placed files are correct,by opening the ANDROID SDK MANAGER and check the Status of downloaded tools is shown as &#39;INSTALLED&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;:) :)&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTTTlRJ4iFVod5V83WPPFdwuQI6E90wBtFWjrCbFM2fMqPCmPl4eHc2Vr2JtirdHNCdxcOzEkCGLHgrqJ-kt-H_o9wjioScBeFa0OqWAmwCrEqsYDLVfgoWykUzFiZiZmY1bJc2TnclNCl/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTTTlRJ4iFVod5V83WPPFdwuQI6E90wBtFWjrCbFM2fMqPCmPl4eHc2Vr2JtirdHNCdxcOzEkCGLHgrqJ-kt-H_o9wjioScBeFa0OqWAmwCrEqsYDLVfgoWykUzFiZiZmY1bJc2TnclNCl/s1600/Untitled.png&quot; height=&quot;110&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;sdk tools/platform tools/&lt;/span&gt;API&#39;s&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;download links for your&amp;nbsp;&lt;/span&gt;reference&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: inherit;&quot;&gt;[ latest as of post writing ]&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Android SDK :&amp;nbsp;&lt;a href=&quot;http://dl-ssl.google.com/android/repository/android-21_r01.zip&quot;&gt;http://dl-ssl.google.com/android/repository/android-21_r01.zip&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Platform Tools :&amp;nbsp;&lt;a href=&quot;http://dl-ssl.google.com/android/repository/platform-tools_r21-windows.zip&quot;&gt;http://dl-ssl.google.com/android/repository/platform-tools_r21-windows.zip&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Build Tools :&amp;nbsp;&lt;a href=&quot;http://dl-ssl.google.com/android/repository/build-tools_r21.1.1-windows.zip&quot;&gt;http://dl-ssl.google.com/android/repository/build-tools_r21.1.1-windows.zip&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Samples :&amp;nbsp;&lt;a href=&quot;http://dl-ssl.google.com/android/repository/samples-21_r03.zip&quot;&gt;http://dl-ssl.google.com/android/repository/samples-21_r03.zip&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Docs :&amp;nbsp;&lt;a href=&quot;http://dl-ssl.google.com/android/repository/docs-21_r01.zip&quot;&gt;http://dl-ssl.google.com/android/repository/docs-21_r01.zip&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sources :&amp;nbsp;&lt;a href=&quot;http://dl-ssl.google.com/android/repository/sources-21_r01.zip&quot;&gt;http://dl-ssl.google.com/android/repository/sources-21_r01.zip&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Leave your question in case of any issues :)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2014/12/download-android-sdk-offline.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTTTlRJ4iFVod5V83WPPFdwuQI6E90wBtFWjrCbFM2fMqPCmPl4eHc2Vr2JtirdHNCdxcOzEkCGLHgrqJ-kt-H_o9wjioScBeFa0OqWAmwCrEqsYDLVfgoWykUzFiZiZmY1bJc2TnclNCl/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5092279862047753544.post-8696560995470966137</guid><pubDate>Wed, 20 Aug 2014 16:22:00 +0000</pubDate><atom:updated>2015-01-21T01:14:55.039+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">PowerShell</category><category domain="http://www.blogger.com/atom/ns#">Sharepoint</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Adding Windows PowerShell Cmdlets</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;You may all have seen some error like below when running a command on Windows PowerShell. This usually occurs when the command PowerShell snap-in is not added.&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;The term &#39;Get-SPWebApplication&#39; is not recognized as the name of a cmdlet, function, script file, or operable program.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Solution:&amp;nbsp; How to add the required snap-in if not already added from the PowerShell script itself.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;

&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
# Example to add SharePoint Cmdlets [ SharePoint should be installed on machine ]&lt;br /&gt;
if ( (Get-PSSnapin -Name Microsoft.Sharepoint.Powershell -ErrorAction SilentlyContinue) -eq $null )&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-PsSnapin Microsoft.Sharepoint.Powershell&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Output &quot;`n Snap-in Microsoft.SharePoint.PowerShell added.&quot;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Output &quot;`n Snap-in Microsoft.SharePoint.PowerShell already added.&quot;&lt;br /&gt;
}&amp;nbsp;&lt;/div&gt;
&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;color: red;&quot;&gt; &lt;/span&gt;

&lt;/div&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_iu0ntiKCB33ONignb9TeNrMkbEB2cpXQgFTUBleDrbabT2nN8FM2v2R7DBDu89xLqfHERQYwF5kPa1SaFoPqqMXHiuSgA7tgZ1vjupnqjE0C26vAaw_n6A5h1vO0nNQOGA3N0eAT-jcq/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
# Example to add SQL Cmdlets [ SQL management tools should be installed on machine ]&lt;br /&gt;
if ( (Get-PSSnapin -Name SqlServerCmdletSnapin100 -ErrorAction SilentlyContinue) -eq $null )&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-PsSnapin SqlServerCmdletSnapin100&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Output &quot;`n Snap-in SqlServerCmdletSnapin100 added.&quot;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Output &quot;`n Snap-in SqlServerCmdletSnapin100 already added.&quot;&lt;br /&gt;
}&lt;br /&gt;
if ( (Get-PSSnapin -Name SqlServerProviderSnapin100 -ErrorAction SilentlyContinue) -eq $null )&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-PsSnapin SqlServerProviderSnapin100&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Output &quot;`n Snap-in SqlServerProviderSnapin100.&quot;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Output &quot;`n Snap-in SqlServerProviderSnapin100 already added.&quot;&lt;br /&gt;
}&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://automatethebox.blogspot.com/2014/08/adding-windows-powershell-cmdlets_20.html</link><author>noreply@blogger.com (Lalit Narnaulia)</author><thr:total>2</thr:total></item></channel></rss>