Skip to content

Instantly share code, notes, and snippets.

@wickett
Created October 23, 2013 15:41
Show Gist options
  • Save wickett/7121100 to your computer and use it in GitHub Desktop.
Save wickett/7121100 to your computer and use it in GitHub Desktop.
@slow
Feature: check to make sure the right ports are open on our server
Background:
Given "nmap" is installed
And the following profile:
| name | value |
| host | lascon.org |
Scenario: Verify server is open on expected ports
When I launch an "nmap-fast" attack
Then the output should match /80.tcp\s+open/
# Use the below to run nmap with whatever flags you want
# Scenario: Verify server is open on expected ports
# When I launch an "nmap" attack with:
# """
# nmap -F <host>
# """
# Then the output should match /80.tcp\s+open/
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment