3 ms·
why not infect .py files directly?
by nirai 15y ago
why not infect .py files directly?
- wladimir 15y agoBecause in general you're more likely to check and/or update the .py files than .pyc files, I'd say. Btw, a nice (GUI) tool for examining/disassembling pyc files is: http://code.google.com/p/pychrysanthemum/ http://code.google.com/p/pychrysanthemum/ (it supports all the different python and bytecode versions without having to mess around with opcodes.py files...)
- nirai 15y agomore likely, as 10^-20 is more likely than 10^-30? when was the last time you have read python files of installed 3rd party software to find viruses and trojans? and even if you bothered, by simple obfuscation you would need to be an expert to identify a trojan in a python file. In addition a simple way to find or clean up such a virus would be to compile .pyc files from their sources during a virus scan. in short that can't be the reason.