摘要:
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,d 阅读全文
摘要:
#!/bin/python#coding=utf-8import re,osfilterOne='http://www.catking.com/'def getFilesNames(): return [i for i in os.listdir('./') if 'asp' in i]def replaceContent(): filesNames=getFilesNames() for name in filesNames: files=open(name) saveFile=open(name.replace('.', 阅读全文
摘要:
ls *asp*|while read file;do real=$file; file=${file/./};file=${file/\?/};file=${file/=/};file=${file/&/};file=$file".html";find ./ -name "*.asp*" -exec sed -i "s/$real/$file/g" {} \;;find ./ -name "*.html" -exec sed -i "s/$real/$file/g" {} \;; mv 阅读全文
摘要:
ctrl + F5 阅读全文
摘要:
findhttp://www.baidu.com/cnc=${a//\//\\/}echo $chttp:\/\/www.baidu.com\/cncontent='f'echo 'fefew $f'--->sorry you need to echo "fefe $f"read -p "Content:" content content=${content//\//\\/} echo $content read -p "Replace:" replace find ./ -name " 阅读全文