Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sns does not account for multiple of the same shortnames #1

Open
davidmckennirey opened this issue Jul 9, 2021 · 1 comment
Open

Comments

@davidmckennirey
Copy link

Hello! First off I want to say thanks for writing this tool, I have been looking for an alternative to the Java shortname scanner for awhile now. In my testing, I found that this scanner didn't pick up all the same shortnames as the Java version. Specifically, if there are multiple endpoints with the same 6 character prefix, then sns will miss it. For example, I had this output from the Java version

    |_ ARCHIV~1.ASP
    |_ ARCHIV~2.ASP
    |_ ARCHIV~3.ASP

But only had this show up from sns

archiv~1.asp*	Not found	File

sns missed that there were multiple endpoints with "ARCHIV" as the prefix. I think the solution here would be that once a valid endpoint is discovered, then the integer on the end should be incremented until the result meets the false condition (I'll admit I don't know exactly how it works 😅 ).

@sw33tLie
Copy link
Owner

sw33tLie commented Jul 9, 2021

Hey there, thank you for raising this issue.
I will take a look at the code as soon as I have time and hopefully push a fix soon..shouldn't be hard :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants