@@ -287,14 +287,14 @@ def setup_handler
287287 #
288288 # * query parameter (profile: `parameter "name";`)
289289 # * request header (profile: `header "name";`)
290- # * trailing path seg (default — no placement directive)
290+ # * trailing path seg (default -- no placement directive)
291291 #
292292 # For the path case, the URI looks like `<base>/<id>`, where `<base>`
293293 # is the profile's per-verb `set uri` if defined, otherwise `LURI`
294294 # (each is registered as a separate mount point in `all_uris`).
295295 # Taking the last `/`-separated segment skips the base regardless of
296296 # which one was used. Profile authors should not put `/` in
297- # prepend/append directives — that would split the id across segments
297+ # prepend/append directives -- that would split the id across segments
298298 # and defeat this scheme.
299299 #
300300 # If the profile applied `prepend` / `append` / `base64` / `base64url`
@@ -325,7 +325,7 @@ def find_resource_id(cli, request)
325325
326326 # Reverse the prepend/append + base64 transforms the profile applied
327327 # to the id on the payload side. If a declared wrapper is missing from
328- # the candidate, leave the candidate alone — this is not a payload
328+ # the candidate, leave the candidate alone -- this is not a payload
329329 # request, and `process_uri_resource` will return nil for it.
330330 def unwrap_profile_uuid ( candidate , placement )
331331 prefix = placement . prepend . map { |d | d . args [ 0 ] } . join ( '' )
@@ -357,8 +357,8 @@ def add_response_headers(req, resp)
357357
358358 # Return the live meterpreter session whose passive dispatcher is
359359 # registered for this bare conn_id, or nil if none matches. Used so
360- # MC2 traffic — which Rex routes to on_request because the profile
361- # URI prefix outranks the session's /<conn_id> mount — can still be
360+ # MC2 traffic -- which Rex routes to on_request because the profile
361+ # URI prefix outranks the session's /<conn_id> mount -- can still be
362362 # delivered to the right session instead of triggering a fresh
363363 # "orphaned attach" on every poll.
364364 def session_for_conn_id ( bare_conn_id )
0 commit comments