You need to help the bike to help you Boondog so make sure you move your weight as far forward as you can which unweights the back wheel and helps the front tyre to bite into the ground. You do this generally by shifting you arse right up on the tank.
You should put your leg out and forward (the one on the inside of the corner) so that if the bike starts to slide away from you you can rescue it with a quick dab.
The rest is really throttle control and confidence through practice. Experiment on a slower loamy corner without any rocks present and crank the bike over more and more whilst applying increasing amounts of throttle.
9 times out of 10 the front wheel will start to lose traction and slide before the bikes gives way and goes down. This is how far you can push it for now. When you get better you’ll be rounding corners with both wheels in a controlled slide 