Reviewing host companies – Which one is more secure?

Posted in bluehost, dreamhost, godaddy, netsol, review, security on September 2nd, 2010 by fseek – Be the first to comment

There are many hosting companies out there and many articles reviewing them. However, I am yet to see a review that includes security as their primary focus. What is the most secure (shared) hosting company out there? Which one should you use if you really care about security?

**Note that for this article, I am focusing on shared hosting, not dedicated or virtual servers.

Security is hard to measure, but we can choose a good metric to evaluate it: Google safe browsing. Google reports for each hosting company how many sites are blacklisted (for hosting malware, virus, phishing, etc) and we can tell a lot about the company by looking at it.

Companies evaluated: Godaddy, Network Solutions, Bluehost, DreamHost, Rackspace and Media Temple.

The winner: Network Solutions. Netsol had some serious security issues in the past, but it looks like they got their things right. Only 1% of their sites were blacklisted in the last 90 days, and only 0.04% distributed malware.

The loser(s): Media Temple and Rackspace. They really shocked me. 21% of the sites hosted at Rackspace and 18% of the sites hosted at (mt) got hacked and blacklisted in the last 90 days. That’s very bad news for their customers. It also means that somehow their infrastructure got hacked (even if they deny it). Hopefully they will get their things fixed soon, but right now, they are not recommended for anyone that cares about security.

Results:

#1- Network Solutions (most safe)
Blacklisted: 1.38%
Distributing malware: 0.04%

Of the 65257 site(s) we tested on this network over the past 90 days, 907 site(s) served content that resulted in malicious software being downloaded and installed without user consent.

ref

#2 – GoDaddy (close second place)
Blacklisted: 2.06%
Distributing malware: 0.16%

Of the 591259 site(s) we tested on this network over the past 90 days, 12204 site(s) served content that resulted in malicious software being downloaded and installed without user consent.

ref

#3 – DreamHost (technical tie for third)
Blacklisted: 3.26%
Distributing malware: 0.14%
ref

#3 – Bluehost (technical tie for third)
Blacklisted: 3.18%
Distributing malware: 0.29%

ref

#5 – Media Temple
Blacklisted: 18%
Distributing malware: 0.45%

Of the 64010 site(s) we tested on this network over the past 90 days, 11582 site(s) served content that resulted in malicious software being downloaded and installed without user consent.

ref

#6 – Rackspace (shame medal)
Blacklisted: 21%

Of the 13121 site(s) we tested on this network over the past 90 days, 2770 site(s) served content that resulted in malicious software being downloaded and installed without user consent.

That’s it. Any comments, or suggestions let us know. If you want us to add another hosting company, just mention them in the comments and we will see how they are doing in terms of security.

Using memcached to share PHP sessions

Posted in apache, memcached, php on July 29th, 2010 by fseek – Be the first to comment

This tutorial explains how to install and configure memcached to share PHP sessions across multiple servers (all running CentOS).

One of my sites was outgrowing the cheap VPS server that we were paying for it. Instead of adding more memory/CPU, we decided to add more servers to the equation, sharing the load between them.

To do that, we started to use memcached. Memcached is very simple to use and install and is easy to integrate with PHP. Let’s get to work!

1- Installing memcached.

Memcached has some prebuilt packages for Ubuntu, but none that I could find the CentOS. Because of that, I had to install it manually from the source. It is simple as well, just follow these steps:

1.0 – Installing pre-requisites:

# yum install libevent-devel.i386
# yum install php-pecl-memcache.i386

1.1-Downloading:

# wget “http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz”
# tar -zxvf memcached-1.4.5.tar.gz
# cd memcached-1.4.5

1.2-Compiling

# ./configure
# ./make && make test
# ./make install

1.3- Running it

# /usr/sbin/useradd memcached
# /usr/local/bin/memcached -d -u memcached

You see that we installed it at /usr/local/bin and created a restricted user for it. Now you should have memcached running. Just run “netstat -tanep” to check.

2- Configuring PHP

2.1 – Via php.ini

If you have access to the php.ini (like we had in one of our servers), just add the following to it:

session.save_handler = memcache
session.save_path=”tcp://serverA:11211″

After restarting Apache, PHP will use memcached that we installed on the “serverA”. That’s all.

2.2 – Via modifications in the php scripts

If you can’t modify your php.ini, add the following to your php scripts:

