To start off the mission, you will need to follow Toothpick to the mine entrance. You cannot be seen at all by Toothpick, so make sure you always find cover, as he will periodically turn around and look out. When you reach the mine entrance, Bentley will be attacked by scorpions! Murray comes to the rescue, manning a turret, and you will need to kill 30 scorpions to finish this section. They have four entrances into the area, and there are plenty of TNT barrels around. Make sure you don't keep the trigger pressed, as this will overheat the gun.
Once all 30 scorpions are defeated, one of Bentley's hacking mini-games will commence. This is a twin-stick shooter, and there are some new elements. Once you get past the first firewall, you can gain access to a blue ship that has shots that ricochet off walls. Use this to easily take out the turrets. When you get to the end, you need to hold R2 and circle around the thing in the middle, which should open up the spots with your normal vehicle and the key.
In the second area, avoid the electricity and you'll see a black hole in the second area, as well as enemy tanks spawning, which will likely go straight into the black hole. Make your way to the next point, changing into the blue ship and "charging" around both crystal things to open the next path. Destroy the turret, change back into the green vehicle, grab the key and unlock the portal.
The last area has an enemy that fires off a lot of shots, so just circle around it and keep shooting to finally destroy it. Use the blue vehicle's ricochet shots to take out the turrets on both sides, then change back and grab the key, unlocking the portal and completing the hack.
You're now playing as Tennessee "Kid" Cooper. Hold L1 to aim and R1 to shoot, hitting the center of the vault door multiple times to open it. When you come to the lasers, aim at the green switch and hit it to disable them. Some spiders will come to play, so take them out with your gun. Once you get to the door, you'll hear about Kid's Crackshot technique, so use that to open it.
You'll have to do an on-rails grind here, while avoiding electric barriers and falling rocks, so you will have to move from one side to the other. Don't worry about anything else other than what's on the rails. Also, don't be startled with the gaps, as you will automatically jump them.
The next area is full of enemies, so use a combination of regular shots and Crackshot to take them all out. You'll encounter big guys, who will take multiple shots, small ones and even spiders. When you get to the end, use Crackshot to open the vault door.
There's another rail session here, so keep your eye on the rails. In the next area, there are more enemies to shoot and when you get to the end, there's a Crackshot spot that is hiding a Secret Sly Mask behind it. Once that's clear, use Crackshot again to open the vault door. There's another grind rail session here, only vault doors are your obstacles. The first one needs normal shots, while the second needs Crackshot. Make it past the second door to finish the mission.