<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>jah&apos;s blog</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/" />
    <link rel="self" type="application/atom+xml" href="http://jahboite.co.uk/blog/atom.xml" />
    <id>tag:jahboite.co.uk,2009-08-20:/blog//4</id>
    <updated>2011-01-23T15:50:14Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 5.04</generator>

<entry>
    <title>Is The Internet On?</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2011/01/is-the-internet-on.html" />
    <id>tag:jahboite.co.uk,2011:/blog//4.83</id>

    <published>2011-01-23T15:27:00Z</published>
    <updated>2011-01-23T15:50:14Z</updated>

    <summary>The Internet is critical in its role in sustaining life here on Earth and it is vital to know whether or not the Internet is On. </summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="availability" label="availability" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="network" label="network" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<p>The following is a link to an invaluable resource which will tell you <a href="http://jahboite.co.uk/is-the-internet-on.php">whether or not the Internet is On</a>.</p>

<p>Obviously, the Internet is critical in its role in sustaining life here on Earth and it is vital to know <a href="http://jahboite.co.uk/is-the-internet-on.php">whether or not the Internet is On</a>.  The following linked resource will provide a clear and simple 'Yes' or 'No' answer, almost instantaneously.</p>

<p>Please Note: Whilst the following linked resource will ascertain <a href="http://jahboite.co.uk/is-the-internet-on.php">whether or not the Internet is On</a>, it is more difficult to determine whether or not the Worldwide Web is also On - we hope to provide a mechanism to reliably determine this in the near future.</p>

<p>Without further ado :-</p>

<p><a href="http://jahboite.co.uk/is-the-internet-on.php">Is The Internet On?</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>How To Enable the PHP Fileinfo Extension under Windows</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2010/11/howto-enable-php-fileinfo-extension-on-windows.html" />
    <id>tag:jahboite.co.uk,2010:/blog//4.82</id>

    <published>2010-11-30T22:14:00Z</published>
    <updated>2010-11-30T22:39:34Z</updated>

    <summary>These five steps will hopefully help you to enable the Fileinfo extension for PHP under Windows.</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="howto" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="apache" label="apache" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dev" label="dev" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="howto" label="howto" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="php" label="php" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<p>These five steps will hopefully help you to enable the Fileinfo extension for <span class="caps">PHP </span>under Windows. These steps assume you have the extension installed (e.g. php\ext\php_fileinfo.dll). They worked for me using Xampplite 1.7.1 and <span class="caps">PHP</span> 5.2.9.</p>

<ol>
<li>Download <a href="http://gnuwin32.sourceforge.net/">GnuWin</a> version 4.23 (the version number is significant) - your best bet is <a href="http://sourceforge.net/projects/gnuwin32/files/file/4.23/file-4.23-bin.zip/download">http://sourceforge.net/projects/gnuwin32/files/file/4.23/file-4.23-bin.zip/download</a></li>
<li>Extract the contents of <code>file-4.23-bin.zip\share\file\</code> to a folder on your machine - I went with <code>path\to\xampplite\php\extras\magic\</code></li>
<li><a href="http://www.google.com/search?q=add+environment+variable+windows">Add an environment variable</a>, named <strong><span class="caps">MAGIC</span></strong>, to your machine with the value pointing at the <em>file</em> named <strong>magic</strong> - in my example: <code>path\to\xampplite\php\extras\magic\magic\</code></li>
<li>Add a line (or uncomment an existing line) to your php.ini: <code>extension=php_fileinfo.dll</code></li>
<li>Restart Apache if it was already running.</li>
</ol>

<p>That's it!</p>

<p>These steps are probably what you need if you are seeing errors such as these:</p>

<ul>
<li>Failed to load magic database</li>
<li>Fileinfo could not load the magic file</li>
<li>The given magicfile can not be read</li>
<li>The given magicfile is not accepted by finfo</li>
</ul>

<p>(The last two of these error messages are specific to Zend Framework)</p>

<p>References:<br />
* <a href="http://php.net/manual/en/function.finfo-open.php#82551">http://php.net/manual/en/function.finfo-open.php#82551</a><br />
* <a href="http://pecl.php.net/bugs/bug.php?id=7555">http://pecl.php.net/bugs/bug.php?id=7555</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>The TCP/IP Guide - Greasemonkey Userscript</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/09/userscript-the-tcpip-guide.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.76</id>

    <published>2009-09-08T22:15:48Z</published>
    <updated>2009-09-08T22:58:36Z</updated>

    <summary>jah has written a greasemonkey userscript to fix the page layout for The TCP/IP Guide free online edition - it&apos;s very simple, but it took him ages!</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="firefox" label="firefox" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="greasemonkey" label="greasemonkey" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="userscript" label="userscript" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<p>I've just finished a short <a href="https://addons.mozilla.org/en-US/firefox/addon/748">greasemonkey</a> userscript (get the userscript <a href="/files/js/the_tcpip_guide_fix.user.js">here</a>) which fixes the display of pages at the excellent, free, online <span class="caps">TCP</span>/IP guide at <a href="http://www.tcpipguide.com/free/index.htm">www.tcpipguide.com/free/</a>.  The <span class="caps">TCP</span>/IP Guide is displayed on html pages which rely heavily on html table elements for their layout and the table cell containing the main content for a page is missing a "valign" attribute and so defaults to a value of "middle" when rendered by the browser.  This is annoying because there's an area of white space above the main content which is most pronounced when the browser window is very wide - see an example at <a href="http://www.tcpipguide.com/free/t_IntroductiontoNetworking.htm">this page</a>.</p>

<p><a href="https://addons.mozilla.org/en-US/firefox/addon/748">Greasemonkey</a> is a cool add-on for the <a href="http://www.mozilla.com/firefox/">firefox</a> browser which allows you to modify and extend html pages with <a href="http://userscripts.org/">short snippets</a> of <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a> giving you some control over how those pages are displayed or alter and extend their functionality.</p>

<p>This particular <a href="/files/js/the_tcpip_guide_fix.user.js">userscript</a> sets the "valign" attribute of the cell in question with a value of "top" - a very simple thing to do, but it took me bloody ages to get it right.  If it doesn't work for you, please leave me a comment and let me know.</p>

