host-interaction/file-system

check file extension in .NET

rule:
  meta:
    name: check file extension in .NET
    namespace: host-interaction/file-system
    authors:
      - michael.hunhoff@mandiant.com
    scopes:
      static: function
      dynamic: call
  features:
    - or:
      - api: System.IO.Path::GetExtension
      - api: System.IO.Path::HasExtension

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