1 Star 0 Fork 25

zjg23 / badwords

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
decrypt.php 464 Bytes
一键复制 编辑 原始数据 按行查看 历史
spetacular 提交于 2016-04-17 10:17 . 发布短信专用词库,共2696条
<?php
/**
* Usage: decrpty.php filename
* /usr/bin/php decrypt.php pub_sms_banned_words.txt
* URL: https://github.com/spetacular/bannedwords
*/
if ($argc != 2) {
die("Usage: /usr/bin/php decrypt.php filename\n");
}
$filename = $argv[1];
$lines = file('./'.$filename);
$newsLines = array();
foreach ($lines as $rawword) {
$newsLines[] = base64_decode(trim($rawword));
}
file_put_contents('./'.$filename.'.out.txt', implode("", $newsLines));
echo "done\n";
PHP
1
https://gitee.com/zjg23/badwords.git
git@gitee.com:zjg23/badwords.git
zjg23
badwords
badwords
master

搜索帮助