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

Avoid hardcoded relative paths #578

Merged
merged 10 commits into from
Apr 11, 2019
Merged

Avoid hardcoded relative paths #578

merged 10 commits into from
Apr 11, 2019

Commits on Apr 6, 2019

  1. Introduce a RESOURCE_DIR to avoid relative hardcoded paths

    - Introduce a RESOURCES_DIR similar to other *_DIR
    - Add a resources_directory parameter to lookup_vendor() to avoid possible
      hardcoded directory and - if not provided - pick up the default
      RESOURCES_DIR.
    iamleot committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    4217985 View commit details
    Browse the repository at this point in the history
  2. Avoid possible hardcoded relative paths and use RESOURCE_DIR instead

    (Otherwise ssh_keys are tried to picked up in in ${PWD} (and mostly
    likely failing))
    iamleot committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    a675b40 View commit details
    Browse the repository at this point in the history
  3. Avoid hardcoded relative paths and use MODULES_DIR instead

    Commit id 9380c04 (probably
    accidentally) removed EXPLOITS_DIR use leading to loading
    routersploit/modules/exploits relative to the current directory
    instead of the installed ones in MODULES_DIR.
    iamleot committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    788ec9b View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2019

  1. Configuration menu
    Copy the full SHA
    74ebaf8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17149ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f83762 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    68e0170 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b3cb985 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. Add missing `.'

    Spotted by @lucyoa, thanks!
    iamleot committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    b5f0ec6 View commit details
    Browse the repository at this point in the history
  2. Fix a regression on the semantic/name of payloads

    payloads should be listed/selected as `<architecture>/<payload>', not
    `payloads.<architecture>.<payload>'.
    
    Thanks to @lucyoa!
    iamleot committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    bc7086f View commit details
    Browse the repository at this point in the history