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

  • 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
主站蜘蛛池模板: 弋阳县| 翁牛特旗| 江源县| 京山县| 漯河市| 舒城县| 分宜县| 沙洋县| 喀喇沁旗| 同德县| 日土县| 沂南县| 泰宁县| 北辰区| 松滋市| 锦州市| 囊谦县| 陆川县| 新巴尔虎左旗| 南靖县| 鹤壁市| 鹿泉市| 乐陵市| 九龙县| 盘锦市| 郑州市| 那曲县| 镇原县| 静乐县| 德化县| 嘉善县| 宁明县| 中卫市| 桦川县| 无锡市| 平泉县| 准格尔旗| 五河县| 蛟河市| 冀州市| 辽源市|