This paper attempts to analyze the characteristics from the attacker's point of view about the currentopen source rootkit key technology, hope can fin...
分类:
系统相关 时间:
2014-08-02 18:18:34
阅读次数:
786
正常通信的情况下,send函数发送成功会返回发送数据的字节数。当有错误发生时,send返回-1,全局变量errno被设置。很多情况下,send返回-1是由于连接被对端关闭(对端发送了RST或者FIN包),这种情况errno会被设置为ECONNRESET(Connection reset by pee...
分类:
其他好文 时间:
2014-07-24 22:54:43
阅读次数:
1722
//捕获fopen调用中的错误#include#include#include#defineMYFILE"missing.txt"intmain() { FILE*fin; fin=fopen(MYFILE,"r"); if(fin==(FILE*)NULL) { printf("%s:%s\n",...
分类:
系统相关 时间:
2014-07-24 16:56:45
阅读次数:
298
以下内容纯属虚构,切勿轻易相信!众所周知,tcp/ip三次握手和四次挥手,均由syn/ack/fin三个标志位报文决定,但是这三个标志位报文,并不是说在构建连接的时候只发送一次的,因为协议不知道网络状况. 故而就存在了以下参数,可以调节发送次数net.ipv4.tcp_syn_retries这个参数...
分类:
其他好文 时间:
2014-07-23 20:51:45
阅读次数:
235
TCP/IP建立连接的三次握手过程:建立TCP连接共需要三个packetClient-->syn=1,ack=0,fin=0-->ServerClient<--syn=1,ack=1,fin=0<--ServerClient-->syn=0,ack=1,fin=0-->ServerTCP/IP关闭连接的四个过程:关闭TCP连接需要四个packet:Client-->FIN-->S..
分类:
系统相关 时间:
2014-07-16 13:18:13
阅读次数:
375
在Linux下编程习惯了使用命令行参数,故使用VS2010时也尝试了一下。
新建项目,c++编写程序如下:
#include
#include
using namespace std;
int main(int argc,char*argv[])
{
ifstream fin(argv[1],ios::in);//输入方式打开文件
//ifstream fin;fin.open(argv...
分类:
其他好文 时间:
2014-07-12 21:01:31
阅读次数:
296
这是南方七月一个风少雨多,杀猪越货的早晨。混迹于IT圈多年,自制若干攻击利器,后门木马等,个人一直低调在用,基本上从未示众,借用唐朝贾岛同学的话说就是“十年磨一剑,霜刃未曾试。”。今早,就在今早,公布吧——所谓技术这东西,似乎、好像不能一辈子(尤其是在天朝)..
分类:
其他好文 时间:
2014-07-12 16:45:32
阅读次数:
396
##本人在测试机上测试过,效果不错fs.file-max=6553600
net.ipv4.ip_local_port_range=1024 65000
net.ipv4.tcp_max_orphans=3276800
net.ipv4.tcp_max_syn_backlog=262144
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_mem=94500000915000000927000000
net.ipv4.tcp_fin_timeout=1..
分类:
系统相关 时间:
2014-07-09 08:42:50
阅读次数:
371
stl的通用算法基本有如下四种形式:
alg(beg, end, params):使用源输入作为输出
alg(beg, end, dest, params) :使用dest作为输出,需要保证有足够的空间,所以往往使用inserter
alg(beg, end, beg2, other params):beg2作为输出,假定beg2开始的范围至少跟beg和end指定的范围一样大。
alg(beg, end, beg2, end2, params):beg2 end2作为输出
举例:
第一种比如:
fin...
分类:
其他好文 时间:
2014-07-08 14:42:03
阅读次数:
144
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2014-07-08 14:21:56
阅读次数:
190