ini_set(’session.save_handler’, “memcache”);
ini_set(’session.save_path’, “tcp://serverA:11211″);

That’s it as well. If you are having problems with the sessions, make sure to use the same session name across servers:

ini_set(’session.cookie_domain’, “.domain.com”);
session_set_cookie_params(0, ‘/’, ‘.domain.com’);
session_name(“SESSIONX”);
session_start();

That’s it. Easy, no?

GPL and the Wordpress x Thesis theme issue

Posted in licenses, wordpress on July 15th, 2010 by fseek – 10 Comments

Quick update: It seems that Thesis is actually using parts of the GPL Wordpress code. I don’t have access to the code now, but if they are using, then Matt is right and Thesis is violating the GPL. If they are not using Wordpress code (just the API calls), then my argument remains.

I am hearing a lot about the dispute between Matt Mullenweg (from Wordpress) and Chris Pearson (from the Thesis theme).

You can listen/read about the dispute here:http://mixergy.com/chris-pearson-matt-mullenweg/

The issue is that Matt (and a big part of the open source/Wordpress community) thinks that themes should follow the same license as Wordpress itself (GPL), while Chris thinks he can use any license he wants.

There is one big thing about this debate that most people are missing: The issue is not about the GPL or about what Wordpress thinks, but about what a derivative works means and if a theme is a derivative work or not. That’s what the GPL says:

These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.
But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

 

If Thesis is not a derivative work from Wordpress, it doesn’t have to follow the same license as Wordpress. Linux modules doesn’t have to be under the GPL just because Linux itself is licensed under it (in fact, there is many closed-source Linux modules out there). If a software just uses a public API (which could be considered the same as executing commands on the terminal), it is not a derivative work. It merely integrates with that software.

A few facts:

1-Thesis do not include any software from Wordpress.
2-Thesis do not distributes any part of Wordpress.
3-The code is based on their open/public API, used to integrate the Theme with Wordpress.

How can that be different from me running a command on my bash terminal or using Linux? Nothing.

Also, in the interview, Matt mentioned that “GPL won” a few cases against Cisco (and other big companies), but in none of the cases so far the dispute was over the slim line of a derivative work. They were using and selling an open source software and not following the license. Different then Thesis that does not distributes Wordpress.

Yes, you can see that I agree with Chris on this issue. I don’t know him or ever used the Thesis theme. I am big open source fan, but we have to be fair.

The 1000 most-visited sites on the web (by Google)

Posted in google on May 28th, 2010 by fseek – 3 Comments

There is a bunch of lists of the top web sites in the world, but I don’t think any of them are very accurate.

Just today I learned that Google released their own list with the top 1000 most visited sites on the web:

http://www.google.com/adplanner/static/top1000/

It is meant for advertisers, but interesting to everyone else. The #1 is facebook, with 540,000,000 unique visitors. Wordpress.com is #12, bit.ly is there (#76), techcrunch (#750), and many other sites.

Full list:

  1. http://facebook.com
  2. http://yahoo.com
  3. http://live.com
  4. http://wikipedia.org
  5. http://msn.com
  6. http://microsoft.com
  7. http://blogspot.com
  8. http://baidu.com
  9. http://qq.com
  10. http://mozilla.com
  11. http://sina.com.cn
  12. http://wordpress.com
  13. http://bing.com
  14. http://adobe.com
  15. http://163.com
  16. http://taobao.com
  17. http://soso.com
  18. http://twitter.com
  19. http://youku.com
  20. http://ask.com
  21. http://sohu.com
  22. http://amazon.com
  23. http://windows.com
  24. http://ebay.com
  25. http://yahoo.co.jp
  26. http://myspace.com
  27. http://apple.com
  28. http://tudou.com
  29. http://conduit.com
  30. http://hotmail.com
  31. http://flickr.com
  32. http://photobucket.com
  33. http://tianya.cn
  34. http://about.com
  35. http://cnet.com
  36. http://hao123.com
  37. http://iefxz.com
  38. http://xunlei.com
  39. http://paypal.com
  40. http://rapidshare.com
  41. http://go.com
  42. http://fc2.com
  43. http://bbc.co.uk
  44. http://imdb.com
  45. http://orkut.com
  46. http://sogou.com
  47. http://56.com
  48. http://aol.com
  49. http://craigslist.org
  50. http://rakuten.co.jp
  51. http://imageshack.us
  52. http://ku6.com
  53. http://blogger.com
  54. http://goo.ne.jp
  55. http://ifeng.com
  56. http://linkedin.com
  57. http://yandex.ru
  58. http://mail.ru
  59. http://partypoker.com
  60. http://megaupload.com
  61. http://answers.com
  62. http://alibaba.com
  63. http://hi5.com
  64. http://cnn.com
  65. http://amazon.co.jp
  66. http://4shared.com
  67. http://ameblo.jp
  68. http://gougou.com
  69. http://skype.com
  70. http://renren.com
  71. http://dailymotion.com
  72. http://naver.com
  73. http://weather.com
  74. http://mozilla.org
  75. http://mediafire.com
  76. http://bit.ly
  77. http://hp.com
  78. http://livedoor.jp
  79. http://ehow.com
  80. http://nifty.com
  81. http://vkontakte.ru
  82. http://alipay.com
  83. http://nytimes.com
  84. http://overture.com
  85. http://sourceforge.net
  86. http://fbcdn.net
  87. http://xtendmedia.com
  88. http://xinhuanet.com
  89. http://wikimedia.org
  90. http://pconline.com.cn
  91. http://daum.net
  92. http://4399.com
  93. http://bankofamerica.com
  94. http://ebay.de
  95. http://uol.com.br
  96. http://filestube.com
  97. http://zol.com.cn
  98. http://mop.com
  99. http://alexa.com
  100. http://biglobe.ne.jp
  101. http://brothersoft.com
  102. http://scribd.com
  103. http://softonic.com
  104. http://mapquest.com
  105. http://dell.com
  106. http://people.com.cn
  107. http://kaixin001.com
  108. http://geocities.jp
  109. http://ebay.co.uk
  110. http://hatena.ne.jp
  111. http://seesaa.net
  112. http://badoo.com
  113. http://megavideo.com
  114. http://126.com
  115. http://paipai.com
  116. http://avg.com
  117. http://pps.tv
  118. http://odnoklassniki.ru
  119. http://free.fr
  120. http://mywebsearch.com
  121. http://infoseek.co.jp
  122. http://zynga.com
  123. http://depositfiles.com
  124. http://metacafe.com
  125. http://chase.com
  126. http://thepiratebay.org
  127. http://kakaku.com
  128. http://cctv.com
  129. http://optmd.com
  130. http://hotfile.com
  131. http://com.com
  132. http://ning.com
  133. http://ocn.ne.jp
  134. http://vk.com
  135. http://game2.com.cn
  136. http://youdao.com
  137. http://getpersonas.com
  138. http://tripadvisor.com
  139. http://nate.com
  140. http://livejournal.com
  141. http://soufun.com
  142. http://zedo.com
  143. http://browserchoice.eu
  144. http://thefreedictionary.com
  145. http://2ch.net
  146. http://tinypic.com
  147. http://java.com
  148. http://narod.ru
  149. http://xici.net
  150. http://walmart.com
  151. http://114la.com
  152. http://joy.cn
  153. http://addthis.com
  154. http://globo.com
  155. http://360.cn
  156. http://cocolog-nifty.com
  157. http://netflix.com
  158. http://target.com
  159. http://58.com
  160. http://cyworld.com
  161. http://unionsky.cn
  162. http://tom.com
  163. http://amazon.de
  164. http://netlog.com
  165. http://amazon.co.uk
  166. http://reference.com
  167. http://douban.com
  168. http://eastmoney.com
  169. http://livedoor.com
  170. http://hexun.com
  171. http://liveperson.net
  172. http://7k7k.com
  173. http://miniclip.com
  174. http://so-net.ne.jp
  175. http://39.net
  176. http://nih.gov
  177. http://sakura.ne.jp
  178. http://rambler.ru
  179. http://reuters.com
  180. http://kugou.com
  181. http://mixi.jp
  182. http://terra.com.br
  183. http://tripod.com
  184. http://mcafee.com
  185. http://att.com
  186. http://weather.com.cn
  187. http://tagged.com
  188. http://atpanel.com
  189. http://2345.com
  190. http://zing.vn
  191. http://exblog.jp
  192. http://chinamobile.com
  193. http://expedia.com
  194. http://ameba.jp
  195. http://tinyurl.com
  196. http://chinanews.com.cn
  197. http://1stwebgame.com
  198. http://commentcamarche.net
  199. http://allabout.co.jp
  200. http://taringa.net
  201. http://nicovideo.jp
  202. http://domaintools.com
  203. http://jugem.jp
  204. http://excite.co.jp
  205. http://autohome.com.cn
  206. http://typepad.com
  207. http://ezinearticles.com
  208. http://shopping.com
  209. http://deviantart.com
  210. http://gstatic.com
  211. http://marketgid.com
  212. http://ikea.com
  213. http://yomiuri.co.jp
  214. http://maktoob.com
  215. http://web.de
  216. http://informharry.com
  217. http://alimama.com
  218. http://ynet.com
  219. http://softpedia.com
  220. http://china.com
  221. http://6.cn
  222. http://5599.net
  223. http://cntv.cn
  224. http://booking.com
  225. http://orange.fr
  226. http://advmaker.ru
  227. http://verycd.com
  228. http://multiply.com
  229. http://comcast.net
  230. http://ioage.com
  231. http://skycn.com
  232. http://libero.it
  233. http://onet.pl
  234. http://rediff.com
  235. http://americanexpress.com
  236. http://dailymail.co.uk
  237. http://alot.com
  238. http://nasza-klasa.pl
  239. http://pchome.net
  240. http://51job.com
  241. http://okwave.jp
  242. http://70yx.com
  243. http://rakuten.ne.jp
  244. http://nikkeibp.co.jp
  245. http://mlb.com
  246. http://huffingtonpost.com
  247. http://bestbuy.com
  248. http://freelotto.com
  249. http://yahoo.net
  250. http://docstoc.com
  251. http://csdn.net
  252. http://digg.com
  253. http://macromedia.com
  254. http://tumblr.com
  255. http://twitpic.com
  256. http://impress.co.jp
  257. http://foxsports.com
  258. http://wikia.com
  259. http://t-online.de
  260. http://verizonwireless.com
  261. http://justin.tv
  262. http://ups.com
  263. http://wp.pl
  264. http://docin.com
  265. http://pdfqueen.com
  266. http://dangdang.com
  267. http://focus.cn
  268. http://nextag.com
  269. http://ziddu.com
  270. http://hubpages.com
  271. http://kioskea.net
  272. http://babylon.com
  273. http://last.fm
  274. http://wellsfargo.com
  275. http://gmx.net
  276. http://friendster.com
  277. http://wsj.com
  278. http://slideshare.net
  279. http://foxnews.com
  280. http://ganji.com
  281. http://iza.ne.jp
  282. http://51.com
  283. http://metrolyrics.com
  284. http://yesky.com
  285. http://usps.com
  286. http://alisoft.com
  287. http://mainichi.jp
  288. http://irs.gov
  289. http://bigpoint.com
  290. http://china.com.cn
  291. http://iciba.com
  292. http://hulu.com
  293. http://gmarket.co.kr
  294. http://tabelog.com
  295. http://gamespot.com
  296. http://symantec.com
  297. http://nokia.com
  298. http://pcpop.com
  299. http://dion.ne.jp
  300. http://torrentz.com
  301. http://pptv.com
  302. http://telegraph.co.uk
  303. http://duowan.com
  304. http://joins.com
  305. http://wordreference.com
  306. http://peeplo.com
  307. http://ign.com
  308. http://huanqiu.com
  309. http://aweber.com
  310. http://guardian.co.uk
  311. http://samsung.com
  312. http://skyrock.com
  313. http://sun.com
  314. http://the2009.cn
  315. http://musica.com
  316. http://icq.com
  317. http://allegro.pl
  318. http://virgilio.it
  319. http://nhk.or.jp
  320. http://linekong.com
  321. http://hudong.com
  322. http://comcast.com
  323. http://pcauto.com.cn
  324. http://sponichi.co.jp
  325. http://isohunt.com
  326. http://springerlink.com
  327. http://traviangames.com
  328. http://zimbio.com
  329. http://robtex.com
  330. http://wretch.cc
  331. http://japanpost.jp
  332. http://onlinedown.net
  333. http://godaddy.com
  334. http://vimeo.com
  335. http://qidian.com
  336. http://mapion.co.jp
  337. http://washingtonpost.com
  338. http://118114.cn
  339. http://ieaddons.com
  340. http://rockyou.com
  341. http://wikimapia.org
  342. http://jiayuan.com
  343. http://sanspo.com
  344. http://whitepages.com
  345. http://yelp.com
  346. http://real.com
  347. http://bizrate.com
  348. http://formspring.me
  349. http://amazon.cn
  350. http://hc360.com
  351. http://17173.com
  352. http://ineedfile.com
  353. http://360buy.com
  354. http://8684.cn
  355. http://pplive.com
  356. http://over-blog.com
  357. http://baixaki.com.br
  358. http://beemp3.com
  359. http://cnzz.com
  360. http://usatoday.com
  361. http://yahooapis.com
  362. http://tenpay.com
  363. http://asahi.com
  364. http://surveymonkey.com
  365. http://21cn.com
  366. http://nba.com
  367. http://informer.com
  368. http://intuit.com
  369. http://sparkstudios.com
  370. http://letitbit.net
  371. http://plala.or.jp
  372. http://homedepot.com
  373. http://ctrip.com
  374. http://opera.com
  375. http://37cs.com
  376. http://jiji.com
  377. http://ucoz.ru
  378. http://webmd.com
  379. http://sonico.com
  380. http://avast.com
  381. http://linternaute.com
  382. http://letv.com
  383. http://ip138.com
  384. http://careerbuilder.com
  385. http://ibm.com
  386. http://associatedcontent.com
  387. http://gnavi.co.jp
  388. http://rincondelvago.com
  389. http://indiatimes.com
  390. http://ddmap.com
  391. http://veoh.com
  392. http://dtiblog.com
  393. http://zylom.com
  394. http://monografias.com
  395. http://auction.co.kr
  396. http://fedex.com
  397. http://liveinternet.ru
  398. http://koubei.com
  399. http://leboncoin.fr
  400. http://game2.cn
  401. http://suite101.com
  402. http://squidoo.com
  403. http://teacup.com
  404. http://windowslive.com
  405. http://addictinggames.com
  406. http://filehippo.com
  407. http://sdo.com
  408. http://shld.net
  409. http://ustream.tv
  410. http://tistory.com
  411. http://115.com
  412. http://liutilities.com
  413. http://jalan.net
  414. http://webs.com
  415. http://naqigs.com
  416. http://ccb.com.cn
  417. http://it168.com
  418. http://etology.com
  419. http://everesttech.net
  420. http://intelius.com
  421. http://sina.com
  422. http://pomoho.com
  423. http://serving-sys.com
  424. http://sciencedirect.com
  425. http://ccbill.com
  426. http://incredimail.com
  427. http://capitalone.com
  428. http://yellowpages.com
  429. http://geocities.co.jp
  430. http://ebay.it
  431. http://glispa.com
  432. http://hotels.com
  433. http://opendns.com
  434. http://engadget.com
  435. http://chosun.com
  436. http://y8.com
  437. http://ourtoolbar.com
  438. http://oricon.co.jp
  439. http://downloadhelper.net
  440. http://oyunlar1.com
  441. http://vector.co.jp
  442. http://cmbchina.com
  443. http://farmville.com
  444. http://120ask.com
  445. http://chip.de
  446. http://atwiki.jp
  447. http://zhaopin.com
  448. http://unkar.org
  449. http://freeonlinegames.com
  450. http://wordpress.org
  451. http://latimes.com
  452. http://fotolog.com
  453. http://fastbrowsersearch.com
  454. http://mp3raid.com
  455. http://pagesjaunes.fr
  456. http://boston.com
  457. http://mobile.de
  458. http://webry.info
  459. http://5d6d.com
  460. http://aufeminin.com
  461. http://wikihow.com
  462. http://11st.co.kr
  463. http://yaplog.jp
  464. http://passport.net
  465. http://merriam-webster.com
  466. http://itmedia.co.jp
  467. http://cookpad.com
  468. http://mercadolivre.com.br
  469. http://tu.tv
  470. http://wauee.com
  471. http://priceline.com
  472. http://zshare.net
  473. http://cooliris.com
  474. http://qunar.com
  475. http://ryanair.com
  476. http://interia.pl
  477. http://ig.com.br
  478. http://monster.com
  479. http://archive.org
  480. http://alice.it
  481. http://xinmin.cn
  482. http://fixya.com
  483. http://nikkansports.com
  484. http://funshion.com
  485. http://vnet.cn
  486. http://sears.com
  487. http://bild.de
  488. http://ebay.fr
  489. http://iminent.com
  490. http://uploading.com
  491. http://baofeng.com
  492. http://1ting.com
  493. http://macys.com
  494. http://kuwo.cn
  495. http://bitauto.com
  496. http://tiexue.net
  497. http://mpnrs.com
  498. http://nowdownloadall.com
  499. http://southwest.com
  500. http://ce.cn
  501. http://in.com
  502. http://allrecipes.com
  503. http://novoteka.ru
  504. http://travelocity.com
  505. http://people.com
  506. http://timesonline.co.uk
  507. http://dealtime.com
  508. http://ticketmaster.com
  509. http://mtv.com
  510. http://gazeta.pl
  511. http://bin-layer.de
  512. http://9wee.com
  513. http://donga.com
  514. http://lowes.com
  515. http://fanpop.com
  516. http://cnxad.com
  517. http://angelfire.com
  518. http://blackberry.com
  519. http://01net.com
  520. http://wunderground.com
  521. http://news.cn
  522. http://linksynergy.com
  523. http://sapo.pt
  524. http://deviantart.net
  525. http://nydailynews.com
  526. http://mtime.com
  527. http://univision.com
  528. http://sfr.fr
  529. http://winamp.com
  530. http://webshots.com
  531. http://enet.com.cn
  532. http://made-in-china.com
  533. http://constantcontact.com
  534. http://examiner.com
  535. http://pandora.tv
  536. http://abril.com.br
  537. http://indeed.com
  538. http://overstock.com
  539. http://xywy.com
  540. http://gizmodo.com
  541. http://wiktionary.org
  542. http://shinobi.jp
  543. http://pandora.com
  544. http://dianping.com
  545. http://repubblica.it
  546. http://360doc.com
  547. http://duote.com
  548. http://176.com
  549. http://intel.com
  550. http://accountonline.com
  551. http://aibang.com
  552. http://altervista.org
  553. http://rapid-downloads.com
  554. http://xe.com
  555. http://pixnet.net
  556. http://wareseeker.com
  557. http://ebuddy.com
  558. http://radikal.ru
  559. http://webgame.com.cn
  560. http://jcpenney.com
  561. http://armorgames.com
  562. http://information.com
  563. http://downloadcave.com
  564. http://orbitz.com
  565. http://ca.gov
  566. http://zaycev.net
  567. http://imvu.com
  568. http://rian.ru
  569. http://usagc.org
  570. http://metroflog.com
  571. http://medicinenet.com
  572. http://classmates.com
  573. http://windowsmedia.com
  574. http://detik.com
  575. http://mk.co.kr
  576. http://microsofttranslator.com
  577. http://verizon.net
  578. http://cartoonnetwork.com
  579. http://mt.co.kr
  580. http://fangeye.com
  581. http://rr.com
  582. http://fresheye.com
  583. http://sweetim.com
  584. http://stumbleupon.com
  585. http://myvideo.de
  586. http://hotpepper.jp
  587. http://pcgames.com.cn
  588. http://costco.com
  589. http://uploaded.to
  590. http://xiaonei.com
  591. http://24h.com.vn
  592. http://cncmax.cn
  593. http://mafiawars.com
  594. http://priceminister.com
  595. http://w3.org
  596. http://nhaccuatui.com
  597. http://vnexpress.net
  598. http://foxnetworks.com
  599. http://freakshare.net
  600. http://rutracker.org
  601. http://elmundo.es
  602. http://torrentreactor.net
  603. http://best-price.com
  604. http://nasa.gov
  605. http://mdinfo.com
  606. http://limewire.com
  607. http://wer-kennt-wen.de
  608. http://nikkei.com
  609. http://51seer.com
  610. http://gap.com
  611. http://wiley.com
  612. http://time.com
  613. http://elsevier.com
  614. http://howstuffworks.com
  615. http://agame.com
  616. http://che168.com
  617. http://corriere.it
  618. http://xorg.pl
  619. http://wachovia.com
  620. http://thesun.co.uk
  621. http://girlsgogames.com
  622. http://piriform.com
  623. http://chinaren.com
  624. http://rbc.ru
  625. http://spiegel.de
  626. http://tbs.co.jp
  627. http://europa.eu
  628. http://btjunkie.org
  629. http://vancl.com
  630. http://citibank.com
  631. http://clubpenguin.com
  632. http://verizon.com
  633. http://forbes.com
  634. http://huanlang.com
  635. http://delta.com
  636. http://sky.com
  637. http://nikkei.co.jp
  638. http://norton.com
  639. http://rapid4me.com
  640. http://seznam.cz
  641. http://zoosk.com
  642. http://jstor.org
  643. http://19lou.com
  644. http://juegos.com
  645. http://easyjet.com
  646. http://hyves.nl
  647. http://cbsnews.com
  648. http://yoka.com
  649. http://mylife.com
  650. http://jrj.com.cn
  651. http://xmarks.com
  652. http://businessweek.com
  653. http://partypoker.it
  654. http://shop-pro.jp
  655. http://taleo.net
  656. http://dantri.com.vn
  657. http://ovi.com
  658. http://pcworld.com
  659. http://xcar.com.cn
  660. http://chinaz.com
  661. http://nike.com
  662. http://ya.ru
  663. http://picnik.com
  664. http://pchome.com.tw
  665. http://with2.net
  666. http://pogo.com
  667. http://fanbox.com
  668. http://95599.cn
  669. http://evite.com
  670. http://159game.com
  671. http://hankooki.com
  672. http://stayfriends.de
  673. http://mozilla-europe.org
  674. http://gutefrage.net
  675. http://logmein.com
  676. http://break.com
  677. http://paran.com
  678. http://mercadolibre.com.mx
  679. http://wrzuta.pl
  680. http://blogcu.com
  681. http://winzip.com
  682. http://bahn.de
  683. http://topshareware.com
  684. http://acer.com
  685. http://mynet.com
  686. http://urbandictionary.com
  687. http://sanook.com
  688. http://rayfile.com
  689. http://usenet.nl
  690. http://encyclopedia.com
  691. http://imagevenue.com
  692. http://qip.ru
  693. http://discovery.com
  694. http://yam.com
  695. http://265.com
  696. http://mashable.com
  697. http://me.com
  698. http://yandex.ua
  699. http://foodnetwork.com
  700. http://freewebs.com
  701. http://sonyericsson.com
  702. http://61.com
  703. http://articlesbase.com
  704. http://ct10000.com
  705. http://mufg.jp
  706. http://xrea.com
  707. http://chinacars.com
  708. http://cri.cn
  709. http://movies-links.tv
  710. http://match.com
  711. http://blogbus.com
  712. http://livescore.com
  713. http://zhcw.com
  714. http://ebay.com.au
  715. http://istockphoto.com
  716. http://speedtest.net
  717. http://windowslivehelp.com
  718. http://sprint.com
  719. http://superpages.com
  720. http://infospace.com
  721. http://accuweather.com
  722. http://doctissimo.fr
  723. http://openv.com
  724. http://msn.com.cn
  725. http://t-mobile.com
  726. http://tuenti.com
  727. http://tmz.com
  728. http://otto.de
  729. http://gemius.pl
  730. http://shoplocal.com
  731. http://barnesandnoble.com
  732. http://pclady.com.cn
  733. http://ninemsn.com.au
  734. http://wanfangdata.com.cn
  735. http://51fswd.com
  736. http://programas-gratis.net
  737. http://pronto.com
  738. http://baixing.com
  739. http://worldstarhiphop.com
  740. http://yahoo.com.tw
  741. http://cnki.com.cn
  742. http://w3schools.com
  743. http://unlimited-downloads.biz
  744. http://qq163.com
  745. http://carview.co.jp
  746. http://zjol.com.cn
  747. http://bebo.com
  748. http://delicious.com
  749. http://hinet.net
  750. http://buzzle.com
  751. http://schuelervz.net
  752. http://nationalgeographic.com
  753. http://local.com
  754. http://tv.com
  755. http://kaskus.us
  756. http://etsy.com
  757. http://eastday.com
  758. http://shumenol.com
  759. http://sendspace.com
  760. http://citysearch.com
  761. http://zaobao.com
  762. http://ed.gov
  763. http://irctc.co.in
  764. http://downtr.net
  765. http://laredoute.fr
  766. http://playstation.com
  767. http://elpais.com
  768. http://utorrent.com
  769. http://blogmura.com
  770. http://mapbar.com
  771. http://readnovel.com
  772. http://m1905.com
  773. http://marriott.com
  774. http://popeater.com
  775. http://jsoftj.com
  776. http://tweetmeme.com
  777. http://hm.com
  778. http://travelzoo.com
  779. http://torrentdownloads.net
  780. http://izlesene.com
  781. http://studivz.net
  782. http://hilton.com
  783. http://vietbao.vn
  784. http://kayak.com
  785. http://zappos.com
  786. http://realtor.com
  787. http://oadz.com
  788. http://123people.com
  789. http://abchina.com
  790. http://hurra.com
  791. http://slide.com
  792. http://allexperts.com
  793. http://aa.com
  794. http://uuu9.com
  795. http://symantecstore.com
  796. http://cricinfo.com
  797. http://52pk.com
  798. http://go2000.com
  799. http://searchignite.com
  800. http://chinadaily.com.cn
  801. http://newegg.com
  802. http://timeanddate.com
  803. http://direct.gov.uk
  804. http://pctools.com
  805. http://27.cn
  806. http://tgbus.com
  807. http://fc2web.com
  808. http://mozdev.org
  809. http://marca.com
  810. http://udn.com
  811. http://amazon.fr
  812. http://weblio.jp
  813. http://changyou.com
  814. http://daily.co.jp
  815. http://thefind.com
  816. http://nttdocomo.co.jp
  817. http://kohls.com
  818. http://walkerplus.com
  819. http://babycenter.com
  820. http://ow.ly
  821. http://webgame188.com
  822. http://toocle.com
  823. http://webcrawler.com
  824. http://stackoverflow.com
  825. http://ekolay.net
  826. http://kuronekoyamato.co.jp
  827. http://vzw.com
  828. http://buzznet.com
  829. http://wetter.com
  830. http://dospy.com
  831. http://fidelity.com
  832. http://gismeteo.ru
  833. http://ft.com
  834. http://freedownloadscenter.com
  835. http://smarter.co.jp
  836. http://bidders.co.jp
  837. http://tesco.com
  838. http://azlyrics.com
  839. http://legacy.com
  840. http://tf1.fr
  841. http://nhl.com
  842. http://mycom.co.jp
  843. http://rtl.de
  844. http://hankyung.com
  845. http://edeng.cn
  846. http://immobilienscout24.de
  847. http://gigazine.net
  848. http://marketwatch.com
  849. http://xuite.net
  850. http://techcrunch.com
  851. http://inowdownload.com
  852. http://kooora.com
  853. http://zdnet.com
  854. http://causes.com
  855. http://imagebam.com
  856. http://thesaurus.com
  857. http://boc.cn
  858. http://kapook.com
  859. http://argos.co.uk
  860. http://kp.ru
  861. http://uniblue.com
  862. http://boosj.com
  863. http://meebo.com
  864. http://redtram.com
  865. http://qianlong.com
  866. http://top100.cn
  867. http://ancestry.com
  868. http://pricegrabber.com
  869. http://pkr.com
  870. http://php.net
  871. http://ea.com
  872. http://rutube.ru
  873. http://qingdaonews.com
  874. http://sbs.co.kr
  875. http://shvoong.com
  876. http://ilike.com
  877. http://kaspersky.com
  878. http://bigfishgames.com
  879. http://xing.com
  880. http://taotao.com
  881. http://sing365.com
  882. http://51mole.com
  883. http://tweetphoto.com
  884. http://bloomberg.com
  885. http://newhua.com
  886. http://2000y.net
  887. http://asiae.co.kr
  888. http://aolnews.com
  889. http://bdr130.net
  890. http://picktorrent.com
  891. http://pixmania.com
  892. http://wired.com
  893. http://juchang.com
  894. http://vatgia.com
  895. http://divx.com
  896. http://ana.co.jp
  897. http://fandango.com
  898. http://seoul.co.kr
  899. http://appspot.com
  900. http://fetion.com.cn
  901. http://bandoo.com
  902. http://city-data.com
  903. http://wisegeek.com
  904. http://ocnk.net
  905. http://hunantv.com
  906. http://kijiji.ca
  907. http://cnki.net
  908. http://panasonic.jp
  909. http://allocine.fr
  910. http://chinahr.com
  911. http://emagister.com
  912. http://manta.com
  913. http://rayli.com.cn
  914. http://asahi-net.or.jp
  915. http://dreamstime.com
  916. http://lastminute.com
  917. http://nick.com
  918. http://deezer.com
  919. http://bohelady.com
  920. http://esmas.com
  921. http://vente-privee.com
  922. http://lyricsmode.com
  923. http://findarticles.com
  924. http://47news.jp
  925. http://staples.com
  926. http://songs.pk
  927. http://bomb-mp3.com
  928. http://cqvip.com
  929. http://autoscout24.de
  930. http://victoriassecret.com
  931. http://acrobat.com
  932. http://national-lottery.co.uk
  933. http://mayoclinic.com
  934. http://zillow.com
  935. http://onemanga.com
  936. http://playsushi.com
  937. http://answerbag.com
  938. http://ukr.net
  939. http://citicards.com
  940. http://kaixin.com
  941. http://ju51.com
  942. http://kbs.co.kr
  943. http://toysrus.com
  944. http://freshwap.net
  945. http://vertor.com
  946. http://mahalo.com
  947. http://hurriyet.com.tr
  948. http://mercadolibre.com.ar
  949. http://bearshare.com
  950. http://zdface.com
  951. http://shangdu.com
  952. http://barbie.com
  953. http://interpark.com
  954. http://mizuhobank.co.jp
  955. http://hotwire.com
  956. http://kompas.com
  957. http://1link.ru
  958. http://rising.com.cn
  959. http://blurtit.com
  960. http://newgrounds.com
  961. http://mundoanuncio.com
  962. http://marktplaats.nl
  963. http://ringtonematcher.com
  964. http://goal.com
  965. http://xs8.cn
  966. http://mthai.com
  967. http://clarin.com
  968. http://openoffice.org
  969. http://ciao.de
  970. http://jal.co.jp
  971. http://lyrics007.com
  972. http://ovguide.com
  973. http://ultimate-guitar.com
  974. http://mobile01.com
  975. http://vdisk.cn
  976. http://buy.com
  977. http://computerbild.de
  978. http://usgs.gov
  979. http://te3p.com
  980. http://cooks.com
  981. http://mcssl.com
  982. http://reverso.net
  983. http://merchantcircle.com
  984. http://tiancity.com
  985. http://dropbox.com
  986. http://yfrog.com
  987. http://tiscali.it
  988. http://xbox.com
  989. http://easy-share.com
  990. http://autotrader.com
  991. http://gotomeeting.com
  992. http://download-gate.com
  993. http://nfl.com
  994. http://experts-exchange.com
  995. http://cool.ne.jp
  996. http://fx120.net
  997. http://ntv.co.jp
  998. http://meinvz.net
  999. http://king.com
  1000. http://virginmedia.com

Duck Duck Go – My new search engine

Posted in duckduckgo, find, tips on May 22nd, 2010 by fseek – 13 Comments

I was lately looking for a better search engine to use (can’t stand Google anymore) and I recently found one that I really liked: http://duckduckgo.com. Yes, funny name, but they have the features that I was looking for:

  • Privacy -Your searches are private! I don’t need to say more
  • It looks at Sourceforge and other software repositories and show its results first (perfect for FOSS users).
  • Good categorization
  • Awesome for searching C functions! (details later)

Awesome, no? And no, I am not making any money from them, I just loved the product. Now, to the searches. Let’s compare a few of them with Google.

Let’s search first for “tux+racer” on Duck Duck go (I was looking for it this morning):duck duck go

Very good description from Wikipedia at the top, describes what Tux is and categorizes it properly under the open source video game. In the “feeling ducky”, it sends to the download page. Perfect! Now search for it on Google… It shows the right results, but without any good description and too much cluttered.

Now, that’s what I loved. Search for “fseek” (or any C function). DDG beats Google easily…It shows that “fseek is a C function belonging to the ANSI C standard library, and included in the file stdio.h”, links to the C++ library reference, and if you go to their categorization, you will see everything about related C functions. Awesome! On Google, they just point a bunch of man pages…
Duck Duck and Go
That’s what sold me. If you like it too, they even have a spread page if you want to help them out: http://duckduckgo.com/spread.html

Finding lasted modifies files on Linux

Posted in find, linux, tips on May 13th, 2010 by fseek – Be the first to comment

Looking for a file that you just modified or downloaded? That’s the easy way:

1- Files modified in the last 5 minutes:

$ find ./ -type f -mmin -5

 
2- Files modified in the last hour:

$ find ./ -type f -mmin -60

 
3- Files modified in the last day:

$ find ./ -type f -mtime -1

 
If you want to process them and they have spaces in the name, use:

$ find ./ -type f -name “*.txt” -mtime -1 -print0 | xargs -0 cat

 
This one will cat all text files modified on the last day (with spaces or not in the name).

Removing empty lines from the top of a file

Posted in linux, tips on May 4th, 2010 by fseek – Be the first to comment

Nice one liner:

find ./ -type f | sed -i ‘/./,$!d’

Recovering deleted files on Linux

Posted in linux, tips on April 28th, 2010 by fseek – 5 Comments

Did you just rm’ed -rf a file by mistake? Well, that just happened to me as well.

I spent the whole day working on a PDF document and decided to forward it to a co-worker for review. Since the PDF was quite big, I gunzipped it:

$ gzip work-temp.pdf

Then I realized that my co-worker uses Windows, so I had to zip instead of the gzip. That’s what I did:

$ rm work-temp.pdf.gz
$ zip work-temp.pdf
zip warning: name not matched: work-temp.pdf

Uh-oh. I forgot that gzip deletes the original file. Crap!

To recover my file, I used my big friend “foremost”, a file recoverer for Linux. To install on my Ubuntu box, I did:

# apt-get install foremost

To recover my files, I ran foremost, specifying my partition (/dev/sdb2) and the file type (PDF):

# foremost -s 100 -t pdf -i /dev/sdb2
Processing: /dev/sdb2
|**********************************|

Once it was done, we had all the PDF files it could recover at /root/output/pdf. Easy and simple!

Note, that it will not recover the original file names. So all the PDF files (or whatever file type you were looking for) will be stored as /root/output/pdf/12345.pdf, /root/output/pdf/123456.pdf, etc). You will have to check each one to find the one you wanted.

Mail function missing – Wordpress error

Posted in tips, wordpress on April 27th, 2010 by fseek – 1 Comment

Are you getting this error when trying to reset a password (or send an email) on Wordpress?

The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function…

If you are on a VPS/Private server, it probably means that you don’t have mail/sendmail installed. To fix it, run as root:

# yum install mailx
# yum install sendmail

If you are not on a VPS, call your hosting company or check your php.ini to see if the mail function is disabled:

disable_functions = mail

If it is, disable the “mail” from there…

0sirys was here and also is a fucking gay

Posted in funny, security on April 20th, 2010 by fseek – Be the first to comment

Someone was trying an RFI (remote file inclusion) attack against my server today.

They were trying to inject the following file: http://[site].com/modules/id.txt into my site. I went to check it out and it looks like the file was hacked a few times.

In the top of it, someone added:

echo “Osirys”;
$un = @ php_uname();
$id1 = system(id);

A bit after, a funny haxor humor:

echo “0sirys was here and also is a fucking gay..“;
echo “uname -a: $un”

I laughed. You can read more about those RFI attacks here.