Hello, everybody.
Welcome back to Basic Expo Development.
And in this section, we're going to show you how to generate the egg hunter and ensure that the egg
hunter actually works.
Now, remember what we did.
We calculate an offset of 70 A's, and within those 70 A's, we are going to place our egg hunter.
Now, what we're going to do sites, by the time we hijack execution with the jump instruction, then
it's going to hit our jump 70 bytes back so that we can land back into our buffer of A's.
So let's go ahead and generate her hunter to make sure that works in the surf hunter dash.
Going to see.
Let's go through how many.
And this set a counter format python.
Tashi.
Woot.
Remember this?
Remember this.
You need to use the two x.
That means woot appended to your show code for it to work, but you don't have to put in one.
As you can see, please get four bites, then take control.
So let's copy and paste this and drop it in.
And we're going to place a kind of her first by rewriting this evil string.
We will string.
People's.
Remember a set of A's instead of the A's.
Now we're going to add we're replacing with not.
So 18 apps plus the Egg Hunters 32.
That makes 50.
Remember, we're trying to jump back 70 bytes plus.
20 more knots.
Oops.
You're just zooming in.
Times 20.
So what's the math here?
Because we're going to do a short job, 20 bytes.
I mean, I 70 bytes right here.
Well, basically, 18 plus 32 the most, but 800, as well as many other self coded countries are 32
bytes long.
18 plus 32 is 50 plus.
Another 20 knots.
That way, when we jump back and we land an incorrect section, then it only will execute nothing.
That's basically do nothing.
Just do nothing and keep incrementing down the stack to find other instructions.
Now we're going to add our job ESP command.
Then our short jump back.
And then we're doing a let's see.
How the rest of sees.
Do your math again.
256 bytes -18 -32 for the egg hunter, -20 for the not following it, minus four more for the jump instruction
and minus four more for jumping back 70 bytes.
That instruction.
We.
We're.
See, but stirred up in the bugger again.
You could play, but make sure you had your break point a jump.
And then go back for the truth concept.
We hit our break point.
Press the button that is two buttons to the right of play to increment.
We landed on our short jump.
Sonia bites.
Where does that take us?
It takes us to our beautiful, beautiful country right here, as you can see.
So before this, no operation instructions.
So that way, if we don't land somewhere right here, we land here.
So the execution, smoothly executing it, once it hits here, it will now find look for that that egg,
basically for the shelf code.
This if you were to keep on earth meaning this.
Just goes in a cycle.
You see that?
That's the egg hunter's coat.
And then in our next video, we're going to show you how the control works on some bogus show code that
will generate.