Comments (16)
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.
from ail-framework.
Thanks for the fast response.
I've just edited those 2 files.
Do I need to run the feeder seperatly?
Since there is still nothing coming in. (Might be because I'm on my phone, but there should be at least entrys in the table on the lower of the page.)
from ail-framework.
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.
from ail-framework.
Forgot to mention. In the pystemon.yaml, make sure redis is set to yes.
from ail-framework.
Ok, I thought the feeder runs when I start the whole framework.
The Path is edited and redis is set to 'yes' in the yaml.
Upto now nothing happend.
Might need to restart it.
Is there a certain order I have to launch it in?
Btw. I'm using tmux instead of screen.
If you say it should definietly work now, I would just re-setup that whole thing and try again.
from ail-framework.
Little Update:
Still does not show anything.
Current config: http://pastebin.com/kfpsi2q1
The redis is set to yes. In the pastebin link it's set to no, since I copied it from my issue from pystemon.
Also tried to change the Redis DB to 10 in packages/config.cfg
Anything else I did miss?
(Might want to set it up completely manually.
from ail-framework.
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:
- search: '[A-Z0-9_.+-]+@[A-Z0-9.-]+.[A-Z]{2,4}'
this would search for anything with a email address.
from ail-framework.
Make sure to set the DB setting back to what it was in the config.cfg file.
from ail-framework.
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.
https://github.com/Beercow/pystemon.git
from ail-framework.
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.)
But that will probably take until tomorrow.
Thanks for all the help though!
OT: For what are you using the local proxy? (What kinda advantage gives that you?) If I may ask.
from ail-framework.
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.
from ail-framework.
Well. Little update:
Fresh installed Ubuntu 14.04 LTS
Did everything as described above.
Pystemon now shows hits.
Got the feeder running in a tmux session.
Got the flask server running in a tmux session.
Got pystemon running in a tmux session.
Still no output on the Website.
Don't really know anymore.
Slightly intetesting response in the flask server output:
/static//csv/wordstrendingdata.csv HTTP 1.1 404
from ail-framework.
Permissions issue maybe? I also run pystemon from the AILENV. Try running everything as root and see what happens.
from ail-framework.
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.
from ail-framework.
I'm nearly always running everything as root.(Not really secure, I know.)
Tried to launch pystemon from AILENV.
It asks for the BeautifulSoup3 Library.
Installed it via apt-get and pip. Still asks for it.
Got python listening on 5556 (probably the feeder)
Redis leveldb on 2013 and 2014
Redis Server on 6379 and 6380 and 6381
Python on 5004 and 5005?
Looks how it should to me.
No errors, is it normal that they have no output?
from ail-framework.
I'm closing this for now.
Rebooted my server.
Killed all redis processes. I found with netstat -tulpn.
Started the everything from the LAUNCH.sh.
Started the feeder.
Started pystemon.
It somehow magically worked, and I get hits.
Don't really know what solved the problem.
Seems like it's the magic of rebooting.
Thanks alot for your help!
from ail-framework.
Related Issues (20)
- Submit file encoding error
- Inquiry on accessing the web interface HOT 2
- All crawled domains are down
- Flask and jinja update? - markupsafe soft_unicode deprecation
- Search by tags question
- Rocksdb won't build
- Help for a demo HOT 1
- AIL Framework Intsallation/Build Error Makefile HOT 3
- Web pages "down" when crawling (Crawler_AIL exception) HOT 1
- ERROR - Please make sure you have a AIL-framework environment, au revoir HOT 1
- Please make sure you have a AIL-framework environment, au revoir HOT 3
- AIL Framework not starting v4.2 (same like #442) HOT 5
- CentOS 8 Install error
- Cannot Access localhost:7000 on AIL VM HOT 3
- Install Rocksdb Issue HOT 5
- Install issue via docker HOT 3
- About MISP collaboration issue HOT 2
- Install failing Ubuntu 20.04 - Believe due to PyMISPGalaxies update HOT 2
- PystemonImporter .py error HOT 1
- Error in installing_deps.sh (Debian 12.1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ail-framework.