Archive for wordpress

Getting started with OpenAds (installing)

You visited a few times and I would appreciate your thoughts on this post, why not comment?

With Nicks great post on selling links I thought I would follow up with a quick how to setup OpenAds and how to integrate it into your Wordpress or Drupal sites.

What’s OpenAds

Openads is a free open source advert management system, it allows us as site owners to provide advertisers with a means to run and monitor adverts on our site. Openads is the merger of phpAdsNew, phpPgAds and Max Media Manager into one package.

Setting up OpenAds

Go head to the downloads section for this tutorial we are using the latest stable build 2.0.11 a Beta version of the next version is available at the time of writing which offers several bug fixes and a combined install script. However for this tutorial we will be using the old version and mysql though postresql is available as well.

1)Unpack and move the files to the location on the server

2)Setup your MySQL database, each host has a different way of doing this so check your hosts documentation for how. While for performance reasons its best if Openads has its own database, it does allow user defined prefixes to its tables allowing it to be setup in a single database.

3)openads has a graphical wizard for installing visit in a browser the location of your new adserver for example www.example.com/adserver
Hopefully you are presented with a screen similar to this…

4)Proceed and Accept the license agreement.
openads_setup_screen2.gif

5)Fill in the relevant details, notice the URL prefix this should be your server location in my case its running of the local intranet which is why their is no www.
openads_setup_screen3.gif
6)Put in the location and information about the mysql db, notice you can change the prefix and table type (unless you have a reason to avoid this section and just leave it alone).
openads_setup_screen4.gif
7)Your server is installed woot go get a coffee!
openads_setup_screen5.gif

Integrating with Wordpress

Thankfully their is an Openad plugin for wordpress that makes installing it a breeze so rather then taking you step by step through the process I will simply point you to the WP OpenAds plugin home page

Integrating with Drupal

Again integrating with Drupal is easy thanks to the OpenAd module which takes care of theme integration, download the module and setup as normal.

Other systems?

While I principally use Openads with Drupal their are plenty of other content management systems out there. The good news is if they allow you to place javascript in a page then you can use Openads as well!.

Wordpress blues solved with a worm

You visited a few times and I would appreciate your thoughts on this post, why not comment?

Just to be clear we are not recommending you use the worm to patch your sites, rather providing information on how the Worm works, as always you should get patches from a known authority such as wordpress.org, that said this vulnerability is out there and the official patch is not.

Just a quick post about mybeni latest idea, its as far as I know the first dedicated XSS worm for wordpress, basically it means that his proof of concept can edit PHP files on your server as well as a range of other nefarious things. But don’t panic to much as his current worm does nothing more then fix the security hole in Wordpress 2.2.1 the irony being it fixes the hole its using.

Might I suggest its probably time to get patching ;)

Now if you want to use his worm then follow the following steps (Payment Blogger is not responsible for what happens next ;) )

How can I start the Worm?

  • Go to your blog and login to your Wordpress Adminstration Panel
  • Post a Comment to your own Blog containing a link to this blog, that means http://mybeni.rootzilla.de/mybeNi/
  • Go into your admin Panel -> Moderate Comments and click the freaking link :o)
  • The friendly worm will guide you through everything and your blog is secure again.

Source:http://mybeni.rootzilla.de/mybeNi/2007/this_is_the_first_weblog_xss_worm/

It won’t be long be for new worms start appearing so patch quickly and early to save yourself from bother.
For more details on the 7 known problems see the full list.