hashcash

Hashcash is a proof-of-work system designed to limit email spam and denial-of-service attacks. Hashcash was proposed in May 1997 by Adam Back. read more at WikiPedia

  • Whats new:
    • A Real Admin panel
    • New: Text editor for modifying  the language file,
    • New: Huge manual with screenshots on how to activate hashcash for Your homepage
    • A more complete About menu with credits and links
    • New: Check latest version link to easily check if You have the latest code
    • A more robust and Object Oriented approach

    Note this component still require You to install com_log4php before!

    Download HEREor at Joomla forge

    I will make a break, 1 or 2 days but will then concentrate on polishing com_jommlacloud !!!

    {mosgoogle center}

  • Hashcash component has protected successfuly my homepage against several attack these past days...(Casino, poker and so on...) Hello Spammer I seing Your server IP in Hashcash logs files... :-)

    • 80.178.207.175 (Amsterdam, Netherlands) and
    • 83.241.10.135 ( Marina Del Rey, California, United States ) and
    • 83.28.166.64 (Marina Del Rey, California, United States)and
    • 83.28.167.186 (Marina Del Rey, California, United States)

    Next release of hashcash:

    • A correct and well formed XML in logs files ;-)
    • A random security images -> changes in akocomment, easy to do since there is a very good tutorial at DEVSHED.com
    • A way to blacklist comments by IP...
    • Maybe some geolocalization of IP...
    • Some graphical statistics...

  • I have just committed the latest code Hashcash 1.0 and 3rd party components AkoComment, Akobook from Arthur Konze to cvs.hashcash.mamboforge.net (cvs tag: v01_00_00)

    I have also

    • Created a new administrator component for security images (GNU/GPL release).  com_securityimages, done and tested
    • Modified successfuly AkoComment and AkoBook, done and tested
    • Create an admin panel-> not tested. It is really a pain to create stunning admin backend panel....

    I will soon publish this code to mamboforge, maybe in a new project. Only problem, by designing Mambo framework components, I still have a strong dependencies tree:

    com_akobook and com_akocomment required com_hashcash and com_securityimages required com_log4php

    So it is pretty difficult to maintain version number across 5 components (with 2 not being mine) and make new version of each without going through testing and bulk delivery (all five together)

  •  What's new:
    • A lot more Object Oriented, I've tried to stabilize the interface, and avoid version breaking -> I reduce the surface of knowledge 3rd party component must have to facilate migration of existing component already using Hashcash.
    • An admin panel.



    • Logs files of activity on Your Site can now be viewed in the admin panel.
    • Configuration is done with the help of panels and tabs, no file to edit.
    • Use of Log4PHP everywhere to make debugging easier.
    • More cryptographic plugins: RSA, MD4

    For convenient download, I've put all 3 components in a zip file, If You extract it, you will have 3 zip files,

    • com_hashcash.zip
    • com_akobook.zip
    • com_akocomment.zip + its mambot

    Download the package in my download section:
    Hashcash 1.0 pack: hashcash+ akocomment + akobooknew!2005-08-01
    install them, in the right order, as specified below (click Read More first).

     Installation of Hashcash version 1.0
    manual revision 1.1

    1.0 First install
    1. Install Log4PHP, You will find it in my download section, it is a regular component, use the admin panel as usual
    2. Install the latest version of Hashcash for Mambo,it is a regular component, use the admin panel as usual
    OR
    1.0 Update of an existing hashcash
    1. Remove the old version of Hashcash for Mambo,using the admin panel as usual
    2. Install the latest version of Hashcash for Mambo,it is a regular component, use the admin panel as usual

    2.0 Manuals changes

    You have to do these changes manually as the Mambo component installer can not do it for You

    1. Open the file index.php of Your Site template. ex: /templates/rhuk_solarflare/index.php
    2. add after the html <head> tag this line:
      <?php include($mosConfig_absolute_path."/components/com_hashcash/includes/head.inc"); ?>

    3.0 manuals Changes required because of log4php

    This tell log4php where the config file is, and include for the whole site a reference to the LoggerManager.

    edit in Mambo root the file /index.php and add following lines in bold
    include_once( 'globals.php' );
    require_once( 'configuration.php' );

    define('LOG4PHP_CONFIGURATION', $mosConfig_absolute_path.'/components/com_log4php/log4php.properties');
    define('LOG4PHP_DIR', $mosConfig_absolute_path.'/components/com_log4php/api');
    require_once(LOG4PHP_DIR . '/LoggerManager.php');

    4.0 AkoComment: (optionnal)

    First install of akocomment
    1. You can simply install the component using the admin panel like any other component.
    OR
    Update of an existing akocomment db
    Since we do not wan to loose the Database and all precious comments, we will have to manually deploy the latest code
    1. Using data from inside the zip, overwrite carefully each file on the server using FTP

    If install succeeded You should see in the comment section this new footer
    Powered by AkoComment 2.0! and Hashcash 1.0

    5.0 AkoBook(optionnal)

    First install of akobook
    1. You can simply install the component using the admin panel like any other component.
    OR
    Update of an existing akobook
    Since we do not wan to loose the Database and all precious guestbook entries, we will have to manually deploy the latest code
    1. Using data from inside the zip, overwrite carefully each file on the server using FTP

    If install succeeded You should see in the Guestbok section this new footer
    Powered by AkoBook V3.42 + hashcash 1.0

    Know Bugs:

    - the CryptoStrategy factory sometimes return MD5 instead of the right cryptographic algorithm (waht a mess PHP4). As a result, If you Want to use SHA1, You will have to overwrite these lines in CryptoStrategy::encrypt($string)

    $this->logger->debug("Default encrypt: ".$string." with MD5");
    return md5($string);

    It is still here and I do not know why...