Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #varibles / configs
- STARTTOOL="nohup /proxyN* &"
- WATCHTOOLRUN="tail -f nohup.output"
- CHECKPROCCESS="ps aux | grep Proxy"
- MAKEFILES="cat > proxylist.txt"
- files="/proxylist.txt /uniqueproxylist.txt /proxyServerList.txt /cleanSiteUrlFile.txt"
- cleanupFiles="rm -fvr proxylist.txt"
- #end configs / varibles...
- echo "Checking for file's we need... If not there creating defaults...."
- echo "Stand by..."
- # precheckloop
- for i in $files
- do
- if [ ! -f $i -o ! -d $i ]; then
- #DO STUFF
- echo "Dll one...."
- echo "Loading The ProxyNinja!!!....."
- #Load Ninja
- $STARTTOOL
- #check if its initiated
- $CHECKPROCCESS
- #watch tool run
- sleep 10
- exit 1
- #END STUFF DONE...
- else
- #make files...
- $MAKEFILES
- #files made...
- fi
Advertisement
Add Comment
Please, Sign In to add comment