
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
github.com/nerophon/crawler
An engineering exercise implemented in Go.
A simple web crawler that visits all pages within a given domain, but does not follow external links. It outputs a simple structured site map, showing for each page:
This entire project can be cloned directly from github via: https://github.com/nerophon/crawler
cd
to the project directorygo install
The software will be installed to the $GOPATH/bin
directory by default.
This software includes unit tests. They can be run as per standard for Go tests:
cd
to the source folder with test files you wish to rungo test
Benchmarks exist for key steps in the process. These can be run from the root project directory, via the crawler_test.go
file. I suggest running each benchmark separately, using the following commands:
go test -bench=BenchmarkFetch -benchtime=7s
go test -bench=BenchmarkCrawl -benchtime=15s
Please be aware that this kind of benchmark could, if run without care, be interpreted as a DOS attack. The benchtime
flag may need to be adjusted depending upon which website is being used in the test. I strongly advise NOT using commonly DOS'd websites such as those belonging to major corporations.
cd
to the install directory, usually $GOPATH/bin
./crawler
At the application command prompt, the following commands are available:
crawl [URL] begin crawling the specified domain
help show available commands
quit exit the application
Press ctrl-c
during a crawl to halt and force quit back to the OS command line.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.