So this year they will be enumerating all your friends from the rubric and then we'll be testing whether
we can we have the right access to that site.
So let's get started.
First of be using the namespace.
That is standard.
That's great and function.
Let's get right to it.
And we will.
Passing a string that is about a syndrome.
That is this.
That is the legacy.
That's a group.
So we can enumerate the better trees in try using that better trade class that.
And you've read that actress.
Sorry.
It's.
So we have a better trainer so he can see the number seven work rate directly.
You put it number three, we can create one get current directory.
So interesting about the new directories and we're finding out that I presume this area and within each
directory will be finding ah the fence so that uh, new directories and the syntax is the string you
need to pass that is root, that is directory and you can also pass the search pattern.
Right.
It's like a search filter.
You can say starboard xy, our starboard deal or you can simply we need to get other directories.
And the third option is that in the search option, search option that you can see here, there are
two values order trees and double tyranny.
So are better trees in the sense we get better directories as well.
So that's about this various constructions, uh, which are various functions for this enumerate directories.
So for another way enumerating directory.
So see Drew, and if you hold on to this the return type, this collections.
So again just string $10 business equals two.
And now I can say for each spring that a tree in our trees I can put into this directory.
So let's go and run.
This one will be.
So let's about this one.
So class one CS equals two new class.
And see that they're right about.
So you can see I have created a very good router with the agency.
So at the rate of a sport, these special characters, if you do not put this address, this will be
treated as a backward trash code.
So this will be treated as a code, not a backward.
And here you can see, uh, we've got the trees.
So in these trees, we want to move forward.
Are the fires.
So we can say better trade not enumerate friends of.
So in the same way we can say this is the syntax for this, the parameters are also seen in foreign
territories.
You need to pass the directory that is there and the search pattern.
I want to get order that addresses are the values and the search option, not all directories.
So I want to get all the files under there.
Considered press against the references equals to this one.
No.
I want to include a trigger to block if there is any error.
We can just ignore that.
So you will be getting nano radiation x etc. for some files because you are accessing from the sea.
Do not understand how the access.
So what I can do is for each string file in violence against the printing the file.
So that's where this and on this one and here I can see you can see we get all the files.
So in these files, what we are going to do is we are going to try to open this file in the read, write
more.
So we can use photographs.
So file dot.
You can see if you can also use it.
Just read our text, read our list.
Those are normal functionality and the one we are interested in.
Open.
So file that open.
So are we using open?
You can also use this one.
So open.
Right.
Is it will directory write the fire when we are running this one.
So we don't want that.
We just want to open the handle to the file.
Open off.
So this will open how many arguments?
So first one is the part, the file part and the file mode.
Whether we want to open or open do or open right, etc. and file access or whatever practice you want
to have or read.
All right.
So first one is obviously the file name and the second one is file more.
You save, file more, not open.
And next one is file access that so far I accidentally.
So we are checking for the files that we have both read and write access.
You can also have another one that is violation or whenever you are opening this one, when this process
is opening this file, what should other paths process?
How the access.
So you can define that if you want like X with you access to this file so far that open so it will return
if I in stream object so it is a file stream.
FCC goes to this one and what we're going to do is we are going to try this one if there is many exceptions
because of the files, those are in the central which you don't have access to.
So if there is any exception, we just simply want to catch that and the following lines of code only
execute if the file access that we write is successful.
So that means we can say, uh, all right, access on.
This fight.
So let's run this.
So would have been see how a lot of you have access to a lot of friends and we can say, I'm going to
promote this one and to our self zero.
So I want to come on then.
I want to give covenant arguments.
So far.
Simplicity, purpose.
I want to do only this small Florida.
So it's a desktop.
And here you can see we've got we have a lot more straight access to everything.
So let's see Windows System32.
And we have raised taxes on fuel our planes.
Okay, so let's remove this one because we are not, uh, we are getting confused whether the script
is running in the background or it has completed the search.
Now let's run this and you can see the script exited with this output.
So you can also add the filter functionality.
So let's stop here.
And the filter is this one, right?
So what we can do is.
We can get out of the argument, and that is we are going to pass.
ARGs.
So the first one would be our golf grow.
That is the that is actually the part we want to search for.
And the next one is going to be half of our gulf.
One is equals, two is equals two, not as equals two.
Now then it's a string.
Then it's a filter is equal to.
I've got one.
Alice we conservatory sequence to that is start.
And here we need to replace the numerator first with the filter.
Okay.
I think it should work now if I get windows.
Okay.
We got some real.
Nix was outside the bounds of day.
So let's get a spa for this.
Well, there we are.
The output when we gave the filter.
Star.
Don't be alone.
So not.
Gareth Scarborough To do it, we need to argue the start answer should be included in the center.
So there is an error when we do not do.
This one, when we did not do the filter, we got the index exemption.
We can say if our Goodland.
Greater than one.
Then we can say the second argument is further.
So they should might work.
Okay.
So it's working.
Whenever you do not go any further, it is getting further and further extensions.
We can also do that.
Certainly XY.
Okay.
We don't have XY.
We have X Animal.
So we got the X of my first.
So.
Okay.
How are the bees?
Vulnerable.
Machine.
So let's go and download the binary onto this machine and check for any insect permissions.
So I have training with this to do research about the taxi.
Okay.
Go download it now.
So there is already a vulnerable binary insecure binary that is in the C program files for permissions
service.
This for an inverted exit.
So from the c, i want to find star dot xy and what you can see we have the program files for permissions
via C now.
So we have another order in program program program 30 xy.
You so adverbial as well any writable datas.
Okay, we don't have any road clearance, so that's how we can use Shihab to find the writable files
from the partition.