communication/http

set HTTP User-Agent in .NET

rule:
  meta:
    name: set HTTP User-Agent in .NET
    namespace: communication/http
    authors:
      - michael.hunhoff@mandiant.com
    scopes:
      static: function
      dynamic: unsupported  # requires property features
  features:
    - or:
      - property/write: System.Net.HttpWebRequest::UserAgent

last edited: 2023-11-24 10:34:28