- # Traitement Http
- #!/bin/bash
- echo "Script de maj des proxys http"
- wget "http://nntime.com/index.php?start=1"
- wget "http://nntime.com/index.php?start=501"
- wget "http://nntime.com/index.php?start=1001"
- cat index* | grep "index.php?start=" >> index1.temp
- sed s/"\t"/""/ index1.temp >> index2.temp
- sed s/"<a href="\"/""/ index2.temp >> index3.templ
- cat index3.temp | awk -F \" ' {print $1 } ' >> index_http_crypt.temp
- cat index_http_crypt.temp | awk '{print"http://nntime.com/"$0}' >> index5.temp
- sort -u index5.temp >> index_http_final
- sort -u index_http_crypt.temp > index_decode
- rm index_http_crypt.temp
- rm index[0-9].*
- wget -w 2 -i index_http_final
- cat index.php\?start\=1 | grep " = "\"[0-9]""\" >> index.php\?start\=1.crypt
- cat index.php\?start\=1 | grep "[0-9]<script type=\"text/javascript" >> index.php\?start\=1.temp1
- sed s/"<td>"/"http\t"/ index.php\?start\=1.temp1 >> index.php\?start\=1.temp2
- sed s/"<script type="\"/"\t"/ index.php\?start\=1.temp2 >> index.php\?start\=1.temp3
- sed s/"("/""/ index.php\?start\=1.temp3 >> index.php\?start\=1.temp4
- <script type="text/javascript">document.write(":"
Posted by khuno on Fri 9 May 14:03
report abuse | download | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.