官术网_书友最值得收藏!

  • Hands-On Red Team Tactics
  • Himanshu Sharma Harpreet Singh
  • 226字
  • 2021-08-13 15:36:44

Armitage and Cortana scripts

Cortana is a scripting language that is built into Armitage and Cobalt Strike. This is based on Sleep Scripting Language (http://sleep.dashnine.org/ ). We can find a lot of Cortana scripts built by different people on the internet. These scripts can be used to automate different tasks in Armitage. Running Cortana scripts is extremely easy. We will use the scripts hosted on GitHub by rsmudge, found here at https://github.com/rsmudge/cortana-scripts.

We then download the scripts on our computer and go to Armitage | Scripts... to run them:

In the window which opens, we choose Load and select the script we downloaded:

We will then try to run the icon script. This script identifies the services running and displays icons according to them:

Once the script is loaded, we then do the exploitation. When a new Meterpreter connection comes, this script will automatically run:

The script can sometimes take a while to run depending on the number of Meterpreter connections we have on our Armitage.

Within Armitage, the Cortana console is also provided. This allows us to interact with the scripts we run.

To view the console, we go to View | Script Console, as follows:

We can type help into the script console to see the list of all the commands:

Cortana's official manual has described the functions for all the commands:

Source: http://www.fastandeasyhacking.com/download/cortana/cortana_tutorial.pdf
主站蜘蛛池模板: 大兴区| 曲沃县| 大宁县| 晴隆县| 福鼎市| 集贤县| 西宁市| 武夷山市| 金秀| 新田县| 阜城县| 利津县| 萨迦县| 慈溪市| 股票| 通城县| 兰坪| 营口市| 渑池县| 齐河县| 余庆县| 织金县| 沧州市| 含山县| 阆中市| 都匀市| 深水埗区| 兴隆县| 天台县| 图们市| 岚皋县| 巴彦淖尔市| 什邡市| 舒城县| 攀枝花市| 乃东县| 达尔| 贵德县| 灵川县| 临安市| 杭锦后旗|