An anti-spam blacklist-check for YOURLS using the Phishtank API
Phishtank 2.0 for YOURLS is a functiolnal rewrite of the old phishtank plugin, which seems abandoned. There are some noticable additions to the code.
- Checks URL submissions against Phishtanks's blacklist, and blocks any blacklisted submissions.
- Will optionally re-check old links when they are clicked to see if they have been blacklisted since 1st submitted.
- Can delete or preserve and intercept old links that fail recheck.
- You can customize the intercept page, or use your own url.
- You can add your Phishtank API key, if you have one.
- Uses base64 instead of urlencode to send url to Phishtank
- Uses the YOURLS admin section for option setting. No config files.
- Integrates with the Compliance flaglist to track links that have "gone bad"
NOTE: The options are idiot-proof. If options are never submitted, null values are accepted by the plugin to reflect positive default selections.
- A working YOURLS installation
- A Phishtank API key (optional, strongly reccomended if you anticipate high volume)
- Download, extract, and copy the phishtank-2.0 folder to your YOURLS/user/plugins/ folder
- Enable Phishtank 2.0 in the "Manage Plugins" page under the Admin section of YOURLS
- Visit the new Options page for Phishtank, enter in your API key, make your choices regarding old links. (default values are fine)
- Have Fun!
This plugin is offered "as is", and may or may not work for you. Give it a try, and have fun!
Copyright (C) 2016 Josh Panter This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.