So I really want to show you how versatile interpretor scripting is, it has a scripting environment
that allows you to write your own script or use the pre written scripts by the community.
And like the rest of the Mideast policy framework.
The scripts are written in Ruby and located in the main metastable directory in scripts interpretor.
And there's a wide variety of useful scripts that can help you to automate your workload in the media
spotlight framework.
The script said, I'm going to mention are intended to be used with an interpreter shell after a successful
compromise of a particular target.
So once you have gained a session on the target, that's when you can use these scripts.
However, the Métis boy team decided to convert these scripts to post exploitation modules.
Not every script has an equivalent post module, but most of them have.
So let's have a look at what we have.
So I've got a system level shell on Métis, voidable three.
So we're going to work on this session.
So let's open up a new tab and go to my interpreter scripts folder, which is under the Mat Exploit
Framework Directory.
Now, this was the files here.
So these are the material scripts that are available when I recorded the course.
All right, so let's have a look at one.
Them enum logged on users.
Now, here you see Ruby code.
So it's possible to edit or you can create a new one.
It's up to you and to go back to my session.
And I'm going to run this script that I viewed so run I'm logged on users.
Without any options, it's going to display the help menu.
Now, this time I will add C and L for my parameters.
And here come the results, currently logged users and logged users.
OK, and almost every material script has an equivalent post module, so Inam logged on users as also
one with the same name.
And let's look at the information for this module info post, Windows Gather.
Inam logged on users.
So the scripts are good, but post modules are concurrent and they're more in the style of Menis Boy.
And you can set your variables here, but I'm not going to at this point, and you can run a script
and a post module the same way.
So you type run and then the name of the postmodern.
And then hit enter.
And the module say the results to this part.
So copy that path and open another tab, a file is already open, so quit them.
Vim and pace a path here, and you see that it saves only currently logged users, so you don't have
to view this file, but some modules bring you an overwhelming amount of information.
So let's quit them.
Oh, and one last thing I want to show you.
So I prepare a quick list of scripts that we've mostly used in the course, as well as our equivalent
post-mortem, but some of them have no post modules and interpreter scripts.
I think it's really handy to use scripts for post exploitation.
But at the end of the day, once you feel comfortable, feel free to use each one, however, will help
you in whatever your needs are for your penetration testing.