This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| T1113 - Screen Capture | |
| T1056 - Input Capture | |
| Capture mouse cursor position and buttons actions | |
| Take a screenshot for each mouse click and save it in $Directory, works on multiple Screens | |
| From PurpleTeam repo https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/get_cursor_position_and_capture_screenshot_on_mouse_click.ps1 | |
| #> | |
| $Directory = "$env:USERPROFILE\Pictures\Saved Pictures" | |
| $CaptureQuality = 80 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** keywords *** | |
| Abrir navegador | |
| [Documentation] Abre o navegador maximizado. | |
| ... e carrega uma extensão que desabilita os alertas Js. | |
| ${options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver | |
| Call Method ${options} add_extension ${ROOT}\\Misc\\disable_alert.crx | |
| Create WebDriver Chrome chrome_options=${options} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.bukkit.command.CommandSender; | |
| import java.util.List; | |
| import java.util.function.BiConsumer; | |
| import java.util.function.Consumer; | |
| /** | |
| * A simple utility to create chat pages | |
| * | |
| * @param <E> The type of list to sort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Settings *** | |
| Library AppiumLibrary 15 run_on_failure=Log Source | |
| Library Process | |
| Suite Setup Spawn Appium Server | |
| Suite Teardown Close Appium Server | |
| Test Teardown Close Application | |
| *** Variables *** | |
| ## Go here to download the apk for the app used in this test -> https://drive.google.com/file/d/19FxLjux8ZtumweXzBA_CYrL0Va-BL4gY/view?usp=sharing |
Custom Java libraries for the Robot Framework can be written as:
- Static keyword library
- Dynamic keyword library
Create a Maven project with following dependencies:
<dependency>
<groupId>org.robotframework</groupId>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // The following license should allow reuse, redistribution, with or without edits and with or without attribution. | |
| // Do what you want with it! | |
| /* | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2018 MrBlobman | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal |
