A LAN crawler and search engine
LASE is a crawler and search engine for files that are shared via FTP or SMB. Project has three elements:
- scanner,
- crawler,
- API/UI.
Scans specified IP range and checks if SMB or FTP is open on these hosts. Results is used for two things. Crawler is scanning the range before every run so it can use it as an input and UI is scanning the range regularly so it can display the host online status in the search result.
Nmap is used for scanning and the results are stored in redis.
Crawls open ports on online hosts that were returned by scanner. Found files are then intexed to elasticsearch. After every run we delete data from previous crawling of the host since we don't want files that were removed in our index.
For communication with frontend there is a REST API available. There is also a very simple UI.
- Install elastic search
- Install redis
- Install python dependencies with
pip -r requirements.txt - Create config - copy config.py.sample to config.py and update it for your needs.