Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Spoopy.link: in-depth link scanning (spoopy.link)
11 points by snek on July 19, 2017 | hide | past | favorite | 8 comments



I was just snooping ;) and look at what occurs when you try this: https://spoopy.link/api/spoopy.link/api/spoopy.link/api/spoo...


muh api!!!!!

Don't worry, i limit redirects to a max of 4, because tbh if something redirects more than four times, its probably spoopy.


For those of you who are into apis, you can do a quick GET to `/api/<url>` OR if you prefer to stream results, as they can take a bit of time to generate, you can setup a ws connection at `/<url>`. (see https://repl.it/JWN0/3 for an example)


But what are the criteria to make a link Spoopy? It would be great to see what the link I just tried to check fails on exactly. Perhaps if my website was found to be Spoopy, I know what I can do to fix it?


Remember you need to validate your input has a safe prefix:

* https://spoopy.link/file:///etc/motd


For the purposes of this project I'm not sure that `file:` is a safe uri prefix.


No https allowed in search?


Nice!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: