Skip to content

Unlock all sites in 7 steps

tangdou1 edited this page Jan 18, 2019 · 3 revisions
  1. Enter your Debian system as root user
  2. Make sure your PC or VPS has installed sqlite3 and curl
  3. Make sure you have visted the site 1LtvsjbtQ2tY7SCtCZzC4KhErqEK3bXD4n
  4. run vi seedall.sh
  5. write and save (change the ZERO_DIR,ZERO_HOST,and HOST_PORT, if neccessary )
#!/bin/sh

ZERO_DIR=~/ZeroNet-master
ZERO_HOST=127.0.0.1
HOST_PORT=43110
APP_ID=1LtvsjbtQ2tY7SCtCZzC4KhErqEK3bXD4n

ALL_SITES=`sqlite3 $ZERO_DIR/data/$APP_ID/data/zerosites.db "select address from sites;"`
for SITE in $ALL_SITES; do
    echo Check site $SITE
    curl -H "Accept: text/html" --silent http://$ZERO_HOST:$HOST_PORT/$SITE > /dev/null
done
  1. run chmod 777 seedall.sh
  2. run ./seedall.sh
Clone this wiki locally