Thursday, January 12, 2012

Current Year with Perl

Perl scripters,

Did you ever want to just grab the current year in four digit format without pulling in the entire localtime array?  Me too.  Here is a simple statement that does just that and nothing more.  It pulls in the sixth element of the array which is the year.  Don't forget, the array begins with index value 0 so the sixth element has an index value of 5.

     $currentyear = (localtime)[5] + 1900;

Enjoy.

Wednesday, December 14, 2011

More Scam Spam


Got this scam spam this morning in my business email.  Imbeciles! Got a life!  Get a job!  I wish Outlook would display the complete headers so I could expose the sending and relaying hosts.  Oh well.

-----Original Message-----
From: William Rowe [mailto:violenta37@zilkha.com]
Sent: Thursday, December 15, 2011 9:05 AM
To:###################
Subject: Bank of America: Bill payment issue


To:         Dear Bank of America customer
Account:    CHECKING
Date:             12/14/2011

The most recent ALERTS for your account are now available to
download online.

Please follow the link to read URGENT ALERT message here:

Set up Alerts to be notified 5 days before your payment is due
to help avoid late payments. Sign in to Online Banking and select
the Alerts tab to activate the Credit Card Payment Due Alert.

Want to confirm this email is from Bank of America? Sign in to
Online Banking and go to Alerts. The Alerts History lists the
Alerts sent to you in the past 60 days.

William Rowe

---------------------------------------------------------------------------
---------------------------------------------------------------------------

Email preferences
This is a service email from Bank of America. Please note that
you may receive service email in accordance with your Bank of
America service agreements, whether or not you elect to receive
promotional email.

Contact us about this email
Please do not reply to this email with sensitive information,
such as an account number, PIN, password, or Online ID. The security
and confidentiality of your personal information is important
to us. If you have any questions, please either call the toll-free
customer service phone number on your account statement or visit
the Bank of America website to access the Contact Us page, so
we can properly verify your identity.

Privacy and security
Keeping your financial information secure is one of our most
important responsibilities. For an explanation of how we manage
customer information, please visit the Bank of America website
to read our Privacy Policy. You can also learn how Bank of America
keeps your personal information secure and how you can help protect
yourself.

Bank of America Email, 8th Floor-NC1-002-08-25, 101 South Tryon
St., Charlotte, NC 28255-0001

Bank of America, N.A. Member FDIC. Equal Housing Lender
A¿ 2011 Bank of America Corporation. All rights reserved.

Monday, November 07, 2011

Nationwide All Media 3 Minute Long EAS Test

My work sent out an email with this warning:


Please read the below message from FEMA.

On Wednesday, November 9, 2011, FEMA, DHS and FCC will conduct the first  national test of the Nationwide Emergency Alert System (EAS). This nationwide test will kick off at 2:00 p.m. (EST) and run concurrently across all time zones.

This system test is the first of its kind designed to broadcast a nationwide message to the American public.  In the history of the country, nothing like it has been conducted on such a level.  As you may be aware, there have been tests in the past, but not of this magnitude encompassing all regions of the Nation simultaneously.  The three (3) minute test will run concurrently on all radio and TV band stations exceeding the previous messages broadcast which were anywhere from a 30 second to 1 minute message.

There is great concern in local police and emergency management circles about undue public anxiety over this test.  The test message on TV might not indicate that it is just a test.  Fear is that the lack of an explanation
regarding the message might create panic.  Please share this information with your family and friends so they are aware of the test.

Below is FEMAs website that will provide more information regarding this test:

http://www.fema.gov/emergency/ipaws/eas_info.shtm

Tuesday, May 10, 2011

Yet Another Lousy Scam Email

Here is yet another lousy scam email. Don't fall for it. Don't let them scam you out of your hard earned money. Below is the plain text version of the email.

=========================


Delivered-To: me@domain.com
Received: by 10.101.44.16 with SMTP id w16cs163360anj;
Fri, 6 May 2011 08:54:16 -0700 (PDT)
Received: by 10.52.111.136 with SMTP id ii8mr1241507vdb.72.1304697255942;
Fri, 06 May 2011 08:54:15 -0700 (PDT)
Return-Path:
Received: from ufposhost.uniforcepos.com ([204.12.31.84])
by mx.google.com with ESMTPS id c7si3359407vcx.15.2011.05.06.08.54.15
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 06 May 2011 08:54:15 -0700 (PDT)
Received-SPF: neutral (google.com: 204.12.31.84 is neither permitted nor denied by best guess record for domain of nobody@ufposhost.uniforcepos.com) client-ip=204.12.31.84;
Authentication-Results: mx.google.com; spf=neutral (google.com: 204.12.31.84 is neither permitted nor denied by best guess record for domain of nobody@ufposhost.uniforcepos.com) smtp.mail=nobody@ufposhost.uniforcepos.com
Received: from nobody by ufposhost.uniforcepos.com with local (Exim 4.69)
(envelope-from )
id 1QINLz-0007b9-LM
for me@domain.com; Fri, 06 May 2011 11:54:07 -0400
To: me@domain.com
Subject: You Are The Next Of Kin
From: Brian McCain
Reply-To: brianmccainn@w.cn
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Message-Id:
Date: Fri, 06 May 2011 11:54:07 -0400
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ufposhost.uniforcepos.com
X-AntiAbuse: Original Domain - domain.com
X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12]
X-AntiAbuse: Sender Address Domain - ufposhost.uniforcepos.com

Your Kind Attention:


My name is Brian McCain working with HSBC BANK UK , I was authorized to notify you again that you were listed as a beneficiary to the total sum of $35,600,000.00USD (thirty five million Six hundred thousand Dollars) in the codicil and last testament of the deceased. (Name now withheld since this is our second letter to you).I contacted you because you bear the same surname with the late client therefore you can be present as the beneficiary/Next of kin to the inheritance of the late client.
I therefore reckoned that you can receive these funds as you are qualified by your surname name identity.
All the legal document will be processed in your name after I receive a reply from you that we can work together in this
deal, so I request that you forward to me the following information:

Your three names in full:
Your current telephone and fax number:
Your address:

With your details the Attorney will be able to file in all the necessary documents at the high court probate division for the release of this sum of money to you without any delay.
You are entitled to 50% of these money while I will also take 50%, Note that this funds will be delivered to you In United Kingdom in person OR by Bank wire transfer, depending on the mode you choose to receive the funds.
Please get back to me for more information.



Regards,
Brian McCain.

Monday, March 07, 2011

Just Another Lousy Scam

Do you hate receiving scams? I do to. It doesn't matter how, by phone, by snail mail, by email, I hate them all. Here is the most recent scam I received via email.

fromMr Brian McCain
reply-tobmccain@w.cn
to
dateMon, Mar 7, 2011 at 12:10 PM
subjectImportant Notice
signed-byyahoo.com
ATTENTION PLEASE:

We are working as the fiduciary agent with CITI FINANCIAL SERVICES UK and we wish to notify you again that you were listed as a beneficiary to the total sum of 10,600,000.00GBP (ten million Six hundred thousand British pounds) in the codicil and last testament of the deceased. (Name now withheld since this is our second letter to you).I contacted you because you bear the same surname with the late client therefore you can be present as the beneficiary/Next of kin to the inheritance of the late client.

I therefore reckoned that you can receive these funds as you are qualified by your surname name identity. All the legal document will be process in your name after I receive a reply from you that we can work together in this deal, so I request that you forward to me the following information:


Your three names in full:

Your current telephone and fax number:

Your address:

With your details the Attorney will be able to file in all the necessary documents at the high court probate division for the release of this sum of money to you without any delay.

You are entitle to 50% of this money while I will also take 50%, Note that this funds will be deliver to you In United Kingdom in person OR by Bank wire transfer, depending on the mode you decide to receive the funds.


Please get back to me at My private email address : bmccain@w.cn kindly get back to me for more information.

Kind Regards
Mr. Brian McCain


For all you scam scum out there, go crawl back into the hole you came from and leave the rest of us alone. I am going to start posting all the scams I get in an attempt to expose as many as possible. Maybe that will drive some scammers out of business. I doubt it but it is worth a try.

Tuesday, November 16, 2010

Crazy Java

This is insane! Below is one command line that I found while running
the process status command on one of our RHEL servers. Never in my
life have I ever seen a command line so long that was not part of a
joke or contest. This is just one more reason not to like Java. Here
it is:


