Mono(permview)

πŸ’– permview β€” Mono(permview) πŸ’–

okay bestie, sit down, we're gonna read the permview manual page together and it's gonna be so good, i promise 🫢 this is from the Mono(permview) manual and it's literally the lil tool that peeks inside your assemblies and tells you what security vibes they're hiding.


✨ NAME ✨

permview β€” viewer for declarative security permission sets inside assemblies πŸ’…


🌸 SYNOPSIS 🌸

permview [options] assembly

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does this icon actually do? this tool lets you list the declarative security attributes present in an assembly. those security attributes can live on the assembly level, on the classes, and on the methods β€” they're everywhere fr fr.

why do you care? because this tool is useful for diagnosing why an assembly won't load 😭 or why some class or method throws a SecurityException. it's giving detective energy πŸ”βœ¨


πŸŽ€ OPTIONS πŸŽ€

  • -output filename β€” output all declarative security attributes related informations into the specified file πŸ“
  • -xml | --xml | /XML β€” output all declarative security attributes in an XML format 🧚✨
  • -decl | --decl | /DECL β€” show declarative security attributes on classes and methods. the default, without the -decl option, is to show only the assembly level permission sets πŸ‘‘
  • -? | /? | -h[elp] | /h[elp] β€” display help informations about the permview tool πŸ™ˆ

🌈 EXAMPLES 🌈

okay here's where it gets real, watch this:

permview mscorlib.dll

this will show the minimum, optional and refused permissions sets (i.e. the assembly level security actions) that are compiled inside the mscorlib assembly. no cap πŸ”₯


permview -decl permview.exe

this will show all (assembly, class or method level) declarative security attributes present in the permview.exe assembly. the full picture, periodt πŸ’…


πŸ’œ AUTHOR πŸ’œ

written by Sebastien Pouliot πŸ‘‘


Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)


πŸ“ MAILING LISTS πŸ“

visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details πŸ’Œ


🌸 WEB SITE 🌸

visit http://www.mono-project.com for details 🌐


and that's the whole page bestie, you ate it 🫢 go forth and inspect those assemblies, the security attributes can't hide from you anymore πŸ’–

this was the Mono(permview) manual page β€” copyright 2004-2005 Novell, Inc β€” ily, bye! πŸŽ€βœ¨πŸ¦‹