以下のチェック事項をフラグとして、フラグの組み合わせでスパム検知するためのメモです。
Note
true(yes) の場合がスパムに含まれたフラグとします。
- すべて半角英数字記号である
| <?php | |
| function setEnvAsUTF8JaJP($timezone = 'Asia/Tokyo') | |
| { | |
| if (! function_exists('mb_language')) { | |
| die('This application requires mb_language.'); | |
| } | |
| date_default_timezone_set($timezone); | |
| setlocale(LC_ALL, 'ja_JP'); |
| # yum -y install pandoc | |
| 読み込んだプラグイン:fastestmirror, langpacks | |
| Loading mirror speeds from cached hostfile | |
| * base: ftp.iij.ad.jp | |
| * epel: ftp.iij.ad.jp | |
| * extras: ftp.iij.ad.jp | |
| * ius: mirrors.tongji.edu.cn | |
| * updates: ftp.iij.ad.jp | |
| 依存性の解決をしています | |
| --> トランザクションの確認を実行しています。 |
| $ # TL;DR | |
| $ # Performance Summary (GFlops): 28.5376 - 72.4169 | |
| $ # | |
| $ # MacBookPro Retina, 13-inch, Early 2015 | |
| $ # 2.7GHz, Intel Core i5, MEM 8GB 1867 MHz DDR, Intel Iris Graphics 6100, 1536 MB | |
| $ # macOS High Sierra (OSX 10.13.5) | |
| $ # | |
| $ | |
| $ sw_vers | |
| ProductName: Mac OS X |
| $ cd /path/to/your/dev/dir | |
| $ ls | |
| index.php | |
| $ dev opera |
| $ composer config bin-dir bin/ |
| $ # Fail log while installing LibRTMP via brew on macOS HighSierra. | |
| $ # ------------------------------------------------------------------ | |
| $ # TL;DR | |
| $ # 2018/06/24 Still can NOT install them. Provably deprecated. | |
| $ # ------------------------------------------------------------------ | |
| $ # Env | |
| $ # ------------------------------------------------------------------ | |
| $ sw_vers | |
| ProductName: Mac OS X | |
| ProductVersion: 10.13.5 |
| $passwd_hashed = md5($passwd . $salt . $pepper); |
| [root@kusanagiXX ~]# ########################################################################### | |
| [root@kusanagiXX ~]# # Error log while installing `composer` on CentOS7 w/KUSANAGI @ SakuraVPS | |
| [root@kusanagiXX ~]# ########################################################################### | |
| [root@kusanagiXX ~]# # エラー内容 | |
| [root@kusanagiXX ~]# # エラー: パッケージ: php-intl-5.4.16-43.el7_4.1.x86_64 (updates) | |
| [root@kusanagiXX ~]# # 要求: php-common(x86-64) = 5.4.16-43.el7_4.1 | |
| [root@kusanagiXX ~]# # インストール: php-common-5.6.34-1.el7.remi.x86_64 (@remi-php56) | |
| [root@kusanagiXX ~]# # php-common(x86-64) = 5.6.34-1.el7.remi | |
| [root@kusanagiXX ~]# ########################################################################### | |
| [root@kusanagiXX ~]# |
| # cat var/log/mysql/mysqld.log | |
| 161011 5:25:55 [Warning] IP address '222.186.134.218' could not be resolved: Name or service not known | |
| 161011 5:58:48 [Warning] IP address '222.186.58.252' could not be resolved: Name or service not known | |
| 161011 6:45:32 [Warning] Hostname 'unassigned.quadranet.com' does not resolve to '155.94.142.60'. | |
| 161011 6:45:32 [Note] Hostname 'unassigned.quadranet.com' has the following IP addresses: | |
| 161011 6:45:32 [Note] - 127.0.0.1 | |
| 161011 7:27:20 [Warning] IP address '222.186.51.175' could not be resolved: Name or service not known | |
| 161011 15:00:36 [Note] /usr/sbin/mysqld: Normal shutdown | |
| 161011 15:00:36 [Note] WSREP: Stop replication |