<p>Get the userscript at <a href="http://jahboite.co.uk/files/js/the_tcpip_guide_fix.user.js">http://jahboite.co.uk/files/js/the_tcpip_guide_fix.user.js</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>PicaVue</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/08/picavue.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.75</id>

    <published>2009-08-28T02:24:20Z</published>
    <updated>2009-08-28T02:25:04Z</updated>

    <summary>jah has begun work on an open source javascript gallery to display his Picasa Web Albums - it&apos;s called PicaVue</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="dev" label="dev" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="gwt" label="gwt" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="webapp" label="webapp" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<p><a href="/pics.html">True to my word</a> I've begun work on a gallery application to show my <a href="http://picasaweb.google.com/">Picasa Web Album</a> here at jah's world.  I've decided to build it with <a href="http://code.google.com/webtoolkit/">Google Web Toolkit</a> (GWT) to create an entirely client-side javascript gallery which uses the <a href="http://code.google.com/apis/picasaweb/overview.html">Picasa Web Albums Data <span class="caps">API</span></a> to fetch a json feed of my photos and display them in all their splendour.</p>

<p>So far, I haven't got very far, but I have created a new open source project at Google Code: <a href="http://code.google.com/p/picavue/">PicaVue</a> and committed some code to the svn repository.  The aim is to have an albums index view with a thumbnail for each album and from there you can elect to view an album as a gallery of thumbnails or as a slide show.  It will be simple to deploy to any website and hopefully easy to style to your liking.  We'll see.</p>

<p>This will be my first real foray into <span class="caps">GWT </span>land and it shows - the source is seriously spaghettified, but I'm getting the hang of it and it will eventually be a beautiful thing!</p>

<p>If you'd like to contribute, you are more than welcome.  If you want it now, you might like to take a look at <a href="http://code.google.com/p/pwi/"><span class="caps">PWI</span></a> which I perhaps should have examined before I started coding (and not just two minutes ago).</p>]]>
        
    </content>
</entry>

<entry>
    <title>Nmap 5 - An Introduction</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/07/nmap-5.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.74</id>

    <published>2009-07-16T16:00:00Z</published>
    <updated>2010-01-09T09:52:53Z</updated>

    <summary>The newest version of Nmap - Nmap 5.00 - is now available for download and is the best Nmap ever.  This is a short introduction to Nmap and the Nmap family of tools: Zenmap; Ncat and Ndiff which are included with this latest release.</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="Nmap" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="nmap" label="nmap" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<p>Nmap 5.00 is the latest and greatest version of what is arguably the most useful network utility ever created and it's now available, for all major computer operating systems, from the <a href="http://nmap.org/download.html">download page</a> at <a href="http://nmap.org/">nmap.org</a>.  Nmap is Free and Open Source Software.</p>

<p>The previous stable release of Nmap was <a href="http://jahboite.co.uk/blog/2008/09/nmap-4-75-new-features.html">version 4.76</a> way back in September 2008 and much has happened since then - this version of Nmap is packed with new features and numerous improvements.<br />
You can read the official details of this release at <a href="http://nmap.org/5/">http://nmap.org/5/</a>.</p>

<p>So what is Nmap exactly?  How about a little introduction:</p>



<h2 class="cont-inner">Nmap Port Scanning</h2>


<p>Nmap, the <a href="http://en.wikipedia.org/wiki/Port_scanner">port scanner</a>, is able to discover services running on a networked host by utilising a variety of scanning techniques and probes in order to help you gather important information about the function of the host and the state of the network.</p>

<p>Try this command against scanme.nmap.org (a host provided, as the name suggests, for testing your favourite port scanner):</p>

<blockquote class="cmd_window"><p># nmap scanme.nmap.org</p></blockquote>

<p>Nmap's abilities make it easy to troubleshoot problems on the network, enforce network policies, test firewall rules and much more.  Nmap is a must-have tool for Network Professionals, System Administrators, Security Professionals and just about anyone who uses a computer in a networked environment and who wants to know more about their network environment or just networking in general.</p>

<p>Read more about Nmap Port Scanning techniques at<br />
<a href="http://nmap.org/book/man-port-scanning-techniques.html">http://nmap.org/book/man-port-scanning-techniques.html</a>.</p>



<h2 class="cont-inner">Host Discovery</h2>


<p>Nmap excels at finding hosts on the network: your network; someone else's network or even the entire Internet.  Nmap is able to send a great variety of probes for many network protocols in order to elicit responses from hosts, thus revealing their presence.</p>

<p>Try running a command such as one of the following to find hosts on your local network:</p>

<blockquote class="cmd_window"><p># nmap -sP --reason 10.0.0.0/16<br />
# nmap -sP --reason 192.168.1.0/24</p></blockquote>

<p>The following will generate 1024 random IP addresses and report any hosts it finds out there on the Internet:</p>

<blockquote class="cmd_window"><p># nmap -sP --reason -iR 1024</p></blockquote>

<p>Read more about Nmap and Host Discovery at<br />
<a href="http://nmap.org/book/man-host-discovery.html">http://nmap.org/book/man-host-discovery.html</a>.</p>



<h2 class="cont-inner">Nmap Version Detection</h2>


<p>Discovering that port 80 is open on a host means that it's a fairly safe bet that the service available via that port is a web server of some kind - port 80 is the <a href="http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers">standard port</a> for the <span class="caps">HTTP </span>protocol.  Nmap can tell you exactly which kind of web server down to the product name and it's version number.</p>

<p>Try this command against port 80 of scanme.nmap.org:</p>

<blockquote class="cmd_window"><p># nmap -sV -p80 scanme.nmap.org</p></blockquote>

<p>Version detection has been a part of the Nmap arsenal for several years and is one of its greatest strengths.  The Nmap database of service detection probes and probe responses allows Nmap to identify thousands of services even when those services are running on non-standard ports.  No longer is it a good idea to hide services by binding them to non-standard ports (e.g. hiding telnet on some high numbered port such as 50000 instead of its standard port 23) and assuming that the service won't be found.  Nmap will quickly reveal the service's true identity!</p>

<p>Read more about Nmap Version Detection at<br />
<a href="http://nmap.org/book/man-version-detection.html">http://nmap.org/book/man-version-detection.html</a></p>



<h2 class="cont-inner">Nmap Operating System Detection</h2>


<p>Another great feature of Nmap is its ability to detect small differences in the way a host speaks over the network in order to identify the <a href="http://en.wikipedia.org/wiki/Operating_system">Operating System</a> (OS) running on the host.  Under ideal conditions Nmap is able to accurately detect more than 2000 different versions of OS from Apple iPhones to ZyXEL ZyWALL routers and including standard ones such as Ubuntu or Windows Vista and obscure ones running on devices such as Oscilloscopes and Toasters (OK, not really toasters - not yet anyway...).</p>

<p>Try this command against scanme.nmap.org to discover what Operating System it runs:</p>

<blockquote class="cmd_window"><p># nmap -sV -O scanme.nmap.org</p></blockquote>

<p>Read more about Nmap Operating System Detection at<br />
<a href="http://nmap.org/book/man-os-detection.html">http://nmap.org/book/man-os-detection.html</a>.</p>



