Recently Added

Notes & Bookmarks

  1. for i in `cat match | grep '.xml:' | sed -e 's/\:.*$//' | uniq`; do grep -Hin '\\\\' | grep '.xml:' | sed -e 's/\.xml.*$//' | uniq; done
  2. Cryptolocker payloads vary in their methods, but most are generally lazy, if not
  3. The hand was forced, but it seems despite their (welcomed) new approach, Microsoft don't quite want to let go! #microsoftteams
  4. Why does the Order History Report ( only work on #manualadditions... @AmazonUK @AmazonHelp
  5. cat mn | awk -F"=" '{split($2,a,",");print a[1]}' && sed 's/.*\///g' nm && sed -r 's/\/([^/]*)$//' ou (Who needs macros when you're a man?)

Expand RAID Array on ESXi with No VM Downtime

Updated : 15:07:16pm, 17th Jan 2017

Jan 17th, 2017 : This is old (circa 2014) but it has relevance still.

If it weren't obviously from the detail below, this is only applicable to ESXi / vSphere environments running on HP ProLiant chassis.


In Defense of Our Good Name?

Updated : 14:48:22pm, 17th Jan 2017

Frankly, it is of little surprise (and to a point a bearable burden) that much of what you do, say, look for and desire is captured, monitored and scrutinised with the aim of, essentially, marketing the world around you and the content that you're served (although the real reasons are generally far more totalitarian).

Your existence and your interests are nothing more than a row in a database; you are a numerical metric who's behavior and reliance on technology feeds the beast that serves you. Even the most vigilant and staunchly defiant resistors who aim to exist below the radar through Tor or various 'anonymising proxies' would be hard pushed to guarantee they'd never (at least willfully) submitted or contributed some sort of seed to the stockpile.


HTTP(s) Issues w/ Wine32/64 (Steam, uPlay etc.)

Updated : 11:58:27am, 22nd Apr 2016

This is a copy (for my sake) of a thread I've started on the WineHQ forums.

It's a well documented problem but I am unsure of what correlation(s) have been made previously. Intention of this thread is to progress with further debugging.


Surgical Meth Machine - 'I'm Invisible'

Updated : 12:47:50pm, 2nd Apr 2016

Been waiting for this for ages... and I bet the rest of the album is brutally heavy!


Remote Installation of Binary with Powershell & WMI v2

Updated : 16:20:37pm, 22nd Mar 2016

Below is an improved approach to something previously detailed.

As then, the intention of this script was to deploy an AEM agent to remote workstations using -searchbase scopes, with logging. Progress notification (i.e. bar) and a more efficient foreach are on the cards, but this can be easily tweaked to allow deployment of any other silent binary, such as a Bomgar agent;



Updated : 15:25:40pm, 20th Mar 2016


It's doing the rounds but I've no idea where it originally cropped up... almost certainly 4chan or Reddit.


The Structure of Linux

Updated : 15:20:32pm, 20th Mar 2016

The Structure of Linux

Source :


Bob the Process

Updated : 15:17:19pm, 20th Mar 2016

Bob the Process

Bob. Bob the Process.


The Impact of MINIX

Updated : 19:11:06pm, 18th Mar 2016

Grab a cup of tea and sit down for an utterly fascinating and entertaining 10 minutes :)


Your Path

Updated : 17:23:47pm, 16th Jan 2017

Your Path

Move Inactive Workstations to New OU

Updated : 14:43:00pm, 10th Mar 2016

Whilst this function is straightforward, you could of course do anything against the applicable objects (e.g. disable-adaccount);

import-module activedirectory

$inactive = (Get-Date).Adddays(-(180)) 

$comps = get-adcomputer -filter {LastLogonTimeStamp -lt $inactive} -properties * | select-object Name,@{Name="Stamp"; Expression={[DateTime]::FromFileTime($_.lastLogonTimestamp)}

foreach($comp in $comps){move-adobject $comp –targetpath “ou=Inactive Machines,dc=domain,dc=com”}

Run line by line, or save entire contents as inactive_machines.ps1.


Masscanning the Internet

Updated : 13:48:56pm, 13th Mar 2016

This is a topic I've long considered discussing in public and whilst there are better examples, I found this an interesting watch... if not frustrating, for reasons of my own.

Long term, I might look to use this as a catalyst to upgrade this thread to a 'project' as there is far too much to focus on this element of interest in just a few paragraphs...


HS-210 : QNAP <-> Debian

Updated : 16:31:55pm, 16th Jun 2016

A few months ago, I came across a vendor selling off the QNAP HS-210 for ~£120, which was an incredible bargain. I toyed with getting two, maybe even three, of the units knowing they'd serve my requirements adequately and, for the money, efficiently too. As it goes, I ended up getting just one, and not two days later the vendor stopping selling it entirely... much to my frustration. I guess they were selling off their stockpile; hindsight, eh?

The unit itself is, well, frankly quirky. Clearly, it's beautiful, sleek and aesthetically pleasing. With two 'hot-swap' bays, it's also very manageable and the unit is actually fairly robust considering it's, really, just a T-bone embedded board with no fans. As such, it operates silently, which was my main desire. Obviously with this being a low-end model with only two bays (thus offering only RAID0/1), I wasn't expecting incredible write speeds... which is great, considering this is the biggest problem it has (though, not surprisingly, it does get incredibly hot).


The Expert

Updated : 14:19:45pm, 13th Mar 2016

A classic example of my day when I have to deal with anybody outside of engineering :)

Update Domain Workstations Hosts File

Updated : 12:29:47pm, 12th Mar 2016

Almost identical to the last nugget, you can use this as a tweak to update all the local hosts file on workstations in a domain;

## machine scope(s)
$comps_all_ws = get-adcomputer -searchbase "dc=domain,dc=local" -filter {OperatingSystem -notlike "*Server*"} | select Name -expandproperty Name | sort-object -descending

## globals
$log_file = "c:\host_change.txt"
$log_file_off = "c:\host_change-offline.txt"
$host_file = "\\$comp\c$\Windows\system32\Drivers\etc\hosts"
$ip = ""
$host_record = "server    server.domain.local"

## update cycle
foreach($comp in $comps_test){

      ## check machine if online, else ignore
      if(test-connection $comp -count 1 -quiet){
            $check_hosts = @(get-content $host_file | where-object {$_.Contains("$ip")}).count

            if($check_hosts -eq "1"){
                  write-host "Record exists in $comp"
                  add-content "$log_file" "Record exists in $comp"
                  write-host "Record does not exist in $comp. Updating hosts file..."
                  add-content "$log_file" "Record does not exist in $comp. Updating hosts file..."

                  add-content "$host_file" "`n$ip `t $host_record"

                  $check_host = @(get-content $host_file | where-object {$_.Contains("$ip")}).count

                  if($check_host -eq "1"){
                        write-host "Record now exists in $comp"
                        add-content "$log_file" "Record now exists in $comp"
                        write-host "Record does not exist in $comp and has not been added."
                        add-content "$log_file" "Record does not exist in $comp and has not been added."

            write-host "$comp is offline. `n"
            add-content "$log_file_off" "$comp is offline. `n"


[...] © 2006-2017

Comments, submissions and errors to desk[at]

Material and content adheres to the Creative Commons (NC-SA 4.0) license.