labunix's blog

labunixのラボUnix

2013-04-04から1日間の記事一覧

wgetとcurlでWinXP+IE8でアクセスしているように見せかける。

■参考URL userAgent(ユーザーエージェント一覧) http://www.openspc2.org/userAgent/ Internet Explorer 8 の User-Agent 文字列 (更新版) http://msdn.microsoft.com/ja-jp/ie/dd557721.aspx ユーザー エージェント文字列を理解する http://msdn.microsof…

findで「iptables-save.unixtime」の形式のバックアップファイルを整理する。

■しばらく使って問題も無くいい感じ。 ※2012/11/10から。 $ w3m -dump https://raw.github.com/labunix/smallfirewall/master/iptables #!/bin/bash ### BEGIN INIT INFO # Provides: iptables # Required-Start: $remote_fs $syslog $time # Required-Stop:…