The plugin also exposes a command you can call from the Maya listener which will scan files w/o opening them
manik "file-or-folder-path-here"
will scan a file or folder and print issues to the listener
The plugin also exposes a command you can call from the Maya listener which will scan files w/o opening them
manik "file-or-folder-path-here"
will scan a file or folder and print issues to the listener
Possible Amateur suggestion:
(I used this to track down some code at a different job)
For finding code in files including returning surrounding lines:
For finding code in pdfs or office documents (or just multi-pdf search):
For scanning for file names:
In my experience nothing has given me quicker results
Updated instructions and latest version of the scanner here:
This is nuts! I can’t believe that someone wrote a virus for maya.
When I worked at one of the AAA studios we had an issue where we got ma scene bloat due to replicating light linker nodes. I wrote a python script called “SaveAsOptimized” that had logic for clearing out dangling nodes and the light linker nodes and save off a clean file. Perhaps I can write another version of the script and take “viruses” into account? But then again I don’t have a Maya license these days so…
The scanner only finds the files that are suspicious, fixing them is definitely a trickier problem. Often you can render them inert by just removing one one – but almost any fix could possibly be hacked by a motivated attacker too, so we opted to just warn people and let them sort it out for this release.