Archive for August, 2006

Perform HTTP Basic Authentication with HTTP headers and libcurl

Problem Came across an interesting problem with curl.For curl to perform HTTP Basic Authentication, it is easy to pass –user to the curl command, but harder with libcurl.Suspect there is an attribute that can be set, but I monitor a multitude of web sites through some perl scripts and libcurl. I did n’t want to [...]

IP, TCP, UDP, and ICMP Header Drawings

Problem Solution Example Courtesy of Digg."Here are some drawings I did to better understand the structure of the headers for IP, TCP, UDP and ICMP. Please feel free to used them for personal uses. If you would like to include them in a publication, please contact me at the address in the drawings. I created [...]

Free online dictionary

Problem [ CLICK HERE ] to go directly to the dictionary.Read on if you want the code.You need to look up a word quickly.Word blind or just feeling plain lazy. Solution Announcing my free online dictionary, which is using dict.org under the covers. Example Simple bit of PHP<?php if(isset($_GET['word'])) { $word=urlencode($_GET['word']);?> <div style=”background:#FFFFFF;width:730px;text-align:left”> <img src=”/images/post-head.png” [...]

How to Crack a Website – XSS, Cookies, Sessions

Problem Solution Example Reference Courtesy of Digg.“Informit.com provides an insiders look at a real life XSS attack and how it was used to bypass the authentication scheme of an online web application, leading to “shell” access, and admin account, and more. XSS attacks are often discussed in theory �� this walk through illustrates just how [...]

Linux Command Line Cheatsheet

Problem Solution Example Reference

An overview of the most commonly used command-line text tools

Problem Solution Example Reference