Written by 正冰 on 2011, December 13, 10:35 AM
买特网(www.360mart.com)是出了名的慢,一直在模仿京东,包括域名,但是却从未能超越它……
以前在买特网买过硬盘一个,拖了一周才给发货,伤不起,有木有?!
现在好了,出来一个为为网(www.homevv.com)与淘宝合作,还在Google Adwords上砸了蛮多钱做广告的(甚至包括正冰这个博客都显示它的广告,当然这个跟我最近不断访问它网站也有关系)。
好啦,接下来说下在这家网站的购物经历,真够悲剧的。
6号晚上(2011-12-06 23:54)单子买了个路由器(TP-LINK TL-WR941N 300M 无线宽带路由器),显示价格229元,用了公用券weiwei减22,再用去一张叠加券减20(淘宝5.4元购入),最终消费192.4元(这个价格相比较别的商家而且开发票已经非常给力)
想着快递运输里说明浙江用户当天17点前下单可以发货(预计7号会发出),结果到了8号仍未发出,找在线客服,居然还是个用拼音输入法,不断打错别字的,被告知“长时间未发货为缺货,需要下午联系采购”,心里觉着遇到了第二个买特网了!马上搜索了下,在EGOU上发现有很多人遇到发货延迟情况。
我明了:发大额抵价券,占用用户资金,长时间不发货……(典型的“买特网”兄弟)
8号当日,我致电为为网4006-698-698,被告知会询问过采购后给予答复,当天下午,接到02196806电话告知该商品将在9号(周五)入库,尽快发出。
10号晚上查询该商品未发出,11号早上该商品送至中通快递,12号中午收到(产品拣货是10号,开票时间为10号)。
经过这次在为为网的购物,我想说的是:
- 这是我第一次在为为网购物,体验非常差,很难让我再来进行第二次购物。
- 又一家典型的“买特网”(不了解买特网的童鞋百度一下)
- 不专业客服说出的不专业的话:“采购现在不在 下午可能会在”,尼玛什么叫“可能”,上班都这么随意涣散?难道不能直接电话联系一下?
- 你们QQ客服的签名是“为您所想,为您所求”,我只能说:靠!
- 没有货的产品,请礼貌地显示缺货,不要在那里让大家下单了却没及时收货,然后等客户联系了才说没有货,自己做大爷。(我只能说艹你大爷)
- 无论这次购物最终如何,为为网将同买特网一样,至少进入我的购物“黑名单”,其他童鞋请参考!
以上可能为个例,请勿对号入座,个人实际案例仅供参考。因为该商家优惠额度较大,如果有童鞋要买不急于用的东西可以考虑尝试下……
Filed under: 网络观察
0 Comments
0 Trackbacks
283 Views
Written by 正冰 on 2011, November 25, 11:54 AM
以前有收到邮件,一般都是说有一笔巨额遗产免费赠送给你,让你与他取得联系,这种骗术已经有点老掉牙了。类似案例见《男子收到国际诈骗信 邀其接受400万美元遗产》
而最近正冰居然收到了新式诈骗邮件(其实也不新,都在变而已),类似案例见《从非洲来的邮件--女大学生收到国际诈骗信》
下面开始简单叙述正冰收到诈骗信的整个过程:
- 11月4日收到来自lindyKumikombeh@yahoo.com的邮件(主题为:HELLO)说想与我交个朋友,我看邮件写得像模像样,也不像robot发送的,就顺手回了一个。
- 11月23日无意间发现她在11月6日已经回复了我的邮件,洋洋洒洒一大片文字,主题为:about me,内容就是介绍她现在的情况,附带3张照片。具体内容见附1。根据她的邮件我也回了个mail,扯淡一番。
- 11月25日在想那人是不是又那么积极地回邮件了,就去看了下邮箱,果不其然,她已经在11月24日就回复了邮件,这次更加夸张,直接让我在一个约定的时间里给她打电话(+221777512477),还说会把一笔多达750万美元的25%赠送给我。邮件主题:please help me。具体内容见附2。我心里想,750W*.25*6.4=1200W人民币,还有比中500W的概率还高的事情?顺手Google了一下这个号码,显然已经被登记在骗子列表中了,此刻我已经确信这是骗子无疑了,然后我便回了一个邮件给她:“我通过google搜索+221777512477是一个骗子电话,你做何解释?”你懂得,估计不会有下文了,难道她还会积极地回复我说这不是骗局?哈哈!
整个过程讲完了,下面讲讲这次亲身体验的案例中需要注意的地方:
- 骗子已经从原来直接说给你遗产转变成先以交朋友的想法跟你套近乎,继而告诉你她的近况然后直接一刀切说让你帮助她,她会把巨额财富给你。
- 这类骗子一般邮件里常用的词语就是death certificate(死亡证明书)、+221777512477 (Senegal, probably a prepaid mobile phone)
遇到类似正冰这种情况请直接不要理会,有兴趣的可以做以下2点操作:
- 去google搜索关键词,比如发送者邮箱(一般来说对方会骗一次换一次)、对方提供的号码、对方所说的地方。
- 去http://www.scamomatic.com/把邮件粘贴进去,检查是不是诈骗邮件,另外你所提交的信息还能够帮助到更多的人。
我把附2的内容放到scamomatic检测,结果如下:
This email looks like an orphan scam.
The following phrases should put you on alert:
"i will like you to ":
a common phrase found in 419 scams
"death certificate":
this phrase is often used in inheritance scams such as next of kin or orphan scams.
This email lists mobile phone numbers. Use of such numbers is typical for scams because they allow criminals to conceal their true location. They can receive calls in an Internet cafe from where they send you emails, while pretending to be in some office.
+221777512477 (Senegal, probably a prepaid mobile phone)
Thank you for using Scam-O-Matic. If you found the results from this check useful then please mention www.scamomatic.com to your friends, family and co-workers, so they can also use it to check out and report suspicious emails that may have been sent to them by criminals.
Once you have received any scam emails, it means the scammers know your email address. You will probably receive further scam emails. Therefore we recommend that you bookmark www.scamomatic.com (Ctrl+D) in your web browser for when you may need it again.
DISCLAIMER: While we try to give appropriate advice in the greatest number of cases, we must decline responsibilty for any mistakes that may occur. We encourage you to do your own research on the internet (for example, search on Google) and using other information sources. Get informed, talk to people you trust (your family, friends, your bank, local police) and then act accordingly.
翻译成中文:
这封电子邮件看起来像一个孤儿的骗局。
以下短语应该放在提醒您:
“我会想你”:
419诈骗发现一个共同的短语
“死亡证明书”:
这句话经常被用来在继承诈骗,如近亲或孤儿诈骗。
此电子邮件列出了手机号码。使用这样的数字是典型的为诈骗,因为它们允许犯罪分子隐瞒自己的真实位置。他们可以从网吧,在那里他们会给您发电子邮件接收呼叫,同时假装在一些办公室。
221777512477(塞内加尔,可能是预付费手机)
感谢您使用诈骗- O - MATIC。如果您发现从这个检查非常有用的结果,然后请注明www.scamomatic.com给你的朋友,家人和同事,让他们也可以使用它来检查和报告可疑的电子邮件可能已被犯罪分子发送给他们。
一旦你收到任何诈骗邮件,这意味着诈骗者知道您的电子邮件地址。你可能会得到进一步的诈骗电子邮件。因此,我们建议您在您的网页浏览器的书签时,您可能需要再次www.scamomatic.com(按Ctrl + D)。
免责声明:虽然我们竭尽所能给予适当的意见数量最多的案件,我们必须拒绝任何可能发生的错误responsibilty。我们鼓励你在互联网上做自己的研究(例如,在Google上搜索)和使用其他来源的信息。了解详情,与人交谈,你信任你的家人,朋友,您的银行,当地警方,然后采取相应的行动。
附1:
Dear,
How are you today?,i hope fine. Mine is not very good due to my suffering condition here in Dakar Senegal. I'm Miss lindy Kumikombeh,am from a famiy of three and am the eldest,I am 24years old, single girl and never married, 5 feet tall, 60 kg weight, black hair and brown eyes, I am from libya but presently i am residing in Church Camp here in Senegal, as a result of civil war that was fought in my country which made me to lost my both parents during this mortal Political War that kills thousands of innocent souls in Libya. my family was among the first target of the rebels, because my late father Dr Robert Kumikombeh has a successful company, he was the Chairman and the managing director Kumikombeh Agricultural Industrial Company Ltd in tripole the capital city of my country,,and also a politician supporting the current government,so when the mortal political crisis were about to start due to my father was a politician who was supporting the current government during that time in my country all members of my family was murdered in cold blood and our family home was set ablaze. I was lucky to escaped death.
Is just me and my junior brother that is alive now and we managed to make our way to Senegal where we are staying now and never pray or think about our legs to step in that bloody country again.
I would like to know more about you, tell me your hobbies and what are you doing presently? I will tell you more about me in my next email. i attach my picture for you,and i will be looking forward to hear from you soon.send to me yours picture as well
Yours
lindy
附2:
Hello my dear
How are you today? i hope fine thanks for your mail and i am glad to know you. Dear like you know, i am living in the Church camp here in Dakar-Senegal. In this camp, it's just like one staying in a lonely zone like prison and i hope by God's grace, I will come out here soon since i met some one like you because i don't have any relatives now whom i can go to . so i am living in the refugee camp female's hostel as the camp has two hostels one for boys the other for women. Please try to call me by 2.pm GMT time in the afternoon tomorrow.The Church camp telephone number is: (+221777512477) when you call tell Rev Patric Kotor that you want to speak with Mis lindy so that he will send for me in the hostel. Please call me tomorrow i will love to hear your voice.
As a refugee here, I don't have any right or privileged to have an account here because it is against the law of this country and also i don't like this country for anything that's why i contact you. I will like to continue with my studies in Medical department in a good university in your country because i only attended my first year in University of Libya before the tragic incident that led to the death of my parents took place. Please listen to this, I have my late father's statement of account and death certificate here with me which i will send to you later, because when my father was alive he deposited some amount of money in a leading bank in Dakar Senegal, which he used my name as the next of kin and the amount is 7.5Million USD seven Million five Hundred Thousand Dollars). So i will like you to help me transfer this money to your account and from it you can send me some money for me to get my travelling documents and air ticket to come over and meet you in your country after the transfer of the money to your account. I keep this secret to people in the camp here and no one knows about it, except you now. So in the light of above i will like you to keep it to yourself and don't tell it to anyone, I will like you to send me your below information for me to know you more and know whom the bank is going to transfer my inheritance to his account.
Below here is what i need from you so that I will give you the bank contact information:
(1) Your Full name
(2) Phone Numbers
(3) Occupation
(4) House or office address.
I will give you 25% percent of my total inheritance for assisting me in this transfer and you will also help me in the area of investing the remaining fund in any good business you know that will be giving us profit,i will like to continue with my studies in my carrier in health sector as i was in the university of Libya as a medical student before the war incident that made me to be in this situation
of life after the death of my beloved parents.
I will love to meet you very soon and thanks for your regards,I will like you to call me,call around 2.00pm GMT time in the afternoon. I want to hear your voice. Have a nice day and think about me. Awaiting to hear from you soonest.
Yours
lindy
Filed under: 网络观察
0 Comments
0 Trackbacks
626 Views
Written by 正冰 on 2011, November 16, 10:14 AM
之前mysql一直正常运行,重启之后打开网页就报错:Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock。
检查了一下这个位置发现并没有mysql.sock,而my.cnf中配置mysql.sock路径为/tmp/mysql.sock,netstat -nltp检查mysql却是正常运行的,说明mysql启动没有问题,奇怪了!
为了保障网站先正常运行,后续再找原因,这里给出一个快速解决方案(增加mysql目录,给mysql.sock做一个软链接):
mkdir /var/lib/mysql/
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
然后去刷新出错页面,正常了。
Filed under: 技术归总
1 Comments
0 Trackbacks
433 Views
Written by 正冰 on 2011, November 6, 9:55 PM
今日在迁移某个VPS之后发现原VPS居然有大量syn_sent连接指向新VPS的80端口。
一开始以为是原VPS上有配置文件的链接信息写的是域名的缘故(因为域名解析已经改为新VPS的IP,而有部分地区DNS未刷新),不过使用如下命令检查之后就发现不是这么回事。
netstat -atnp
参数p可以看到PID与Program name,只要是本机开启的服务端口,都是会有PID与Program name。检查之后发现是wget程序在占用,忽然想到是自己部署的一个定时check的脚本,用来检查网站是否正常。
解决方法就简单了,只要把bash程序的计划任务停止了即可。如果是其他不正常程序,只需要用kill命令把该PID杀死,如果是很多个进程,比如都是wget程序,那么只需要执行pkill -9 wget。
Filed under: 运维小记
2 Comments
0 Trackbacks
534 Views
Written by 正冰 on 2011, October 25, 9:56 PM
Filed under: 网络观察
0 Comments
0 Trackbacks
979 Views
Written by 正冰 on 2011, October 22, 9:41 PM
代码如下:
<?php
if(strpos($_SERVER["HTTP_USER_AGENT"],"MSIE"))
echo "IE";
else
echo "not IE";
?>
简单测试如下:
IE:微软IE浏览器、360安全浏览器、搜狗高速浏览器
not IE:chrome、firefox、opera
结论:判断快速准确,判断结果以IE核心为准
Filed under: 技术归总
0 Comments
0 Trackbacks
541 Views
Written by 正冰 on 2011, October 22, 8:56 PM
问题产生的前因:A网站采用iframe框架形式嵌套了B网站的一个页面C,直接打开页面C会在本地保留一个cookie文件,而当采用A网站iframe框架形式嵌套后就无法成功生成cookie文件,该问题仅在IE浏览器环境下出现,firefox、chrome、Safari浏览器下没有问题。
造成该问题的原因:一个所谓的隐私首选项(简称为P3P)的W3C标准。只有在每一页上设置一个cookie发送头,才能允许Internet Explorer接受第三方Cookie。
换言之,只有在页面C上设置一个cookie发送头,那么A网站iframe框架形式嵌套后就可以在IE下成功获得页面C的cookie。
- PHP:header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
- ASP.NET:HttpContext.Current.Response.AddHeader("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");
- Django:response = render_to_response('mytemplate.html')
response["P3P"] = 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'
- JSP:response.addHeader("P3P","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"")
本文解决方案参考了http://adamyoung.net/IE-Blocking-iFrame-cookies
Filed under: 技术归总
0 Comments
0 Trackbacks
568 Views
Written by 正冰 on 2011, October 16, 3:36 PM
近几天正冰在测试有关跨域名cookies存储问题,在某个php测试页面里的header函数一直遭遇:Warning: Cannot modify header information - headers already sent by错误提示。为了解决该问题,翻山越岭地用google查询了相关资料,造成该问题的原因是:函数 header(),setcookie() 和 session 函数需要在输出流中增加头信息。但是头信息只能在其它任何输出内容之前发送。在使用这些函数前不能有任何(如 HTML)的输出。函数 headers_sent() 能够检查您的脚本是否已经发送了头信息。
来继续了解下原理:PHP脚本开始执行时,它可以同时发送header(标题)信息和主体信息。 Header信息(来自 header() 或 SetCookie() 函数)并不会立即发送,相反,它被保存到一个列表中。 这样就可以允许你修改标题信息,包括缺省的标题(例如 Content-Type 标题)。但是,一旦脚本发送了任何非标题的输出(例如,使用 HTML 或 print() 调用),那么PHP就必须先发送完所有的Header,然后终止 HTTP header。而后继续发送主体数据。从这时开始,任何添加或修改Header信息的试图都是不允许的,并会发送上述的错误消息之一。
解决方案如下(须保证出错函数之前没有任何输出):
1、如果说这条仅仅只是错误提示,并不影响你程序正常运作,那么只需要“屏蔽”它即可。在页面顶部的php标签中加入ob_start();,在返回的信息下面加入ob_end_flush();,这样就可以屏蔽错误信息。
<?php ob_start(); ?>
... HTML codes ...
<?php
... PHP codes ...
header ("Location: ....");
ob_end_flush();
?>
2、反之要彻底解决,正冰是通过Notepad++先建立一个空白页面,然后将编码设置为Encode in UTF-8 without BOM,然后将出问题页面代码复制进去保存为一个新页面即可。
因为正冰所测试的页面还有一个setcookie函数,这个也会导致这样的问题出现,简单摘录如下:cookie本身在使用上有一些限制,例如:
- 呼叫setcookie的叙述必须放在<html>标签之前
- 呼叫setcookie之前,不可使用echo
- 直到网页被重新载入后,cookie才会在程式中出现
- setcookie函数必须在任何资料输出至浏览器前,就先送出
解决方法就是在程序开始用ob_start();这个函数。
Filed under: 技术归总
0 Comments
0 Trackbacks
611 Views