4 S root 13773 13753 0 75 0 - 92863 - Nov15 ?
00:08:58 /opt/j2sdk1.4.2_18/jre/bin/java -cp
/opt/AdventNet/WebNMS/classes:/opt/AdventNet/WebNMS/classes/AdventNetSUMClient.jar:/opt/AdventNet/WebNMS/classes/AdventNetUpdateManagerInstaller.jar:/opt/AdventNet/WebNMS/classes/AdventNetSUMServer.jar::/opt/AdventNet/WebNMS/classes/AdventNetSnmp.jar:/opt/AdventNet/WebNMS/classes/SNMPDebugger.jar:/opt/AdventNet/WebNMS/classes/AdventNetSAS.jar:/opt/AdventNet/WebNMS/classes/jaxp.jar:/opt/AdventNet/WebNMS/classes/crimson.jar:/opt/AdventNet/WebNMS/classes/xalan.jar:/opt/AdventNet/WebNMS/classes/Mail.jar:/opt/AdventNet/WebNMS/classes/activation.jar:/opt/AdventNet/WebNMS/classes/AdventNetNPrevalent.jar:/opt/AdventNet/WebNMS/classes/bsh-1.2b3.jar:/opt/AdventNet/WebNMS/classes/debugger.jar:/opt/AdventNet/WebNMS/classes/ManagementServer.jar::/opt/AdventNet/WebNMS/apache/tomcat/common/lib/servlet-api.jar:/opt/AdventNet/WebNMS/apache/tomcat/bin/bootstrap.jar:/opt/AdventNet/WebNMS/apache/tomcat/common/lib/jsp-ap
i.jar:/opt/j2sdk1.4.2_18/jre/lib/tools.jar:/opt/sybase/shared/jConnect-5_5/classes/jconn2.jar::/opt/AdventNet/WebNMS/classes/Adv
entNetTftp.jar:/opt/AdventNet/WebNMS/classes/AdventNetCLI.jar:/opt/AdventNet/WebNMS/classes/AdventNetCLIClient.jar:/opt/AdventNet/WebNMS/classes/AdventNetJta.jar:/opt/AdventNet/WebNMS/classes/jta.jar:/opt/AdventNet/WebNMS/classes/AdventNetSnmpDistributedAPI.jar:/opt/AdventNet/WebNMS/classes/JimiProClasses.zip:/opt/AdventNet/WebNMS/classes/jfreechart.jar:/opt/AdventNet/WebNMS/classes/jcommon.jar::/opt/AdventNet/WebNMS:/opt/AdventNet/WebNMS/classes/ftp.jar:/opt/AdventNet/WebNMS/classes/AdventNetUI.jar:/opt/AdventNet/WebNMS/classes/log4j.jar:/opt/AdventNet/WebNMS/classes/j2ssh-core.jar:/opt/AdventNet/WebNMS/classes/j2ssh-common.jar:/opt/AdventNet/WebNMS/classes/commons-logging.jar:/opt/AdventNet/WebNMS/classes/hdmserver.jar:/opt/AdventNet/WebNMS/classes/sdk/sdm
sdk.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1Tools.jar:/opt/AdventNet/WebNMS/classes/AdventNetSnmpAgent.jar:/opt/AdventNet/WebNMS/classes/xmojo.jar:/opt/AdventNet/WebNMS/classes/AdventNetWebNmsAgent.jar:/opt/AdventNet/WebNMS/classes/AdventNetJmxAgent.jar:/opt/AdventNet/WebNMS/classes/AdventNetARUtils.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1Agent.jar
-Dsdm.homedir=/home/sdm -Dsun.net.inetaddr.ttl=0
-Djava.awt.headless=true
-Dcatalina.home=/opt/AdventNet/WebNMS/apache/tomcat
-Dmysql.home=/opt/AdventNet/WebNMS/mysql -Dwebserver.port=9090
-Dresource_check=9090,8009,8005
-Dwebserver.rootdir=/opt/AdventNet/WebNMS/apache
-Djava.rmi.server.codebase="file:////opt/AdventNet/WebNMS/classes/
file:////opt/AdventNet/WebNMS/classes/ManagementServer.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetTftp.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetCLI.jar
file:////opt/AdventNet/WebNMS/classes/xmojo.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetSnmp.jar
file:////opt/AdventNet/WebNMS/classes/SNMPDebugger.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetJmxAgent.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetARUtils.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetTL1Agent.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetSAS.jar
file:////opt/AdventNet/WebNMS/classes/jta.jar
file:////opt/AdventNet/WebNMS/classes/hdmserver.jar
file:////opt/AdventNet/WebNMS/classes/sdk/sdmsdk.jar"
-Djava.security.policy=/opt/AdventNet/WebNMS/apache/tomcat/conf/catalina.p
olicy -mx100m com.motorola.webnms.common.server.init.SDMMain
NMS_BE_FAILOVER false NMS_BE_PORT 2000 ROOT_DIR /opt/AdventNet/WebNMS
NATIVE_PING true