<h2 class="cont-inner">Nmap Scripting Engine</h2>


<p>The Nmap Scripting Engine (NSE) allows its users to write custom scripts in the <a href="http://en.wikipedia.org/wiki/Lua_(programming_language)">Lua</a> scripting language to perform any kind of networking task imaginable.  <span class="caps">NSE </span>provides access to Nmap's networking <span class="caps">API</span>s and makes it very easy to send and receive data across the network.  Nmap ships with over 50 scripts which complement and extend the discovery of information about a host - tasks such as detecting open <a href="http://en.wikipedia.org/wiki/Proxy_server">proxy services</a>, detecting open mail relays, looking-up <a href="http://en.wikipedia.org/wiki/Autonomous_System_Number">Autonomous System</a> Numbers and <a href="http://en.wikipedia.org/wiki/Whois#Querying_Regional_Internet_Registries"><span class="caps">WHOIS</span></a> information, detecting and exploiting vulnerabilities and many more.</p>

<p>Try the following command against the web service at scanme.nmap.org to discover the Title of the default web page:</p>

<blockquote class="cmd_window"><p># nmap -p80 --script html-title scanme.nmap.org</p></blockquote>

<p>There are also more than 30 <span class="caps">NSE </span>libraries to allow script-writers to easily implement all sorts of common networking tasks such as sending <span class="caps">HTTP </span>requests and parsing the responses, performing <span class="caps">DNS </span>queries, talking the <a href="http://en.wikipedia.org/wiki/Server_Message_Block"><span class="caps">SMB</span></a> protocol to Microsoft Windows machines to name but a few.<br />
The Lua language is easily mastered and its use within <span class="caps">NSE </span>is well documented making it very simple to start writing <span class="caps">NSE </span>scripts.</p>

<p>Read more about the Nmap Scripting Engine at<br />
<a href="http://nmap.org/book/man-nse.html">http://nmap.org/book/man-nse.html</a>.</p>



<h2 class="cont-inner">Nmap and Accompanying Tools</h2>


<p>Nmap has become a suite of tools for Network discovery, exploration and management and as well as the main Nmap executable, Nmap 5.0 now comes with the Zenmap <span class="caps">GUI,</span> Ndiff and Ncat:</p>



<h2 class="cont-inner">Nmap and the Zenmap Graphical User Interface</h2>


<p>Zenmap is a cross-platform graphical user interface for Nmap with several really cool tricks up its sleeves.  The killer features of Zenmap include a graphical view of the network Topology and its ability to Aggregate the results of multiple scans into a single place.<br />
Using the results of Nmap traceroute output (option: --traceroute) Zenmap draws an actual map of the network which includes the routers between you and the target host.  Result Aggregation allows you to perform multiple scans and Zenmap extends the map to include any new hosts discovered.  Information about any host is available for viewing right there on the map making it a great way to build-up a picture of hosts on the network.<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://jahboite.co.uk/blog/assets_c/2009/07/zenmap-5-topology-885x793-27.html" onclick="window.open('http://jahboite.co.uk/blog/assets_c/2009/07/zenmap-5-topology-885x793-27.html','popup','width=885,height=793,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://jahboite.co.uk/blog/assets_c/2009/07/zenmap-5-topology-885x793-thumb-200x179-27.png" width="200" height="179" alt="zenmap-5-topology-885x793.png" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a></span>  The map is displayed as a series of concentric circles each representing a <a href="http://en.wikipedia.org/wiki/Hop_(networking)">'hop'</a> with your host at the centre, but the map can be redrawn with any host at the centre allowing you to view the network from different perspectives.  The map can even be exported as an image for viewing outside of the Zenmap interface.</p>

<p>For people new to Nmap, the Profile Editor is a fantastic way to learn about and experiment with the huge array of Nmap options.  The Profile Editor explains each of the options and presents them in an easy to use interface which allows you to select options by ticking boxes, selecting items in drop-downs and so on.  Zenmap profiles are a great way to save Nmap commands which you use regularly and Zenmap ships with several ready-made profiles to get you started.</p>

<p><a href="http://en.wikipedia.org/wiki/Command_line">Command line</a> junkies need not use the Zenmap Profile Editor at all - commands can be typed directly into the Zenmap Interface and using Nmap this way is just as quick as from the command line with all of the added benefits that Aggregation and Topology bring.  Zenmap also produces both the normal output associated with a command terminal as well as Nmap <span class="caps">XML </span>output which means you don't have to worry about specifying Nmap output options - Zenmap allows you to simply save the output to a file once a scan is finished and you can even save multiple scans to a single directory in a couple of mouse clicks.</p>

<p>Zenmap has other features too such as: maintaining a database of recent scans so that you can search them to find specific hosts or services you're interested in; enabling comparisons between the results of two scans to quickly see the differences in the output; and novel ways to display information about scanned hosts.</p>

<p>Read more about Zenmap at<br />
<a href="http://nmap.org/book/zenmap.html">http://nmap.org/book/zenmap.html</a> and marvel at just how useful it is.</p>



<h2 class="cont-inner">Ndiff and Nmap Output comparisons</h2>


<p>Nmap can produce its output in <a href="http://en.wikipedia.org/wiki/Xml"><span class="caps">XML</span></a> format and a common desire is to compare the output of two scans of the same host or network taken at different times.  Ndiff is a separate command line tool, shipped alongside Nmap, which allows you to quickly see the differences between the outputs of two scans in a similar way that Unix <a href="http://en.wikipedia.org/wiki/Diff">diff</a> works.  Ndiff is Nmap aware and excels at showing you changes in available hosts on the network and changes in port states of a host - making it really useful for keeping abreast of changes on the network.  Zenmap leverages Ndiff for its scan comparison functionality.</p>

<p>Read more about Ndiff at<br />
<a href="http://nmap.org/ndiff/">http://nmap.org/ndiff/</a>.</p>



<h2 class="cont-inner">Ncat - Netcat for the 21st Century</h2>


<p>Ncat is a modern re-implementation of <a href="http://en.wikipedia.org/wiki/Netcat">Netcat</a> and is fundamentally a tool for reading from and writing to the network.  Ncat has a nearly limitless number of uses like acting as a simple <span class="caps">TCP, UDP </span>or <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security"><span class="caps">SSL</span></a> client to a variety of network services, providing network functionality to non-networked applications, acting as a server to which clients can connect and cool things like becoming a proxy server, a chat client/server and the brokering of connections between clients.  It features security measures such as access control lists for client connections and proxy authentication.</p>

<p>Like the rest of the Nmap toolset, Ncat runs on all major operating systems and has no trouble communicating with an Ncat running on a different operating system.</p>

