#!/bin/bash

for ip in `cat ip.txt`

do

  curl http://www.ip.cn/index.php?ip=${ip}

done