Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. First of all you have to look at configuration file, by default you can find it there:
  2.  
  3. SpyEyeCollector/configs/sec.config
  4.  
  5. There is A line : listening port for logs = "53" the must be same port as U use In Builder later.
  6.  
  7. mysql username = "root"
  8. mysql password = ""
  9. mysql db name = ""
  10.  
  11. And u need To Edit these values .. to Your SQl connection Settings.
  12.  
  13. U need To Connect via ex. Putty to ure Server then when U uploaded The entire Collector Folder go in it cd /blabla/collector
  14.  
  15. It is better to run programm as daemon process, for this use a command line parameter `-d':
  16.  
  17. ./SpyEyeCollector -d
  18.  
  19. If you want to see some internal steps of Collectors work you can redirect out of program to some file like that:
  20.  
  21. ./SpyEyeCollector > sec.log &
  22.  
  23. For autostart program with OS Insert this line by next command:
  24.  
  25. echo "/full/path/to/application/SpyEyeCollector -d" >> /etc/rc.local
  26.  
  27. type that in Console hit enter !
  28.  
  29. If programm start successful you have to see next message:
  30. * * * Config successful readed.
  31. | * * * MySQL connection success.
  32. |
  33. | Try to make clerk socket ...
  34. | Successful. Discriptor = 3
  35. | Try to bind socket to my addr: INADDR_ANY:53. ...
  36. | Successful. Try to make it reusable... Successful.
  37. |
  38. | Now I become a daemon! >)
  39.  
  40. MONITORING.
  41.  
  42. You can watch statistics of Collector's work by programm sec-manager, just run it and look at results.
  43.  
  44. ./sec-manager
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement