|
[原创]比特币源码研读---交易
感谢关注,我会对交易细节再做更深一步的分析 |
|
[原创]记一次linux(被)入侵,服务器变矿机~
kanxue SSH建议:keyfile,禁止密码直接登陆,甚至可以限一些IP登陆。 10年前有台主机,委托机房重装系统,机房设的密码是:12345678,等开完会,就发现密码被改。公网服务器密码一定要复杂。嗯,我也建议禁用密码登陆,这次运维太粗心了。。。还有redis的漏洞也得重视 |
|
|
|
|
|
[开源兼求职]Web远程控制软件
难道是万人坑出来的? |
|
[求助]一个关于ipv4头部的问题
在做网络传输或是在做跨平台的时候,我们会遵循一种约定,就是使用网络字节序。因为网络字节序是标准规定的,它永远都是大头存储的,当在本地接受到数据的时候,也是按照大头的约定来解析的,然后解析出来的数据在本机存储的时候,再按照本机的cpu字节寻来存储,在tcp的协议中,放置的数据是按照大头存储的。 |
|
[求助]发VC++的问题。。求解
传个代码上来看看 |
|
[求助]有没有什么好用的post发送数据的工具?
自己动手吧 稍改下就可以了 ///根据请求的相对URL输出HTTP请求头 const char *CHttpSocket::FormatRequestHeader(const char *pHost,const char *pObject, const char *pCookie, const char *pReferer,const char* pAgent,long &Length) { char szPort[10]; char szTemp[20]; sprintf(szPort,"%d",m_port); memset(m_requestheader,'\0',1024); ///第1行:方法,请求的路径,版本 strcat(m_requestheader,"GET "); strcat(m_requestheader,pObject); strcat(m_requestheader," HTTP/1.1"); strcat(m_requestheader,"\r\n"); ///第2行:主机 strcat(m_requestheader,"Host:"); strcat(m_requestheader,pHost); strcat(m_requestheader,"\r\n"); ///第3行: if(pReferer != NULL) { strcat(m_requestheader,"Referer:"); strcat(m_requestheader,pReferer); strcat(m_requestheader,"\r\n"); } ///第4行:接收的数据类型 strcat(m_requestheader,"Accept:*/*"); strcat(m_requestheader,"\r\n"); ///第5行:浏览器类型 if (pAgent != NULL) { strcat(m_requestheader,"User-Agent:"); strcat(m_requestheader,pAgent); strcat(m_requestheader,"\r\n"); } else { strcat(m_requestheader,"User-Agent:Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)"); strcat(m_requestheader,"\r\n"); } ///第6行:连接设置,保持 strcat(m_requestheader,"Connection:Keep-Alive"); strcat(m_requestheader,"\r\n"); ///第7行:Cookie. if(pCookie != NULL) { strcat(m_requestheader,"Set Cookie:0"); strcat(m_requestheader,pCookie); strcat(m_requestheader,"\r\n"); } ///最后一行:空行 strcat(m_requestheader,"\r\n"); ///返回结果 Length=strlen(m_requestheader); return m_requestheader; } |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值