Blocking Yahoo’s Web Messenger From Domain Users Via Hosts Script
April 2, 2010
Management asked us to block access to all chat programs. Programs are easy to do with a Group Policy. However some of the web messengers are harder to restrict. Yahoo’s web messenger is very tricky to stop. However I found a way to block access.
PDF, Content-Disposition, inline and filename
January 22, 2010
Here’s an odd quirk I came across when trying to save PDFs displayed inline in the browser. It seems that you cannot specify the filename using the Content-Disposition header inline with the Adobe PDF broswer plugin. It completely ignores it and uses what’s after the last slash in the URL. So if your url is like this http://www.mysite.com/makepdffile.php the filename of the PDF would be makepdffile.php when you clicked on save. Fortunately I have found a solution.
Insufficient System Resources Exist to Complete the API
September 14, 2009
I recently got this Insufficient System Resources Exist to Complete the API error message when working on a friends Acer One netbook. Here’s the fix that worked for me.
Extracting emails from a file, string or url with php and regex
July 31, 2009
So, sometimes, in life, you have a crazy boss that comes up to you and asks you to do odd things. Like export a folder with a few thousand emails to a csv file. Then extract all the emails from that file. Luckily enough this is possible using php and regex. Below I will show you how I was able to accomplish this.
Rootkit: UACxxxxxx.sys Sucks as bad as it’s older brother
March 25, 2009
Came across a variant of tdss called UACxxxxxx.sys the other nite.
Looks like the writer updated the code and gave it a new name to go by.
If you want to get this douchebag the hell up out of your system here’s what you need to do.
- Download UBCD4WIN from this site.
- Download Malware Bytes Anti Malware from download.com mbam
- Install and update MBAM onto your system. Run the scanner and after it finds everything on your system look at the list of files it found infected. Note the exact file name for the UACxxxxxx.sys infected file that is in C:\WINDOWS\system32\drivers. It might be in a different folder so make sure you note that down also.
- On a non infected system install and create a UBCD4WIN.
- Go back to the infected system with the UBCD4WIN and boot up. Once you’re in browse to C:\WINDOWS\system32\drivers and remove the UACxxxxxx.sys rootkit.
- Run MBAM to make sure you are free of this abomination.
If you follow these steps you will be UACxxxxxx.sys free. Let me know your experiences.
Setting up a Pligg RSS feed tutorial Part 1.
October 23, 2008
For those of you that have come across this page and don’t know what Pligg is.
Pligg is an open source Content Management System (CMS) available to download for free. Pligg has perfected content management in a unique way that encourages users to participate and control the content on the site. This makes the site user-moderated and allows for “social publishing” where the stories are created and promoted by members not website editors. Pligg CMS is based on PHP and MySQL technologies that allow it to be installed on almost any web host on a relatively small budget. For support please visit the Pligg Forum where you can find help 24 hours a day thanks to our excellent development team and contributors. Pligg is free software, but you are welcome to donate any amount by clicking the button below.
In a nutshell Pligg is trying to do what Digg does however Open Source.
In this tutorial I’m going to explain how to setup the RSS feed importer. So we are going to assume that your Pligg site is setup and raring to go.
Now let head on over to the admin area. More than likely the RSS module is not active so we need to activate that. Click the Module Management link and go to that page. Look for RSS Importer and if it’s not active please activate it. Once active it should show towards the top of the page as an active module.
Next step is to head on back to the admin and in the admin panel there should be a link for the RSS Importer. Click that and it will take you to the RSS Import admin area. Lets add a new feed so click Add a new feed. The page should refresh and have some options. First thing you will want to do is name the feed. Second you hopefully have the location of your rss feed. I’m goign to use http://sports.yahoo.com/top/rss.xml as my example. Once you’ve entered and saved those two items. You will see some other options that are pretty self explanitory.
- Feed Frequency (hours): 36 — how often to check for new items.
- Feed Order: 1 — Do we start with the last items first? 0 = no, 1 = yes
- Feed Random Votes: 0 — Do we use a random number of votes? 0 = no, 1 = yes
- Feed Votes (if not random): 1 — how many votes new items recieve (limit 200)
- Feed Votes Minimum (if random): 2 — how many votes new items recieve (limit 200)
- Feed Votes Maximum (if random): 4 — how many votes new items recieve (limit 200)
- Feed Items Limit: 1 — how many new items to take from the feed when it’s checked
- Feed URL Dupes: 0 — Allow duplicate URL’s 0=No, 1=Yes, Allow
- Feed Title Dupes: 0 — Allow duplicate Title’s 0=No, 1=Yes, Allow
- Feed Submitter Id (number): 62 — The ID of the person who will be listed as the submitter
- Feed Category Id (number): 61 — The ID of the category to place these items into
Maybe except for the feed submitter id and feed category id this section should be easy to figure out. To find out the feed submitter id and category id you might want to look in your database.
Now here comes the important part. The add a new field link. You must add at least 3 new fields in order for this to work. You must match up your feed and pliggs Title, Link and content in order for the feed to work. Otherwise you’ll just get an error. It should look something like this.
– feed field name: title — pligg field name: link_title — Remove this link
– feed field name: link — pligg field name: link_url — Remove this link
– feed field name: description — pligg field name: link_content — Remove this link
Now hopefully you’ve done all this right and if you go to the Import the feeds link up top and click it. You should see a successful import of your feed and when you go to your site you should see a new story or stories added.
If there is enough interest shown I’ll write a part two to this tutorial on how to automate the import process.
Custom Ringtones on your iPhone Tutorial
December 21, 2007
Well I actually broke down and bought an iPhone after playing with a friends.
And of course I’m trying to figure out how to do all the cool stuff. Yesterday I learned how to make custom ringtones for the iPhone. In this tutorial I will teach you how to also pwn, and make your own custom iPhone ringtone.
- A audio file you’d like to use as a iphone ringtone, mp3′s work just fine.
- Latest version of iTunes, alternately if you don’t use iTunes to sync your phone you can probably get away with using iPhone explorer or something similar to access the Ringtone folder
- An audio editing software, my laptop had one pre installed
First off there isn’t anything here that’s all that complicated to do you just need to follow the steps and everything will work fine. If you have questions on how to do certain things, leave a comment asking for help or just google around for a tutorial.


