February 2018
Intermediate to advanced
426 pages
11h 3m
English
Once we have saved the module in its preferred directory, the next step will be to execute it and see if it is working. We have already seen the process of module execution in previous recipes:
msf exploit(psexec) > use post/windows/gather/wmic_user_enummsf post(wmic_user_enum) > set SESSION 1SESSION => 1msf post(wmic_user_enum) > run[*] Executing commandName Administrator anakin_skywalker ...[*] Post module execution completedmsf post(wmic_user_enum) >
This is a small example of how you can build and add your own module to the framework. You definitely need a sound knowledge of Ruby scripting if you want to build good modules. You can also contribute to the Metasploit community by releasing your module and let others benefit ...
Read now
Unlock full access