LoginSignup
7

More than 5 years have passed since last update.

GHOST脆弱性をチェックするワンライナー

Last updated at Posted at 2015-01-29

脆弱性の対応はもうお済みでしょうか?

cd /tmp; curl -sko ghost.c https://raw.githubusercontent.com/mholzinger/CVE-2015-0235_GHOST/master/ghost.c; make ghost; ./ghost

makeの小技

意外と知られていないのですが、c言語の1枚ペラのソースコードをコンパイルしたいときは

gcc ghost.c -o ghost

と書く代わりに

make ghost

でいけます。
:smiley:

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
7