Skip to content

Commit

Permalink
Added PowerShell check in fb technique.
Browse files Browse the repository at this point in the history
  • Loading branch information
stasinopoulos committed Feb 26, 2016
1 parent 346262e commit 1b95fce
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,10 @@ def do_check(separator, payload, TAG, delay, prefix, suffix, http_request_method
if not menu.options.verbose and not settings.ENUMERATION_DONE:
print ""

# Check if PowerShell is enabled.
if not menu.options.ps_version and settings.TARGET_OS == "win":
checks.ps_check()

if menu.options.ps_version and settings.TARGET_OS == "win" and settings.PS_ENABLED == None:
powershell_version(separator, payload, TAG, delay, prefix, suffix, http_request_method, url, vuln_parameter, OUTPUT_TEXTFILE, alter_shell, filename)
settings.ENUMERATION_DONE = True
Expand Down

0 comments on commit 1b95fce

Please sign in to comment.