-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsh.txt
More file actions
10 lines (7 loc) · 1.59 KB
/
Copy pathsh.txt
File metadata and controls
10 lines (7 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
# script for cron, based on Ircerr work (ping no ping attempted, update list) modified by shangri-l (reping failure, reping mixed, reping success, retitle success)
curl -s http://[-Enter your Hype DIR ip here and path then-]/dir/hia-parsed.php|sed 's/<hr\/>/\n/g'|grep 'No ping attempted'|sed 's/.*.\/ping.php/http:\/\/[-Enter your Hype DIR ip here and path then-]\/dir\/ping.php/g;s/">.*//g'|while read URL; do curl -s "$URL" -o /dev/null ;done
curl -s http://[-Enter your Hype DIR ip here and path then-]/dir/hia-parsed.php|sed 's/<hr\/>/\n/g'|grep 'Failure'|sed 's/.*.\/ping.php/http:\/\/[-Enter your Hype DIR ip here and path then-]\/dir\/ping.php/g;s/">.*//g'|while read URL; do curl -s "$URL" -o /dev/null ;done
curl -s http://[-Enter your Hype DIR ip here and path then-]/dir/hia-parsed.php|sed 's/<hr\/>/\n/g'|grep 'Mixed'|sed 's/.*.\/ping.php/http:\/\/[-Enter your Hype DIR ip here and path then-]\/dir\/ping.php/g;s/">.*//g'|while read URL; do curl -s "$URL" -o /dev/null ;done
curl -s http://[-Enter your Hype DIR ip here and path then-]/dir/hia-parsed.php|sed 's/<hr\/>/\n/g'|grep 'Success'|sed 's/.*.\/ping.php/http:\/\/[-Enter your Hype DIR ip here and path then-]\/dir\/ping.php/g;s/">.*//g'|while read URL; do curl -s "$URL" -o /dev/null ;done
curl -s http://[-Enter your Hype DIR ip here and path then-]/dir/hia-parsed.php|sed 's/<hr\/>/\n/g'|grep 'Success'|sed 's/.*.\/retitle.php/http:\/\/[-Enter your Hype DIR ip here and path then-]\/dir\/retitle.php/g;s/">.*//g'|while read URL; do curl -s "$URL" -o /dev/null ;done
curl http://[-Enter your Hype DIR ip here and path then-]/dir/update_list.php -o /dev/null