{"id":556,"date":"2016-04-05T18:06:06","date_gmt":"2016-04-06T00:06:06","guid":{"rendered":"http:\/\/danieltharp.com\/weblog\/?p=556"},"modified":"2016-04-05T18:06:06","modified_gmt":"2016-04-06T00:06:06","slug":"the-more-you-know-the-less-you-say","status":"publish","type":"post","link":"https:\/\/danieltharp.com\/weblog\/2016\/04\/the-more-you-know-the-less-you-say\/","title":{"rendered":"The more you know, the less you say."},"content":{"rendered":"<p>Pleased to report that Windows 10 hasn&#8217;t reduced the Surface Pro 3 to smoldering rubble. In fact, it&#8217;s quite a happy upgrade so far. The Verizon USB card seems much happier in 10 than it did in 8.1, and the applications all came over flawlessly so far, quite a feat considering it went all the way from NT6 to NT10. (That&#8217;s nerd sarcasm, by the way.)<\/p>\n<p>I was mildly amused by being notified that I&#8217;d earned some money from Amazon Affiliates. That would be from my <a href=\"https:\/\/imissgrantland.com\">I Miss Grantland<\/a> project, which runs ad-free and has a page where you can buy books on Amazon from writers featured on the site. The site has been up for about 3 months and has managed something like 104,000 hits. Out of those, about 132 hits were to said book page, representing about 7,000 clickable links. 88 clicks were made (a ~1.3% clickthrough rate) and 7 items were ordered, representing Amazon cutting me a check for <em>almost four dollars<\/em>. It&#8217;s seriously a good thing that the whole thing is automatic and able to run on my shared hosting account, so my only expense is the domain renewal.<\/p>\n<p>It&#8217;s not hard to understand why so many sites are fucking littered with ads. All that said, I still run an ad-blocker. Not because I feel people shouldn&#8217;t get paid for creating content, but because the current system is a mess and more than a little insecure. E.g., <a href=\"https:\/\/www.google.com\/search?q=malvertising\">malvertising<\/a>. It&#8217;s one of the great unsolved puzzles of the Web. For a long time, Flash was the enabler of the worst offenders. Now it might be JavaScript. A simple, if regressive, solution would be to standardize on text-based ads, with the use of a 1px transparent image for basic tracking for per-impression based ads. Image-based ads are workable if the rotation logic is done on the ad provider&#8217;s side. That&#8217;s it. No javascript, no Flash, no HTML5, and certainly no fucking iframes.<\/p>\n<p>In a good example of &#8220;be the change you want to see in the world,&#8217; that&#8217;s exactly what I&#8217;m doing at I Miss Grantland. And it is paying peanuts. It would be all too easy to find out what ad company pays the most and carpet-bomb the readers, but karma&#8217;s a hell of a thing when you&#8217;re an IT guy fighting malvertising and ransomware. And honestly, even if the ad revenue increased 1000%&#8230;10 bucks a month? At the expense of being a vilified piece of the web that I fight against?<\/p>\n<p>I make six figures. I&#8217;ll be alright without the ten bucks a month. Going full retard with the ads is not worth it.<\/p>\n<p>I&#8217;ve been fighting with a PowerShell script at work, and it&#8217;s been very educational if also irritating. The idea, when it&#8217;s finished, is automated response to ransomware. There are some Word files on a share, they act as honeypots for ransomware. I check the CRC value every minute and compare it to what it was when it was created. If it changes, we&#8217;re under attack. The ransomware strains I&#8217;ve seen lately modify the owner of the file to be the infected user, possibly a programming bug or possibly due to some quirk of our environment. The program will note the new owner of the watched file, use Active Directory to get a list of PCs, and compile a list of PCs the user is logged in on, and then disables the NIC(s) of each such PC. And it&#8217;s <em>so close<\/em> to being complete. The pieces all work on their own, it&#8217;s just a matter of linking them together now.<\/p>\n<p>Extending PowerShell beyond little one-liners with piped commands, into a proper program with functions, arrays, and variable scope makes me realize there&#8217;s probably almost nothing in Windows you can&#8217;t do with PowerShell, and it&#8217;s even extensible to a few non-Windows applications.<\/p>\n<p>To you aspiring sysadmins, if you don&#8217;t know Linux, you&#8217;d damn well better learn PowerShell. Without one or the other you are going to get left behind sooner rather than later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pleased to report that Windows 10 hasn&#8217;t reduced the Surface Pro 3 to smoldering rubble. In fact, it&#8217;s quite a happy upgrade so far. The Verizon USB card seems much happier in 10 than it did in 8.1, and the applications all came over flawlessly so far, quite a feat considering it went all the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,16],"tags":[],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-nerd-stuff","category-work"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1RwV4-8Y","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/posts\/556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/comments?post=556"}],"version-history":[{"count":1,"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/posts\/556\/revisions"}],"predecessor-version":[{"id":557,"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/posts\/556\/revisions\/557"}],"wp:attachment":[{"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/media?parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/categories?post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danieltharp.com\/weblog\/wp-json\/wp\/v2\/tags?post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}