News for hackers. Stuff that matters.
Re:Show HN: Pytroj - Infect .pyc files by nirai on Monday September 26, 2011 @04:23PM (#3040590)
why not infect .py files directly?
Re:Show HN: Pytroj - Infect .pyc files by wladimir on Tuesday September 27, 2011 @01:55AM (#3042061)
Because 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/ (it supports all the different python and bytecode versions without having to mess around with opcodes.py files...)

Re:Show HN: Pytroj - Infect .pyc files by nirai on Wednesday September 28, 2011 @07:30AM (#3047350)
more 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.