pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin - collaborative debugging tool View Help


Posted by khuno on Fri 9 May 14:03
report abuse | download | new post

  1. # Traitement Http
  2. #!/bin/bash
  3.  
  4. echo "Script de maj des proxys http"
  5.  
  6.         wget "http://nntime.com/index.php?start=1"
  7.         wget "http://nntime.com/index.php?start=501"
  8.         wget "http://nntime.com/index.php?start=1001"
  9.         cat index* | grep "index.php?start=" >> index1.temp
  10.         sed s/"\t"/""/ index1.temp >> index2.temp
  11.         sed s/"<a href="\"/""/ index2.temp >> index3.templ     
  12.         cat index3.temp | awk -F \" ' {print $1 } ' >> index_http_crypt.temp
  13.         cat index_http_crypt.temp | awk '{print"http://nntime.com/"$0}' >> index5.temp
  14.         sort -u index5.temp >> index_http_final
  15.         sort -u index_http_crypt.temp > index_decode
  16.         rm index_http_crypt.temp
  17.  
  18.         rm index[0-9].*
  19.         wget -w 2 -i index_http_final
  20.        
  21.         cat index.php\?start\=1 | grep " = "\"[0-9]""\" >> index.php\?start\=1.crypt
  22.         cat index.php\?start\=1 | grep "[0-9]<script type=\"text/javascript" >> index.php\?start\=1.temp1
  23.         sed s/"<td>"/"http\t"/ index.php\?start\=1.temp1 >> index.php\?start\=1.temp2
  24.         sed s/"<script type="\"/"\t"/ index.php\?start\=1.temp2 >> index.php\?start\=1.temp3
  25.         sed s/"("/""/ index.php\?start\=1.temp3 >> index.php\?start\=1.temp4
  26.  
  27.        
  28.                 <script type="text/javascript">document.write(":"

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.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me