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

add a status function to proftpd service file #604

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 25, 2023

  1. add a status function to proftpd service file

    Without it, chef wouldn't actually start the service, concluding
    for some reason I haven't quite pinned down yet that the service was already
    running.
    
    An alternative would be to bypass chef's checks and do a chef `execute do command service start`,
    but I think this is cleaner?
    
    The matching pattern for pgrep is `^proftpd` is because the server shows up as `proftpd: (accepting connections)`
    
    The matching against the full line in combination with `^` is needed because otherwise pgrep also matches against `/etc/init.d/proftpd`,
    which maybe is why chef was failing in the first place?
    
    this might be affecting other metasploitable services...
    deargle-carve committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    a78a908 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. ugo+x

    deargle-carve committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    d137c4b View commit details
    Browse the repository at this point in the history