[理工] 交大os
101交大
int main (int argc,char *argv[])
{char buffer[256]
if(argc<2)
return -1
else{
strcpy(buffer,argv[1])
return 0
}}
(a)signature-base anti-virus software is able to detect mutated malware
(b)signature-based anti-virus software is able to detect privacy stealing malware
(c)cryptosystems are based on computation complexity
(d)port scanning is a means for a cracker to detect a system's vulnerability to attack
(e)the program is vulnerable to buffer-overflow attack
想問一下程式碼含義和各選項
完全不知如何下手
還有strcpy 和 102交大7strcopy及 strncpy之用法
不好意思沒學過c
麻煩大家了!!感恩
--
Sent from my Android
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 101.12.255.192
推
02/06 23:21, , 1F
02/06 23:21, 1F
→
02/06 23:21, , 2F
02/06 23:21, 2F
→
02/07 00:00, , 3F
02/07 00:00, 3F
→
02/07 00:02, , 4F
02/07 00:02, 4F
→
02/07 07:41, , 5F
02/07 07:41, 5F
→
02/07 07:43, , 6F
02/07 07:43, 6F
→
02/07 07:43, , 7F
02/07 07:43, 7F
→
02/07 07:44, , 8F
02/07 07:44, 8F
→
02/07 07:45, , 9F
02/07 07:45, 9F
→
02/07 07:49, , 10F
02/07 07:49, 10F
→
02/07 07:50, , 11F
02/07 07:50, 11F
→
02/07 07:51, , 12F
02/07 07:51, 12F
→
02/07 07:52, , 13F
02/07 07:52, 13F
→
02/07 12:02, , 14F
02/07 12:02, 14F
→
02/07 12:04, , 15F
02/07 12:04, 15F
→
02/07 12:04, , 16F
02/07 12:04, 16F
→
02/07 12:06, , 17F
02/07 12:06, 17F
→
02/07 12:06, , 18F
02/07 12:06, 18F
→
02/07 16:00, , 19F
02/07 16:00, 19F
→
02/07 16:00, , 20F
02/07 16:00, 20F