<p>Read more about Ncat at<br />
<a href="http://nmap.org/ncat/">http://nmap.org/ncat/</a>.</p>



<h2 class="cont-inner">Nmap Network Scanning - Fyodor's Nmap book</h2>


<p>Nmap's author <a href="http://insecure.org/fyodor/">Fyodor</a> has also authored <a href="http://nmap.org/book/">Nmap Network Scanning</a> - the "Official Nmap Project Guide to Network Discovery and Security Scanning".  The book is a 468 page treasure trove of information about how to effectively harness the power of Nmap in the real world including a 42 page reference of all Nmap options.  The book is available for <a href="http://nmap.org/book/#purchase">purchase</a> and several of its chapters are available in the free online-edition at<br />
<a href="http://nmap.org/book/toc.html">http://nmap.org/book/toc.html</a></p>



<p style="margin-top:50px">This has been a short introduction to Nmap 5.00 and its associated tools which I hope you've found useful.  If you want to know more about Nmap, you will find everything you need to know at <a href="http://nmap.org">http://nmap.org/</a>.</p>

<p>Happy Nmapping!</p>]]>
        
    </content>
</entry>

<entry>
    <title>Enable apache mod_userdir on Debian</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/07/enable-apache-mod-userdir.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.73</id>

    <published>2009-07-12T19:18:24Z</published>
    <updated>2009-07-12T19:37:11Z</updated>

    <summary>How to enable mod_userdir for apache2 on Debian 5.0 (Lenny).</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="howto" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="apache" label="apache" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[Today I wanted to enable mod_userdir for apache2 on Debian 5.0 (Lenny).<br />Here's what I did:
<blockquote class="cmd_window">
# sudo cp /etc/apache2/mods-available/userdir* /etc/apache2/mods-enabled/
<br />
# sudo /etc/init.d/apache2 restart
</blockquote>
That was easy!  The userdir.conf was already set-up to disable this feature for user root and to serve files from /home/*/public_html so to test that it works I did:
<blockquote class="cmd_window">
# mkdir ~/public_html
<br />
# echo yay! &gt; ~/public_html/index.html
</blockquote>
and then typed <b>http://mysite.com/~jah/</b> into my web browser to check that the index file was served.  yay!

]]>
        
    </content>
</entry>

<entry>
    <title>Nmap 4.85BETA5 and Conficker detection</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/03/nmap-4-85beta5-and-conficker.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.72</id>

    <published>2009-03-30T21:50:16Z</published>
    <updated>2009-04-01T01:30:44Z</updated>

    <summary>Nmap 4.85BETA5 is now available and is able to remotely and anonymously detect hosts compromised with Conficker (downadup, kido) using an NSE script.</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="Nmap" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="conficker" label="conficker" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="nmap" label="nmap" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<span style="color:red;font-weight:700">UPDATE 2009-04-01:</span>
<div style="border:1px solid red;padding:3px">
<a href="http://seclists.org/nmap-dev/2009/q1/0922.html">Nmap 4.85BETA6</a> has been released.&nbsp; A few tweaks have been made to the smb-check-vulns.nse script which can be used to detect hosts compromised with the Conficker malware.&nbsp; The ouput from the script is improved and makes it clearer what is the status of the scanned host.&nbsp; If you've already tried the script and seen this result:
<blockquote class="cmd_window">
Conficker: ERROR: SMB: Failed to receive bytes: TIMEOUT
</blockquote>
then try the updated script which increases the timeout period from 5 seconds to 20.
</div>
<br />
The newest beta of the network exploration and auditing tool <a href="http://seclists.org/nmap-dev/2009/q1/0870.html">Nmap 4.85BETA5</a> is now available for download at <a href="http://nmap.org/download.html">nmap.org/download</a>.
<br />
Among the changes, which you can read about in the <a href="http://nmap.org/changelog.html">CHANGELOG</a>, is an especially handy tool which can detect machines compromised with the <a href="http://en.wikipedia.org/wiki/Conficker">Conficker</a> (aka Downadup aka Kido) worm.
<br />
The <a href="http://nmap.org/nsedoc/scripts/smb-check-vulns.html">smb-check-vulns.nse</a> script has been <a href="http://www.skullsecurity.org/blog/?p=209">updated</a> by its author <a href="http://www.skullsecurity.org/blog/">Ron Bowes</a> to include specially crafted RPC messages and detection of the giveaway response returned by a machine compromised with Conficker.
<br />
<br />
The script may be run like so:
<br />
<br />
<blockquote class="cmd_window">
nmap -PN -p139,445 -n -v --script smb-check-vulns --script-args safe=1 &lt;targets&gt;
</blockquote>
which might result in:
<blockquote class="cmd_window">
Interesting ports on cleanhost1.com (192.168.0.1):
<br />PORT&nbsp;&nbsp;&nbsp; STATE SERVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REASON
<br />139/tcp open&nbsp; netbios-ssn&nbsp; syn-ack
<br />445/tcp open&nbsp; microsoft-ds syn-ack
<br />
<br />Host script results:
<br />|&nbsp; smb-check-vulns:
<br />|&nbsp; MS08-067: NOT RUN
<br />|&nbsp; Conficker: Likely CLEAN
<br />|_ regsvc DoS: NOT RUN (add --script-args=unsafe=1 to run)
<br />
<br />Interesting ports on compromised2.com (192.168.0.2):
<br />PORT&nbsp;&nbsp;&nbsp; STATE SERVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REASON
<br />139/tcp open&nbsp; netbios-ssn&nbsp; syn-ack
<br />445/tcp open&nbsp; microsoft-ds syn-ack
<br />
<br />Host script results:
<br />|&nbsp; smb-check-vulns:
<br />|&nbsp; MS08-067: NOT RUN
<br />|&nbsp; Conficker: <span style="color: red;">Likely INFECTED</span>
<br />|_ regsvc DoS: NOT RUN (add --script-args=unsafe=1 to run)
</blockquote>
<br />
The MS08-067 and regsvc DoS checks are not performed when "--script-args safe=1" is specified on the command line and is the reason you will see "NOT RUN" next to the host script result entry. The MS08-067 check can determine whether or not the <a href="http://support.microsoft.com/kb/958644">KB958644</a> Microsoft patch for the vulnerability exploited by Conficker has been applied.  There's a very good chance that this check will crash the server service of a vulnerable machine which is why it is suggested that the "safe" argument is specified to prevent the crash.  If you want to perform the check, omit "--script-args safe=1" from the command.
<br />
<br />
If you have a large number of hosts in your organisation you may be interested in some <a href="http://seclists.org/nmap-dev/2009/q1/0869.html">great advice</a> posted to the nmap-developers mailing list on tuning the nmap parameters to speed the process up, as well as a handy perl script for parsing nmap xml output files to extract the conficker results.
<br />
<br />
The background to this update to smb-check-vulns.nse may be interesting to anyone curious about or involved in defending against Conficker.
<br />
<br />
Researchers at <a href="http://www.uni-bonn.de/en/The_University.html">Rheinische Friedrich-Wilhelms-Universitat</a> Institute of Computer Science, Felix Leder and Tillmann Werner (members of the <a href="http://www.honeynet.org/">Honeynet Project</a>) discovered that Conficker, which patches the MS08-067 vulnerability of its host, responds with a uncommon error codes when sent specific RPC messages.&nbsp; These responses are entirely different than those that may be elicited from a normal patched or unpatched host thus making remote detection of compromised hosts a possibility.
<br />
<br />
Remote detection of Conficker is a real boon for system administrators who can now scan their entire organisation and determine whether there are compromised hosts on its networks without having to visit each machine or trawl through and decipher stacks of logs generated by network security monitoring tools.
<br />
<br />
Leder and Tillmann have posted <a href="http://iv.cs.uni-bonn.de/wg/cs/applications/containing-conficker">details</a> of their research into Conficker and methods/tools to detect and contain compromised hosts and there is a more detailed analysis available from them in a paper entitled "<a href="http://www.honeynet.org/papers/conficker">Containing Conficker - To Tame a Malware</a>".
<br />
<br />
Several scanning tools are being or have already been updated to take advantage of this ability to remotely detect Conficker, as noted in a <a href="http://www.doxpara.com/?p=1285">blog post</a> by Dan Kaminsky, though it's worth noting that Nmap is free and will almost certainly get the job done quicker!]]>
        
    </content>
</entry>

<entry>
    <title>Install BackTrack 4 beta on VMware 5.5.x from the ISO image</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/03/install-backtrack-4-beta-on-vmware.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.71</id>

    <published>2009-03-06T23:05:58Z</published>
    <updated>2009-09-12T13:16:00Z</updated>

    <summary>Here are the steps required to create a new VMware virtual machine on which to install BackTrack 4 beta from the ISO image</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="howto" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="backtrack" label="backtrack" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vmware" label="vmware" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="bt4.png" src="http://jahboite.co.uk/blog/im/_bt4.png" class="mt-image-right" style="margin: 0pt 0pt 20px 20px; float: right;" width="295" height="140" /></span><p><a href="http://www.remote-exploit.org/backtrack.html">BackTrack</a> is a Linux distribution which comes configured with a set of tools and a menu layout designed to assist with <a href="http://en.wikipedia.org/wiki/Penetration_testing">pentesting</a>.  The distribution is available as an ISO image which can be burned to a CD (although, at 854MB it's a bit big for most CDs) becoming a bootable <a href="http://en.wikipedia.org/wiki/Live_CD">Live CD</a>.  It is also available as a <a href="https://www.vmware.com/">VMware</a> image which allows the distribution to be run in a <a href="http://en.wikipedia.org/wiki/Virtual_machine">virtual machine</a> (VM) on the desktop.<br /><br />The VMware image was created using VMware Workstation 6, but may work under Workstation 5.x - I don't know, I haven't tried because I wanted to install BackTrack into a new virtual machine under VMware Workstation 5.5.9.</p><p>  There's a handy pdf guide to installing BackTrack 4 beta to a hard disk drive available at the remote-exploit <a href="http://forums.remote-exploit.org/showthread.php?t=20126">forums</a> and following the guide to the letter results in a hassle-free installation.&nbsp; Before getting to the stage where I could follow this guide, I had to set-up a new virtual machine and create a virtual disk large enough for my needs.  Every time I do this, I choose the wrong options and end up having to redo the VM set-up - usually because the distribution can't detect the virtual disk due to my choice of SCSI adapter type.</p><p>  Here then are the steps required to set-up a VM in preparation for the hard drive installation:<br /><br /></p>

<blockquote><ol><li>File &gt; New VM &gt; Custom &gt; Linux (Other Linux 2.6.x kernel).</li><li>Name the VM and select a location for it.</li><li>Choose the number of processors you want the machine to use.</li><li>Choose the amount of memory available to the machine.</li><li>Select use bridged networking.</li><li>Choose the <font style="font-size: 1.25em;"><b>BusLogic</b></font> SCSI Adapter.</li><li>Create a New virtual disk.</li><li>Choose the recommended SCSI interface.</li><li>Choose disk options (I went for 8GB, with all space allocated now and split into 2GB files).</li><li>Choose a filename for disk file.</li><li>Wait for disk creation to complete.</li></ol></blockquote><ul class="nobull">











</ul><br />That's the VM created.&nbsp; Now it's only a case of <a href="http://www.remote-exploit.org/backtrack_download.html">downloading</a> the ISO image file and editing the VMs CD-ROM connection to "Use ISO image" and pointing it to the BT4 ISO.<br /><br />After starting the VM and logging in as u:root
p:toor you are ready to follow the hard drive install <a href="http://forums.remote-exploit.org/showthread.php?t=20126">guide</a>.
<div><br />It's worth noting that BackTrack 4 is based on <a href="http://www.ubuntu.com/">Ubuntu</a> and as such, it may be easier to select Ubuntu as the guest operating system instead of "Other Linux 2.6.x kernel" when setting-up the new VM.&nbsp; I haven't tried this and I'd love to know if anyone has had success, or otherwise, with that choice.<br /></div>]]>
        

    </content>
</entry>

<entry>
    <title>firefox for browsing, firefox for auditing</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/02/firefox-multiple-instance.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.70</id>

    <published>2009-02-25T14:06:00Z</published>
    <updated>2009-02-25T14:08:21Z</updated>

    <summary>firefox options -no-remote and -P for use in starting separate instances of firefox using any profile - handy for use with a web application proxy tool.</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="howto" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="firefox" label="firefox" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[When using a web application proxy, such as those found in <a href="http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project">WebScarab</a>, <a href="http://www.parosproxy.org/">Paros Proxy</a> or <a href="http://portswigger.net/suite/">Burp Suite</a>, it's useful to have a second firefox window open which uses a different user profile set-up to connect through the local web proxy server.&nbsp; Having a separate instance of firefox running a different user profile means that one instance can be used for general browsing and the other can be used for web application testing or auditing so that the information collected via the proxy isn't diluted with normal browsing requests.<br /><br />Running a separate instance of firefox is easy to achieve and here's the steps involved:<br /><br />First, create a new firefox profile:<br /><br /><ul><li>Start firefox from the command line using the options -no-remote -P (e.g. "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P).</li><li>When the Choose User Profile dialog box opens, click Create Profile to start the Create Profile wizard.</li><li>Click Next, give the profile a name and optionally change the directory where the profile will be stored.</li><li>Click Finish, select the newly created profile in the Choose User Profile dialog and click Start Profile.</li></ul>Configure the new profile to use the web application proxy:<br /><br /><ul><li>Install the <a href="https://addons.mozilla.org/en-US/firefox/search?q=switchproxy">switchproxy</a> add-on for firefox and, of course, don't forget the <a href="https://addons.mozilla.org/en-US/firefox/search?q=noscript">Noscript</a> add-on without which no firefox profile is complete.&nbsp; Restart firefox to complete installation.</li><li>Create a new proxy profile for use with your favourite web application proxy.&nbsp; For example, the proxy in <a href="http://portswigger.net/suite/">burp suite v1.2</a> is available via loopback port:8080 by default so:</li><ul><li>In firefox: Tools &gt; SwitchProxy &gt; Manage Proxies</li><li>In the Manage Proxies dialog: click Add, select Standard and click Next.</li><li>In the Proxy Info dialog, add a name for these proxy settings in the Proxy Label field, add 127.0.0.1 into the HTTP Proxy field and 8080 in the corresponding Port field and click OK twice.<br /></li></ul></ul><br />If firefox was open before doing the above, the new profile will be open in a separate window.&nbsp; The key to open multiple instances of firefox is to use the -no-remote -P options of the firefox executable.<br />The -P option takes the name of the profile as an argument and supplying a valid profile name will launch firefox straight into that profile instead of the Choose User Profile dialog.&nbsp; Therefore a handy shortcut can be created by modifying an existing shortcut to firefox to add to the command: -no-remote -P "New Firefox Profile Name"<br /><br />Voila, open a separate instance of firefox ready to work with a web application proxy.<br /><br />]]>
        
    </content>
</entry>

<entry>
    <title>Nmap 4.85 BETA2</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/01/nmap-4-85-beta2-new-features.html" />
    <id>tag:ccgi.jahboite.co.uk,2009:/blog//3.20</id>

    <published>2009-01-31T01:00:00Z</published>
    <updated>2011-07-21T23:21:42Z</updated>

    <summary>A short summary of a few of the improvements and new features to be found in the newest beta version of Nmap 4.85 BETA2</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="Nmap" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="ncat" label="ncat" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ndiff" label="ndiff" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="nmap" label="nmap" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="nse" label="NSE" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="zenmap" label="zenmap" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<span style="color: red; font-weight: bold;">UPDATE: 3 February 2009</span><br />Nmap 4.85 BETA3 is now available - this release fixes a few minor issues and contains a couple of small tweaks.<br /><br />Version 4.85 BETA2 of Nmap, everyone's favourite network security scanner, has been released.&nbsp; This version includes a huge amount of improvements, bug fixes and new features.&nbsp; The full list of significant changes can be found in the <a href="http://nmap.org/changelog.html">CHANGELOG</a>.&nbsp; Here are some notable ones:<br /><br /><ul><li>Nmap Port Scanning algorithms have been improved to increase performance without sacrificing the accuracy for which Nmap is loved.&nbsp; On average, scans are now 30% faster!</li><li>The accuracy of Nmap 2nd Generation Operating System Detection was improved which should result in significantly better OS determination.</li><li>Port scan performance has been improved by changing the list of high priority ports (those more likely to be responsive) which
Nmap shifts closer to the beginning of scans.&nbsp; The new port list is:
21, 22, 23, 25, 53, 80, 110, 111, 113, 135, 139, 143, 199, 256, 443,
445, 554, 587, 993, 995, 1025, 1720, 1723, 3306, 3389, 5900, 8080 and 8888. </li><li>Nmap now ships with Ndiff, a marvellous utility written in Python which compares two Nmap XML output files
and generates a report showing the differences between them.&nbsp; This
allows you to perform scans of the same network periodically and detect
changes in port states, service versions, responsive hosts and so on.&nbsp; Read more about Ndiff at <a href="http://nmap.org/ndiff/">http://nmap.org/ndiff/</a>.</li><li>Nmap now ships with Ncat, a much-improved reimplementation of
Netcat brought up-to-date with IPv6 support, connection brokering
support, proxying and, of course, is cross platform like Nmap.&nbsp; Read more about Ncat at <a href="http://nmap.org/ncat/">http://nmap.org/ncat/</a>.</li><li>Nmap scripts now have a sensible naming scheme and have been renamed accordingly.&nbsp; This benefits users because calling scripts by name is easier with more intuitive names and also because the script filename is printed in Nmap output and it's now much easier to see which script produced a particular output.&nbsp; It benefits script writers because the ID field is no longer used - one less thing to remember when writing scripts.</li><li>The NSIS Nmap installer for Windows now installs on the all new Windows 7.</li><li>Nmap Scripting Engine (NSE) now has libraries that handle MSRPC, NetBIOS and SMB protocols and several scripts that utilise these libraries to interrogate Windows machines for lots of interesting information such as user, group, shares, processes, sessions and domain enumeration.</li><li>NSE scripts and libraries are now documented.&nbsp; The documentation is generated from comments in the scripts themselves using a LuaDoc implementation designed for Nmap named NSEdoc.&nbsp; This is a real help when you want to write a script as well as for curious folk wanting to know the how and the why of script execution.&nbsp; The full documentation is available online at <a href="http://nmap.org/nsedoc/">http://nmap.org/nsedoc/</a>.</li><li>Nmap now correctly inserts the path to the
XSL stylesheet in XML output on Windows machines.&nbsp; This means you can
now open Nmap XML
output files in your favourite web browser from any directory without
having to supply the --stylesheet argument on the command line. </li></ul>Aside from these, there have been numerous improvements to NSE and the Zenmap GUI and it would be well worth your time to upgrade to the new version.&nbsp; Get it from <a href="http://nmap.org/download">http://nmap.org/download</a>.<br /><br /><br /> ]]>
        
    </content>
</entry>

<entry>
    <title>Modify the PATH Environment Variable in Windows</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/01/path-env-var-setx.html" />
    <id>tag:jahboite.co.uk,2009:/blog//4.68</id>

    <published>2009-01-22T13:19:30Z</published>
    <updated>2010-05-05T15:05:01Z</updated>

    <summary>A brief walkthrough showing how to install the setx command and how to use it to modify environment variables from the command line on Windows XP.</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="howto" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="tools" label="tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xp" label="XP" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[You know what it's like when you need to be able to execute a particular command, perhaps one you've written yourself, from any Windows XP command window without having to specify the full path to the executable.  The directory could be added to the PATH environment variable, but getting to it is such a pain in the arse:<br /><br />Start &gt; Run &gt; sysdm.cpl [ENTER] &gt; Advanced Tab &gt; Environment Variables button &gt; choose variable to edit &gt; Edit button &gt; Edit the path &gt; OK &gt; OK &gt; OK<br /><br />It's possible to add directories to the Windows XP PATH environment variable from the command line:
<br />
<blockquote class="cmd_window">
Microsoft Windows XP [Version 5.1.2600]
<br />
(C) Copyright 1985-2001 Microsoft Corp.
<br />
<br />
C:\&gt; my_some_app_command -V
<br />
'my_some_app_command' is not recognized as an internal or external command, operable program or batch file
<br />
<br />
C:\&gt; path=%PATH%;C:\Program Files\some_app
<br />
<br />
C:\&gt; my_some_app_command -V
<br />
Version 1.0
<br />
<br />
C:\&gt;
<br />
</blockquote>
<br />
however this is a temporary change to the PATH environment variable and exists only in that command window and disappears once the window is closed.&nbsp; This is because the path command only appends to a copy of the PATH environment variable (which was created when the command window was opened) and not to the original PATH.&nbsp; When the window is closed the copy is destroyed along with any changes you made.
<br />
<br />
There is a nifty tool in the <a href="http://search.microsoft.com/results.aspx?q=%22Windows%20XP%20Service%20Pack%202%20Support%20Tools%22">Windows XP Service Pack 2 Support Tools</a> named setx (available even if you have service pack 3) which can quickly make permanent changes to environment variables from the command line.&nbsp; The setx command modifies the actual PATH and not the copy in use by the currently open command window - so here I'll show you how to modify <u>both</u> in a couple of quick steps so that you can begin working with your new PATH in the current window whilst also permanently updating your PATH.
<br />
<br />
Once you've installed the support tools (accepting all the default options such as the install location and "Typical Install") they will be found in C:\Program Files\Support Tools.&nbsp; Open a command window from any directory:
<br />
<blockquote class="cmd_window">
C:\&gt; setx
<br />
'setx' is not recognized as an internal or external command,
<br />
operable program or batch file.
</blockquote>
<br />
The Support Tools directory is not in our path so lets add it temporarily so that we can use setx from here and at the same time, we'll add our some_app directory so that we can begin work:
<br />
<blockquote class="cmd_window">
C:\&gt; path = %PATH%;C:\Program Files\Support Tools;C:\Program Files\some_app
</blockquote>
<br />
These directories are now in the copy of the PATH environment variable in use by this command window.&nbsp; Now let's permanently update the PATH:
<br />
<blockquote class="cmd_window">
C:\&gt; setx path "%PATH%"
</blockquote>
<br />
This has set PATH to the same value as the copy of PATH in use by this window and we're good to go in this or any future command windows.
<br />
<blockquote class="cmd_window">
Microsoft Windows XP [Version 5.1.2600]
<br />
(C) Copyright 1985-2001 Microsoft Corp.
<br />
<br />
C:\&gt; echo %PATH%
<br />
C:\WINDOWS;C:\WINDOWS\system32;C:\Program Files\Support Tools;C:\Program Files\some_app
<br />
<br />
C:\&gt;
</blockquote>]]>
        
    </content>
</entry>

<entry>
    <title>YouTranscript - video transcription</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/01/you-transcript.html" />
    <id>tag:ccgi.jahboite.co.uk,2009:/blog//3.18</id>

    <published>2009-01-15T09:21:02Z</published>
    <updated>2009-02-13T21:11:54Z</updated>

    <summary>YouTranscript is a website that provides transcriptions of YouTube videos.</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="youtranscript" label="youtranscript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="youtube" label="youtube" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[Over at <a href="http://public.youtranscript.com/">http://public.youtranscript.com/</a> is a site which is a bit special named YouTranscript.<br /><br />The folks there have developed a streamlined system for making transcripts of any <a href="http://youtube.com/">YouTube</a> video having good quality audio, uses the English language and is less than 10 minutes in length.&nbsp; In fact YouTranscript is part of a bigger business which performs professional video and audio transcription services for competitive rates using a 3 stage process of transcription, editing and proof reading.&nbsp; The service can perform transcription of any audio and video recordings that capture conference calls, speeches and sermons for example.<br /><br />The YouTube videos on the YouTranscript site are transcribed for free as a public service and more will be added in the future.&nbsp; There are currently about 800 transcribed YouTube videos and a search facility as well as a selection of videos arranged in categories is provided on the main page.<br /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="YouTranscript logo" src="/blog/im/yt.png" class="mt-image-right" style="margin: 0pt 0pt 20px 20px; float: right;" width="267" height="41" /></span>Individual video pages are quite cool.&nbsp; On the left you get the video embedded into the page and the centre column is the text of the video transcription.&nbsp; As the video plays, that part of the transcript text is underlined.&nbsp; The text itself is clickable and clicking on a sentence skips to that part of the video - something it does almost instantaneously.<br /><br />What's great about the YouTranscript project is that they're unlocking content from the audio in videos and making it available on the indexable web and making it searchable and linkable.&nbsp; This is not only a benefit to those people looking for particular content which up to now only existed in a video, but also could be very useful for the deaf and hard of hearing as well as a really useful tool for learning.<br /><br />Also notable is the webserver software serving pages at youtranscript.com which is the lightweight <a href="http://hoytech.com/antiweb/">AntiWeb httpd</a>
written by Doug Hoyte and which should be perfectly suited for this kind of high throughput, low-latency website.<br /><br />
I think YouTranscript could be a very popular site in fairly short order and I'm looking forward to more transcribed videos.&nbsp; You can submit ideas for videos to transcribe via a <a href="http://youtranscript.com/contact.html">contact form</a>.<br /><br />]]>
        
    </content>
</entry>

<entry>
    <title>Legend Expert</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2009/01/legend.html" />
    <id>tag:ccgi.jahboite.co.uk,2009:/blog//3.17</id>

    <published>2009-01-10T17:17:49Z</published>
    <updated>2009-02-10T13:37:14Z</updated>

    <summary><![CDATA[Experts Exchange is an IT community for knowledge sharing with a focus on solving technology problems.&nbsp; Persons looking for answers ask questions and "experts" try and answer them.&nbsp; Experts are awarded points for answering questions in knowledge "zones" and gain...]]></summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[<a href="http://www.experts-exchange.com/">Experts Exchange</a> is an IT community for knowledge sharing with a focus on solving technology problems.&nbsp; Persons looking for answers ask questions and "experts" try and answer them.&nbsp; Experts are awarded points for answering questions in knowledge "zones" and gain ranks in those zones when acquiring sufficient points:<br /><br /><div style="font-family: courier;">Master&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 50,000<br />Guru&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 150,000<br />Wizard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 300,000<br />Sage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 500,000<br />Genius&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,000,000<br />Savant&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10,000,000<br />Elite&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25,000,000<br />Technocrat&nbsp; 50,000,000<br />Legend&nbsp;&nbsp;&nbsp;&nbsp; 100,000,000</div><br />When earning a rank an expert is given the opportunity to create an html badge which displays the rank, points and zone and which may be used as an email signature.&nbsp; The badge is made up of various images hosted on the experts exchange website and because the urls for those images are predictable it is trivial for anyone to create a badge for a zone and rank to which they are not entitled:<br />&nbsp;<br /><table width="366" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td valign="bottom"><a href="http://www.experts-exchange.com/M_3612884.html"><img src="http://www.experts-exchange.com/images/signatures/legendRankTop.gif" alt="legendRankTop" border="0" /></a></td><td colspan="2" style="background-image: url(http://www.experts-exchange.com/images/signatures/legendTitleTop.gif);" valign="bottom"><a href="http://www.experts-exchange.com/M_3612884.html" style="font-family: Arial; font-style: normal; font-variant: normal; font-weight: bold; font-size: 16px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(102, 102, 102); text-decoration: none;">jah</a></td></tr><tr><td valign="top"><a href="http://www.experts-exchange.com/M_3612884.html"><img src="http://www.experts-exchange.com/images/signatures/legendRankMiddle.gif" alt="legendRankMiddle" border="0" /></a></td><td valign="top"><a href="http://www.experts-exchange.com/M_3612884.html"><img src="http://www.experts-exchange.com/images/signatures/legendTitleMiddle.gif" alt="legendTitleMiddle" border="0" /></a></td><td valign="top"><a href="http://www.experts-exchange.com/M_3612884.html"><img src="http://www.experts-exchange.com/images/signatures/legendPointsMiddle.gif" alt="legendPointsMiddle" border="0" /></a></td></tr><tr><td valign="top"><a href="http://www.experts-exchange.com/M_3612884.html"><img src="http://www.experts-exchange.com/images/signatures/legendRankBottom.gif" alt="legendRankBottom" border="0" /></a></td><td colspan="2" valign="top"><a href="http://www.experts-exchange.com/M_3612884.html"><img src="http://www.experts-exchange.com/images/signatures//t2i/l_174.gif" alt="l_174" border="0" /></a><br /></td></tr></tbody></table>
Since nobody has yet attaied even half this amount of points, I'm the first person to be "awarded" the Legend rank.&nbsp; Nice.<br /><br />Now this isn't a major issue, but it could be used to mislead people as to a persons knowledge of a particular topic or in some cases a persons identity - it's possible for instance to create a badge for a <a href="http://www.ning.com/">ning.com</a> social network for any user of that network and so impersonate them in communications.<br />It's not an easy task to prevent this sort of thing because these badges are just pieces of html which can be copied and placed anywhere and restricting the use of them to specific people isn't really feasible.<br /><br />Never trust a badge then.<br />]]>
        
    </content>
</entry>

<entry>
    <title>Arctic Sea Ice</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2008/10/arctic-sea-ice.html" />
    <id>tag:ccgi.jahboite.co.uk,2008:/blog//3.15</id>

    <published>2008-10-31T00:30:07Z</published>
    <updated>2009-02-20T19:33:40Z</updated>

    <summary><![CDATA[Just for kicks, I've knocked-up a quick php page which shows sea ice concentration for the northern hemisphere.&nbsp; It fetches images from the University of Illinois at Urbana-Champaign Polar Research Group's "The Cryosphere Today" website and displays one from the...]]></summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="php" label="php" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[Just for kicks, I've knocked-up a quick <a href="http://jahboite.co.uk/sea_ice.php">php page</a> which shows sea ice concentration for the northern hemisphere.&nbsp; It fetches images from the University of Illinois at Urbana-Champaign Polar Research Group's <a href="http://arctic.atmos.uiuc.edu/cryosphere/">"The Cryosphere Today" website</a> and displays one from the current day (or the previous day) and one for the same day in 1980 (if the image is available).<br />The idea is that you can compare the sea ice extent and see how badly global warming is getting.<br />By the looks of things, I'd say not very, but we'll have to wait 'til the summer (northern hemisphere) to see a dramatic difference I think.<br /><br />The main need for php code was to find a suitable image should there not be one for the current day (it will display one for the previous day) or for the same day in 1980 in which case an image for the most recent image prior to that date will be displayed.<br />I don't do a lot of php code so this was fun.&nbsp; I even did it in an OO stylee.<br /><br /> ]]>
        
    </content>
</entry>

<entry>
    <title>Copernic Desktop Search - Blue Tray Icon</title>
    <link rel="alternate" type="text/html" href="http://jahboite.co.uk/blog/2008/10/cds-blue-icon.html" />
    <id>tag:ccgi.jahboite.co.uk,2008:/blog//3.14</id>

    <published>2008-10-16T11:40:00Z</published>
    <updated>2010-01-09T09:51:06Z</updated>

    <summary>On Windows, I&apos;ve noticed that the copernic desktop search system tray icon, which is usually yellow and orange, sometimes turns blue.
.</summary>
    <author>
        <name>jah</name>
        <uri>http://jahboite.co.uk</uri>
    </author>
    
        <category term="observations" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="search" label="search" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://jahboite.co.uk/blog/">
        <![CDATA[On Windows, I've noticed that the copernic desktop search system tray icon, which is usually yellow and orange <span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="cds_normal.png" src="http://jahboite.co.uk/blog/im/cds_normal.png" class="mt-image-none" style="" height="16" width="16" /></span>, sometimes turns blue <span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="cds_blue.png" src="http://jahboite.co.uk/blog/im/cds_blue.png" class="mt-image-none" style="" height="16" width="16" /></span>.&nbsp; It will remain this colour until an update to the index begins, but I haven't been able to determine what causes the change in colour.<br /><br />Google came up with nothing on this topic, I found no mention of why this might happen in the help files for copernic and so I sent a mail to their support.&nbsp; A prompt response was received to the effect that it's a "known problem for which there is no solution at the moment" and that they can't tell me "whether this problem will be fixed or not because the list of enhancements or bug fixes to be included hasn't been defined yet".<br /><br />I posted this entry simply to give google something sensible to return for a search for something like "copernic blue icon".&nbsp; Hope it answered your question.<br />]]>
        
    </content>
</entry>

</feed>

