SMAP print the details of interconnections between various link in a site. Also, it prints all links found in a particular domain.
{
"URLs": {
"https://goharbor.io": {},
"https://goharbor.io/blogs": {},
"https://goharbor.io/blogs/harbor-joins-cncf": {},
"https://goharbor.io/blogs/hello-world": {},
"https://goharbor.io/community": {},
"https://goharbor.io/docs": {}
},
"Connections": {
"https://goharbor.io": {
"https://goharbor.io": {},
"https://goharbor.io/blogs": {},
"https://goharbor.io/community": {},
"https://goharbor.io/docs": {}
},
"https://goharbor.io/blogs": {
"https://goharbor.io": {},
"https://goharbor.io/blogs": {},
"https://goharbor.io/blogs/harbor-joins-cncf": {},
"https://goharbor.io/blogs/hello-world": {},
"https://goharbor.io/community": {},
"https://goharbor.io/docs": {}
},
"https://goharbor.io/blogs/harbor-joins-cncf": {
"https://goharbor.io": {},
"https://goharbor.io/blogs": {},
"https://goharbor.io/community": {},
"https://goharbor.io/docs": {}
},
"https://goharbor.io/blogs/hello-world": {
"https://goharbor.io": {},
"https://goharbor.io/blogs": {},
"https://goharbor.io/community": {},
"https://goharbor.io/docs": {}
},
"https://goharbor.io/community": {
"https://goharbor.io": {},
"https://goharbor.io/blogs": {},
"https://goharbor.io/community": {},
"https://goharbor.io/docs": {}
},
"https://goharbor.io/docs": {
"https://goharbor.io": {},
"https://goharbor.io/blogs": {},
"https://goharbor.io/community": {},
"https://goharbor.io/docs": {}
}
}
}
StdSiteMap:
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://goharbor.io/docs</loc></url><url><loc>https://goharbor.io/blogs</loc></url><url><loc>https://goharbor.io/blogs/harbor-joins-cncf</loc></url><url><loc>https://goharbor.io/blogs/hello-world</loc></url><url><loc>https://goharbor.io</loc></url><url><loc>https://goharbor.io/community</loc></url></urlset>
Either Go or Docker should be installed.
You can use following commands to build if go is installed:
$ make build
You will get a binary smap in the root folder.
Or you can use following commands if docker is installed.
$ make image
Which will you an image smap:latest.
You can use :-
$ ./smap -domain=goharbor.com -depth=3
You can use :-
$ docker run -ti smap smap -domain=goharbor.io