LoginSignup
0
0

More than 5 years have passed since last update.

どっきりw C言語のCGI でウィルス判定。みんなも試してみよう

Last updated at Posted at 2018-02-27

以下ファイルを用意します。

index.h
#ifndef INDEX_CGI_INDEX_H_
#define INDEX_CGI_INDEX_H_
/* 特に意味はありません */
#endif /* INDEX_CGI_INDEX_H_ */
index.c
#include "index.h"
#include <stdio.h>

int main(void) {
    return 0;
}
Makefile
all:
    @make clean
    @make index.cgi

index.cgi:
    @gcc index.c -o index.cgi
    @mv index.cgi ${DIR}/dest/

clean:
     @rm -rf index.cgi

make を実行します。

なぜか mv で Heur.AdvML.B が検出されます。
gcc の出力では判定されないのにw

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0