Skip to content

http-useragent-tester should check for 403 Forbidden, not just redirects #141

Closed

Description

@dmiller-nmap

http-useragent-tester is supposed to check for allowed and forbidden user agents, but it only handles sites that redirect forbidden agents elsewhere. The site could just as easily return a 403 Forbidden status code. Maybe the script should report any differences in HTTP status code, only using the redirect check when the normal response is also a redirect.

Activity

  1. changed the title [-]http-useragent-checker should check for 403 Forbidden, not just redirects[/-] [+]http-useragent-tester should check for 403 Forbidden, not just redirects[/+] on May 28, 2015
  2. h4ck3rk3y commented on Feb 18, 2016

    @h4ck3rk3y

    Checks for redirection different from a browser user-agent, followed by a check for difference in response code. Shows the response code of browser user agent and all the ones where there was a change.
    Also added XML output.
    https://github.com/h4ck3rk3y/nmap-exp-gyani/blob/master/scripts/http-useragent-tester.nse

    /cc @dmiller-nmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions