File: searchspider

package info (click to toggle)
rccp 0.9-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 244 kB
  • ctags: 44
  • sloc: ansic: 830; sh: 256; perl: 134; makefile: 71
file content (31 lines) | stat: -rwxr-xr-x 576 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
#CCCP script by hampa@chello.se
#this script will connect to all hubs and do a search query

#only hubs with atleast minusers in
minusers=450

nick="where_is_I"
searchquery="*rzr-w3c*1"
#save the quereys here
logfile="ms.log" 
echo "start" > $logfile

#internal
s4='$4'
s2='$2'

hublist=`hublist | awk -F\| "{if($s4>$minusers) print $s2}"`

#dctc -n $nick -o 99999999 -x -g macgyvers.evildc.net & 

cccp -r FOLLOWFORCE

for hub in $hublist
do
	echo ---connecting to $hub
	cccp -O -r "GOTO $hub"
	sleep 20 
	cccp -H $hub -s "$searchquery" >> $logfile 
	sleep 10
done