Well I decided to write a recipe spider in python and here’s the results although the web interface is still a work in progress.
initial code for the python spider can be found here
#!/bin/bash # command line arguments are 1 search string and 2 the replacement # handy for replacing ip addresses in host files # example # strreplace.sh 192.168.0.2 10.0.0.4 for f in * do echo "sed -i 's/$1/$2/g' $f" #let us know what we are about to screw up sed -i "s/$1/$2/g $f" #making it happen done
#!/bin/bash # create while loop that starts at x and ends at y # good for creating folders if [ $# -eq 2 ]; then #if no arguments then prompt for one<!--?prettify linenums=true?--> x=$1 y=$2 else echo -n "Where to begin:" read x echo -n "Where to end:" read y fi while [ $x -le $y ] do #action # do something here echo "mkdir IS4560_Week$x" ## ((x++)) #increment x done echo "All done"
This script will check the hostnames on a block of IP addresses and randomly change DNS servers.
Welcome to 3SYS
At 3SYS we are passionate about helping small businesses by developing affordable web based applications.
At this time we are pleased to present our web based invoicing system free for use and hosted on our server. Please use the following link to request your own site until we can complete the automation process.
A demo can be found here: DEMO SITE
(All data will be periodically removed and passwords reset)