Skip to content

_output_ should strip trailing forward slashes #56

Description

@codingo

When building command files I notice that the trend is to build them as:

nmap -sC -sV -oA _output_/scans/nmap _target_

Noting that a slash after _output_ is the trend.

The problem with this is that it's not uncommon to then launch this command file as something like:

interlace -cL example.il -t 127.0.0.1 -o ./

This results in a path that has // within it. To better support such use cases, as a default the output flag should strip any trailing forward slashes. This should also be noted within README.md as expected behavior.

Activity

  1. prodigysml commented on Aug 15, 2019

    @prodigysml
    Collaborator
  2. codingo commented on Aug 16, 2019

    @codingo
    OwnerAuthor

    Closed with #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions