Selasa, 02 Mei 2017

How to hack python’s import functionality

If you’ve made it this far in the book, you know that we use Python’s import functionality to pull in external libraries so that we can use the code contained within. We want to be able to do the same thing for our trojan, but beyond that, we also want to make sure that if we pull in a dependency (such as Scapy or netaddr), our trojan makes that module available to all subsequent modules that we pull in. Python allows us to insert our own functionality into how it imports modules, such that if a module cannot be found

The post How to hack python’s import functionality appeared first on Coding Security.


How to hack python’s import functionality
read more

Tidak ada komentar:

Posting Komentar