I could see documentation for the use of the ronin-* commands but I couldn’t find one for wordlist (ronin.wordlist). Can you please point to any existing documentation which outlines this?
+1 from for granting ronin snap following auto-alias:
ronin.ronin-db → ronin-db
ronin.ronin-exploits → ronin-exploits
ronin.ronin-fuzzer → ronin-fuzzer
ronin.ronin-payloads → ronin-payloads
ronin.ronin-repos → ronin-repos
ronin.ronin-vulns → ronin-vulns
Regarding wordlist auto-alias, It does not look appropriate in this situation for me. I think that it should be possible (and a better alternative) to create a wordlist snap exposing wordlist by slotting a content interface. You can then make use of the default-provider attribute to establish the dependency between ronin and wordlist so that snapd automatically install wordlist snap when installing the ronin one. Would that make sense?
If I did create a snap just for wordlist and added it to stage-snap, then there would be two copies of wordlist installed on the user’s file-system, the wordlist gem installed inside of the ronin snap and the separate wordlist snap.
Whilst I never tried it, it should be possible (If I understood the documentation properly) to remove wordlist from stage-package and stage-snap and share wordlist libraries and binaries through the content interface so it will be available to ronin snap, thus removing duplicates from the file-system.
You can either add documentation to instruct user to create the alias locally by issuing snap alias ronin.wordlist wordlist
wordlist is a gem dependency of the ronin gem, which is already published to rubygems.org and installed by rubygems inside of the snap. So I can’t replace a gem dependency with a snap dependency.