ふつうのLinuxプログラミング 17章 ハッカーとの戦い。そして卒業。

ハッカー登場

ぐへへへへ。俺様はスーパーハッカーtanakaである。ぐへへへへ。今日はtelnetでお前の.vimrcを覗いてやる。お前の個人情報を丸裸にしてやるぅ。

% telnet localhost 4567
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
GET ../../../../.vimrc HTTP/1.1

HTTP/1.0 200 OK
Server: httpd/1.0
Connection: close
Content-Length: 7946
Content-Type: text/html

" basic setting {{{
filetype plugin indent on
" shell
set shell=zsh

大変だぁ!!ボクノスサーバーは個人情報丸出しっす!!

クレデンシャル変更で対応するぞぉ〜

もう一回見てやる。ぐへへへへ。

% telnet localhost 4567
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
GET ../../../../.vimrc HTTP/1.1

HTTP/1.0 404 Not Found
Server: httpd/1.0
Connection: close
Content-Type: text/html

<html>
<head><title>404 Not Found</title></head>
<body>404 Not Found</body>
</html>

アレ?

・・・ハッカーは何度挑戦しても404の画面しか見ることが出来ません。仕方ないので帰っていきましたとさ。

こうして平和は保たれた

と言う訳で、ボクノスサーバー完成&ふつうのLinuxプログラミング卒業で〜す。楽しかったぁ!

ちと時間が無いので、感想は明日書きます。