On day 17 you're taking back control from the beast-brain, which is screaming for it's same old, same old. But with your higher and smarter brain, you're taking back control, overriding the urges, and with your veto power, you're saying who's in charge!
The comfort that porn and booze offer is over in less than a second, and then you're stuck for the next days and weeks with suck-ass remorse, and horrible feelings of regret. The lower brain, the beast-brain likes to play this game> it urges you to use, like it's life-or-death, promising you paradise. But instead, half a second later, you're left with an empty bag, and anger toward yourself, and tons of regret, which start the cycle all over again... because the solution to all this pain? More porn and more booze!
Remember your lesson from recent experience, ignore the urges and breathe deep until they pass. Whatever you do, don't infuse them with emotions. You're doing great, Escape!