DRL control module is under the dash:
Which black box?
If your car is a 2000 or older, you can simply pull out the DRL fuse to disable both features.
For the auto-lights, you need the resistor. If you disconnect the wires, your DRL module will keep the headlamps on forever...