vual

Loader for proxyNinja Python Tool

Feb 25th, 2012
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. #!/bin/sh
  2. #varibles / configs
  3. STARTTOOL="nohup /proxyN* &"
  4. WATCHTOOLRUN="tail -f nohup.output"
  5. CHECKPROCCESS="ps aux | grep Proxy"
  6. MAKEFILES="cat > proxylist.txt"
  7. files="/proxylist.txt /uniqueproxylist.txt  /proxyServerList.txt /cleanSiteUrlFile.txt"
  8. cleanupFiles="rm -fvr proxylist.txt"
  9. #end configs / varibles...
  10.  
  11. echo "Checking for file's we need... If not there creating defaults...."
  12. echo "Stand by..."
  13.  
  14. # precheckloop
  15. for i in $files
  16. do
  17. if [ ! -f $i -o ! -d $i ]; then
  18. #DO STUFF
  19. echo "Dll one...."
  20. echo "Loading The ProxyNinja!!!....."
  21.  
  22. #Load Ninja
  23. $STARTTOOL
  24. #check if its initiated
  25. $CHECKPROCCESS
  26. #watch tool run
  27. sleep 10
  28. exit 1
  29. #END STUFF DONE...
  30. else
  31. #make files...
  32. $MAKEFILES
  33. #files made...
  34. fi
Advertisement
Add Comment
Please, Sign In to add comment