[Xposed Framework Modules] c0ns0le:
FYI I'm working on a very stupid and simple script to download the lists, right now I'm using it to dl the files hourly. Would be nice if there was a function to reload the lists on file updates.

I'll post the script later, use at own risk.

=-=-=-=-=-=-=-=-= UPDATE =-=-=-=-=-=-=-=-=

as promised, shotty code, and horrible stuff. ;)

1. download the attachments

2. remove the '.txt' extensions

3. create a dir /sdcard/PeerTools or run the script in terminal via sh bl_updates.sh

4. copy the list file you downloaded into /sdcard/PeerTools/

5. execute bl_updates.sh

6. insult coder as he didn't do much error handling and didn't take into account many things other than himself.

--------------------------------------------------------------------

#!/system/bin/sh

###############################################################################
#
# bl_updates.sh
# ------------
# download iBlock list files, unzip, concatenate into single file.
#
###############################################################################
#
# VERSION HISTORY (most recent first)
# ---------------
#
VERSION = '1.0.0' # <--- REMEMBER to update this variable too!
#
#
# Version Date Author
# -----------------------------------------------------------------------------
# 1.0.0 2013-08-14 c0ns0le
# * Chg: fixed exclusions and variables
# 0.0.1 2013-08-14 c0ns0le
# * New: Initial Coding
# Fix = Bug fix
# New = New functionality
# Chg = Change of existing functionality
#
###############################################################################

PeerBlockLists=/sdcard/PeerBlockLists

# comment if you want to place the tools on your internal sdcard, and remove comment on line below.
PeerTools=/storage/extSdCard/PeerTools

# uncomment if you want to place the tools on your internal sdcard
#PeerTools=/storage/sdcard0/PeerTools

if [ ! -d ${PeerBlockLists} ]
then
mkdir ${PeerBlockLists}
else
rm ${PeerBlockLists}/* >/dev/null 2>&1
fi

if [ ! -d ${PeerTools} ]
then
mkdir ${PeerTools}
fi

if [ ! -f ${PeerTools}/list ]
then
echo "No Block List present in ${PeerTools}"
echo "Block list format:"
echo "<BlockListName>|<BlockListURL"
echo "Block Lists can be found at:
echo " - http://goo.gl/g0Y8Jd "
echo " - http://goo.gl/ZOqJTZ "
##### to be added later ###
#echo "OR"
#echo "wget -O ${PeerTools}/list
exit 1
fi

for lst in $(grep -v ^# ${PeerTools}/list | cut -d '|' -f2)
do
fname=$(grep "${lst}" ${PeerTools}/list |grep -v ^# | cut -d'|' -f1 |sed -e 's: :_:g' -e 's:(:_:g' -e 's:):_:g')
wget -O ${PeerBlockLists}/${fname} "${lst}" >/dev/null 2>&1
done

echo '' > ${PeerBlockLists}/iblock.lst

for i in $(ls ${PeerBlockLists}|grep -v iblock)
do
if [ "$(wc -l ${PeerBlockLists}/${i} |awk '{print $1}')" -ne "$(cat ${PeerBlockLists}/${i} |gunzip |wc -l)" ]
then
cat ${PeerBlockLists}/${i} | gunzip >> ${PeerBlockLists}/iblock.lst
else
cat ${PeerBlockLists}/${i} >> ${PeerBlockLists}/iblock.lst
fi
rm ${PeerBlockLists}/"${i}" >/dev/null 2>&1
done

cat ${PeerBlockLists}/iblock.lst | sort | uniq > ${PeerBlockLists}/iblock_uniq.lst
rm ${PeerBlockLists}/iblock.lst

The List, the format of the list is <NAME>|<URL>

Comment out the list you don't want for your block list.

-----------------------------

#LIST
#apple|http://list.iblocklist.com/?list=aphcqvpxuqgrkgufjruj
ads|http://list.iblocklist.com/?list=bt_ads
#Atma|http://list.iblocklist.com/?list=tzmtqbbsgbtfxainogvm
#bad-peers|http://list.iblocklist.com/lists/bluetack/bad-peers
#bogon|http://list.iblocklist.com/?list=bt_bogon
#bt_proxy|http://list.iblocklist.com/?list=bt_proxy
#bt_rangetest|http://list.iblocklist.com/?list=bt_rangetest
#Business ISPs|http://list.iblocklist.com/?list=jcjfaxgyyshvdbceroxf
#CI Army|http://list.iblocklist.com/?list=npkuuhuxcsllnhoamkvm
dhca_faker|http://list.iblocklist.com/lists/dchubad/faker
dhca_hacker|http://list.iblocklist.com/lists/dchubad/hacker
dhca_spammer|http://list.iblocklist.com/lists/dchubad/spammer
DROP|http://list.iblocklist.com/?list=sh_drop
dshield|http://list.iblocklist.com/lists/bluetack/dshield
edu|http://list.iblocklist.com/?list=bt_edu
forumspam|http://list.iblocklist.com/?list=ficutxiwawokxlcyoeye
#General Corporate Ranges|http://list.iblocklist.com?list=ecqbsykllnadihkdirsh
hijacked|http://list.iblocklist.com/lists/bluetack/hijacked
#level1|http://list.iblocklist.com/?list=bt_level1
#level2|http://list.iblocklist.com/?list=bt_level2
#level3|http://list.iblocklist.com/?list=bt_level3
malc0de|http://list.iblocklist.com/?list=pbqcylkejciyhmwttify
Malicious|http://list.iblocklist.com/?list=npkuuhuxcsllnhoamkvm
#Microsoft|http://list.iblocklist.com/?list=bt_microsoft
#Palevo|http://list.iblocklist.com/?list=erqajhwrxiuvjxqrrwfj
#Pedophiles|http://list.iblocklist.com/?list=dufcxgnbjsdwmwctgfuj
primary-threats|http://list.iblocklist.com/lists/tbg/primary-threats
#RapidShare|http://list.iblocklist.com/?list=zfucwtjkfwkalytktyiw
#Search Engines|http://list.iblocklist.com/?list=pfefqteoxlfzopecdtyw
#sh_drop|http://list.iblocklist.com/?list=sh_drop
#spider|http://list.iblocklist.com/?list=bt_spider
#SpyEye|http://list.iblocklist.com/?list=zvjxsfuvdhoxktpeiokq
spyware|http://list.iblocklist.com/?list=bt_spyware
#tor|http://list.iblocklist.com/?list=tor
web-exploit|http://list.iblocklist.com/lists/bluetack/web-exploit
#ZeuS|http://list.iblocklist.com/?list=ynkdjqsjyfmilsgbogqf