IDA-Autoruns is a simple plugin to make a script run automatically every time you open a specific IDB.
Caution
This is a very bad idea for anything you get from other people. It just runs code. No sandboxing, no verification.
pip install ida-settings
- Change
EDITOR
to your editor of choice. Important: The editing takes place once the editor process terminates. - Copy
autoruns.py
into IDA's plugin directory.
- Press
View -> Edit Autoruns
to edit the autoruns script - Be sure to save the IDB, as it will store the script
- The script will run automatically when you save it, and every time you load the IDB.
While this plugin is useful for small, IDB-specific hacks, I highly recommend using proper plugins whenever possible.