-
Archives
- April 2017
- April 2016
- July 2015
- November 2014
- October 2014
- June 2014
- May 2014
- January 2014
- December 2013
- October 2013
- April 2013
- April 2012
- October 2011
- July 2011
- April 2011
- March 2011
- February 2011
- May 2010
- April 2010
- January 2010
- October 2009
- June 2009
- May 2009
- April 2009
- February 2009
- October 2008
- September 2008
- August 2008
- July 2008
- January 2008
- December 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
-
Meta
Category Archives: Programming
Perl code to find an IP A in subnet B/C
my $ip = ‘1.2.3.4’; my $block1 = ‘1.2.3.0/27’; if(checkip($ip, $block1)) { print STDOUT “$ip is in $block1\n”; } else { print STDOUT “$ip is not in $block1\n”; } sub checkip() { my $ip = shift; my $block = shift; @ip1 … Continue reading
Posted in How Tos, ip addressing, ipv4, networking, perl, Programming
Leave a comment
PHP Header injection
I regularly shut down web sites that use the PHP mail() function. While the users of the sites mean well, they generally don’t do any checking before sending data to mail(). I’m not going to weigh in mail(). Enough has … Continue reading
Posted in How Tos, Mail Post, php, Programming
Leave a comment
Panic Releases Coda, and I can’t use it
http://www.panic.com/ released Coda a web-oriented IDE that contains a terminal, FTP, SSH, etc. all rolled in to one. It looks great and I want it, but it’s Mac only. Some day…
Posted in IDE, Programming, Software
Leave a comment