Oct 3 2012

Ubuntu Lighttpd + PHP quick installation.

Lighttpd (pronounced “lighty”) is an open-source WebServer optimized for speed-critical environments than common products while remaining standards-compliant, secure and flexible.
It was originally written by Jan Kneschke as a proof-of-concept of the c10k problem (how to handle 10,000 connections in parallel on one server) and has gained worldwide popularity.

The low memory footprint (compared to other web servers), small CPU load and speed optimizations make lighttpd suitable for servers that are suffering load problems, or for serving static media separately from dynamic content.
Lighttpd is free software/open source, and is distributed under the BSD license.
Continue reading

May 8 2012

osTicket: Reset User Password.

Password lost for admin user in osTicket?

This can be solved by setting a new password in the DB.
Continue reading

Nov 17 2011

QR Codes: a PHP library for dynamic generation.

PHP QR Code is open source (LGPL) library for generating QR Code, 2-dimensional barcode. Based on libqrencode C library, provides API for creating QR Code barcode images (PNG, JPEG thanks to GD2).

Implemented purely in PHP, with no external dependencies (except GD2 if needed).
Continue reading

Nov 3 2011

Cisco (Type 7) Passwords PHP decrypt script

Cisco devices can be configured to store weak “obfuscated” passwords, also called “Type 7 Passwords”.

This script aims to recover this type of passwords, from the obfuscated string.

Since Password Obfuscation (Type 7) is not secure, if accounts details are stored inside device configuration, it is recommended to have it crypted with MD5 algorithm.

Continue reading