Advertisement
ethanely

Untitled

Nov 21st, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. apt-get update && apt-get install git
  2.  
  3. git clone https://github.com/trustedsec/artillery/ artillery/
  4.  
  5. cd /artillery
  6. ./setup.py
  7.  
  8. mkdir /var/artillery/database
  9. touch /var/artillery/database/temp.database
  10. service artillery restart
  11.  
  12. nano /var/artillery/config
  13.  
  14. MONITOR_FOLDERS=”/var/www”,”/etc”
  15.  
  16. MONITOR_FOLDERS=”/var/www”,”/etc”,”/root”
  17.  
  18. EXCLUDE=/etc/passwd
  19.  
  20. WHITELIST_IP=127.0.0.1,localhost,xxx.xxx.xxx.xxx <-Replace the x's with your IP address.
  21.  
  22. PORTS="135,445,22,1433,3389,8080,21,5900,25,53,110,1723,1337,10000,5800,44443,1024"
  23.  
  24. AUTO_UPDATE=ON
  25.  
  26. ANTI_DOS_PORTS=80,443,8080,8180,10000
  27.  
  28. ANTI_DOS=ON
  29.  
  30. service artillery start # <-Starts the service.
  31. service artillery restart # <-Restarts the service.
  32.  
  33. ps aux | grep artillery
  34.  
  35. top -p PID
  36.  
  37. cd /var/artillery
  38.  
  39. ./reset-bans.py xxx.xxx.xxx.xxx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement