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 variable HTTP header for apache_mod_cgi_bash_env #3902

Merged
merged 1 commit into from
Sep 27, 2014

Conversation

wvu
Copy link
Contributor

@wvu wvu commented Sep 27, 2014

Also switch from OptEnum to OptString for flexibility.

cc @jvazquez-r7

Also switch from OptEnum to OptString for flexibility.
@hdm hdm self-assigned this Sep 27, 2014
hdm pushed a commit to hdm/metasploit-framework that referenced this pull request Sep 27, 2014
@hdm hdm merged commit 044eeb8 into rapid7:master Sep 27, 2014
@@ -38,8 +38,8 @@ def initialize(info = {})

register_options([
OptString.new('TARGETURI', [true, 'Path to CGI script']),
OptEnum.new('METHOD', [true, 'HTTP method to use', 'GET',
['GET', 'POST']]),
OptString.new('METHOD', [true, 'HTTP method to use', 'GET']),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OptEnum is a better choice than OptString for this. Why change the type?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There may be cases where a non-standard method is useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants