-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration & Setup & Flask-Server #42
Comments
This threw me off for a while too. It is not well documented. The reason why everthing is blank is because you need to edit a cofig file. In the AIL-framework/bin/packages/ folder edit config.cfg and config.cfg.sample. Find the line adress = tcp://crf.circl.lu:5556 and change it to adress = tcp://127.0.0.1:5556. When pystemon find something, it should now show up in the web GUI. |
Thanks for the fast response. |
The feeder script needs to be running and needs to be edited to point to your pystemon location. Launch the AIL-framework, start the feeder script, start pystemon, and launch the flask server. Check all screens and make sure there are no errors. For testing, I edited the pystemon.yaml file to look for any email addresses. You should start seeing logs and graph activity. |
Forgot to mention. In the pystemon.yaml, make sure redis is set to yes. |
Ok, I thought the feeder runs when I start the whole framework. |
Little Update: |
I think the problem might be your pystemon.yaml file. The search fields for the regex should have the dash in front of them like the description does or it won't work. example:
this would search for anything with a email address. |
Make sure to set the DB setting back to what it was in the config.cfg file. |
You can try my fork of pystemon, if you want. It scrapes 26 different sites. Just place your regex searches in the yaml file and change the the section under proxy: from use: yes to use: no. |
I'm going to re-setup my whole server, doing everything from scratch with your pystemon fork. (Seems like you are pretty good with regexes.) |
I did the automatic setup. Change the path in the feeder script and the IP in the cfg file and change the proxy setting to no in the yaml and use the regex search I posted earlier for testing (you should get alot of hits). As for a proxy, I am using TOR. The advantage to it is that your IP changes every 10 minutes. This helps to not get blocked by sites like pastebin. Here is a link to the article I used to set up TOR. https://mendo.pt/monitoring-pastebin/ . Get everything else working before taking the next step and trying to run it through a proxy. Let me know how it turns out or if you need any help. It took me a while to figure all this out on my own. |
Well. Little update: |
Permissions issue maybe? I also run pystemon from the AILENV. Try running everything as root and see what happens. |
Did you check the screen sessions for leveldb, redis, logs, scripts, and queues for any errors? Also netstat -plnt to make sure everything is listening on the ports. |
I'm nearly always running everything as root.(Not really secure, I know.) No errors, is it normal that they have no output? |
I'm closing this for now. |
I might be just stupid..
Backstory:
I cloned the repository.
Installed all dependencies.
Path 1:
Ran the AIL-Framework.
With:
LevelDB
Redis
Logs
Queues
Scripts
Ran pystemon with my own configured yaml.
Ran the Flask-Server.
Nothing except the main interface. No data, no listing, nothing.
Path 2:
Set the path in the pystemon-feeder script to '/opt/pystemon/' (where pystemon is located)
Ran the feeder
Ran the AIL-Framework with the options in path 1
Ran the Flask-server.
Again: Nothing except the main UI.
Did I miss to configure something?
Also:
I can't kill the Flask-Server with CTRL+C, it just gets unresponsive.
And the AILENV variable needs to be reset after reboot.
Running on Ubuntu 14.04 LTS without xServer (plain cli rootserver)
The text was updated successfully, but these errors were encountered: