����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!powershell
# Copyright: (c) 2016, Jon Hawkesworth (@jhawkesworth) <jhawkesworth@protonmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#AnsibleRequires -CSharpUtil Ansible.Basic
$spec = @{
options = @{
msg = @{ type = "str" }
msg_file = @{ type = "path" }
start_sound_path = @{ type = "path" }
end_sound_path = @{ type = "path" }
voice = @{ type = "str" }
speech_speed = @{ type = "int"; default = 0 }
}
mutually_exclusive = @(
, @('msg', 'msg_file')
)
required_one_of = @(
, @('msg', 'msg_file', 'start_sound_path', 'end_sound_path')
)
supports_check_mode = $true
}
$module = [Ansible.Basic.AnsibleModule]::Create($args, $spec)
$msg = $module.Params.msg
$msg_file = $module.Params.msg_file
$start_sound_path = $module.Params.start_sound_path
$end_sound_path = $module.Params.end_sound_path
$voice = $module.Params.voice
$speech_speed = $module.Params.speech_speed
if ($speech_speed -lt -10 -or $speech_speed -gt 10) {
$module.FailJson("speech_speed needs to be an integer in the range -10 to 10. The value $speech_speed is outside this range.")
}
$words = $null
if ($msg_file) {
if (-not (Test-Path -LiteralPath $msg_file)) {
$msg = -join @(
"Message file $msg_file could not be found or opened. "
"Ensure you have specified the full path to the file, and the ansible windows user has permission to read the file."
)
$module.FailJson($msg)
}
$words = Get-Content -LiteralPath $msg_file | Out-String
}
if ($msg) {
$words = $msg
}
if ($start_sound_path) {
if (-not (Test-Path -LiteralPath $start_sound_path)) {
$msg = -join @(
"Start sound file $start_sound_path could not be found or opened. "
"Ensure you have specified the full path to the file, and the ansible windows user has permission to read the file."
)
$module.FailJson($msg)
}
if (-not $module.CheckMode) {
(new-object Media.SoundPlayer $start_sound_path).playSync()
}
}
if ($words) {
Add-Type -AssemblyName System.speech
$tts = New-Object System.Speech.Synthesis.SpeechSynthesizer
if ($voice) {
try {
$tts.SelectVoice($voice)
}
catch [System.Management.Automation.MethodInvocationException] {
$module.Result.voice_info = "Could not load voice '$voice', using system default voice."
$module.Warn("Could not load voice '$voice', using system default voice.")
}
}
$module.Result.voice = $tts.Voice.Name
if ($speech_speed -ne 0) {
$tts.Rate = $speech_speed
}
if (-not $module.CheckMode) {
$tts.Speak($words)
}
$tts.Dispose()
}
if ($end_sound_path) {
if (-not (Test-Path -LiteralPath $end_sound_path)) {
$msg = -join @(
"End sound file $start_sound_path could not be found or opened. "
"Ensure you have specified the full path to the file, and the ansible windows user has permission to read the file."
)
$module.FailJson($msg)
}
if (-not $module.CheckMode) {
(new-object Media.SoundPlayer $end_sound_path).playSync()
}
}
$module.Result.message_text = $words.ToString()
$module.ExitJson()
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 0 B | 0644 |
|
| psexec.py | File | 18.61 KB | 0644 |
|
| win_audit_policy_system.ps1 | File | 5.15 KB | 0644 |
|
| win_audit_policy_system.py | File | 2.11 KB | 0644 |
|
| win_audit_rule.ps1 | File | 6.66 KB | 0644 |
|
| win_audit_rule.py | File | 4.71 KB | 0644 |
|
| win_auto_logon.ps1 | File | 13.93 KB | 0644 |
|
| win_auto_logon.py | File | 1.99 KB | 0644 |
|
| win_certificate_info.ps1 | File | 4.98 KB | 0644 |
|
| win_certificate_info.py | File | 7.73 KB | 0644 |
|
| win_computer_description.ps1 | File | 1.82 KB | 0644 |
|
| win_computer_description.py | File | 1.67 KB | 0644 |
|
| win_credential.ps1 | File | 28.41 KB | 0644 |
|
| win_credential.py | File | 6.72 KB | 0644 |
|
| win_data_deduplication.ps1 | File | 3.93 KB | 0644 |
|
| win_data_deduplication.py | File | 2.4 KB | 0644 |
|
| win_defrag.ps1 | File | 2.6 KB | 0644 |
|
| win_defrag.py | File | 2.59 KB | 0644 |
|
| win_dhcp_lease.ps1 | File | 14.15 KB | 0644 |
|
| win_dhcp_lease.py | File | 4.18 KB | 0644 |
|
| win_disk_facts.ps1 | File | 13.22 KB | 0644 |
|
| win_disk_facts.py | File | 46.9 KB | 0644 |
|
| win_disk_image.ps1 | File | 2.63 KB | 0644 |
|
| win_disk_image.py | File | 1.67 KB | 0644 |
|
| win_dns_record.ps1 | File | 8.35 KB | 0644 |
|
| win_dns_record.py | File | 5.1 KB | 0644 |
|
| win_dns_zone.ps1 | File | 11.84 KB | 0644 |
|
| win_dns_zone.py | File | 5.39 KB | 0644 |
|
| win_domain_computer.ps1 | File | 11.06 KB | 0644 |
|
| win_domain_computer.py | File | 8.71 KB | 0644 |
|
| win_domain_group.ps1 | File | 14.9 KB | 0644 |
|
| win_domain_group.py | File | 7.28 KB | 0644 |
|
| win_domain_group_membership.ps1 | File | 5.1 KB | 0644 |
|
| win_domain_group_membership.py | File | 3.9 KB | 0644 |
|
| win_domain_object_info.ps1 | File | 10.84 KB | 0644 |
|
| win_domain_object_info.py | File | 6.64 KB | 0644 |
|
| win_domain_ou.ps1 | File | 8.55 KB | 0644 |
|
| win_domain_ou.py | File | 4.97 KB | 0644 |
|
| win_domain_user.ps1 | File | 21.13 KB | 0644 |
|
| win_domain_user.py | File | 14.23 KB | 0644 |
|
| win_dotnet_ngen.ps1 | File | 2.09 KB | 0644 |
|
| win_dotnet_ngen.py | File | 2.74 KB | 0644 |
|
| win_eventlog.ps1 | File | 10.82 KB | 0644 |
|
| win_eventlog.py | File | 4.82 KB | 0644 |
|
| win_eventlog_entry.ps1 | File | 2.96 KB | 0644 |
|
| win_eventlog_entry.py | File | 2.04 KB | 0644 |
|
| win_feature_info.ps1 | File | 1.46 KB | 0644 |
|
| win_feature_info.py | File | 4.6 KB | 0644 |
|
| win_file_compression.ps1 | File | 4.11 KB | 0644 |
|
| win_file_compression.py | File | 3.05 KB | 0644 |
|
| win_file_version.ps1 | File | 2.11 KB | 0644 |
|
| win_file_version.py | File | 1.46 KB | 0644 |
|
| win_firewall.ps1 | File | 3.6 KB | 0644 |
|
| win_firewall.py | File | 2.24 KB | 0644 |
|
| win_firewall_rule.ps1 | File | 14.66 KB | 0644 |
|
| win_firewall_rule.py | File | 5.55 KB | 0644 |
|
| win_format.ps1 | File | 7.44 KB | 0644 |
|
| win_format.py | File | 3.46 KB | 0644 |
|
| win_hosts.ps1 | File | 9.75 KB | 0644 |
|
| win_hosts.py | File | 3.77 KB | 0644 |
|
| win_hotfix.ps1 | File | 9.59 KB | 0644 |
|
| win_hotfix.py | File | 4.72 KB | 0644 |
|
| win_http_proxy.ps1 | File | 9 KB | 0644 |
|
| win_http_proxy.py | File | 3.37 KB | 0644 |
|
| win_iis_virtualdirectory.ps1 | File | 4.55 KB | 0644 |
|
| win_iis_virtualdirectory.py | File | 2.91 KB | 0644 |
|
| win_iis_webapplication.ps1 | File | 5.33 KB | 0644 |
|
| win_iis_webapplication.py | File | 2.74 KB | 0644 |
|
| win_iis_webapppool.ps1 | File | 12.36 KB | 0644 |
|
| win_iis_webapppool.py | File | 7.03 KB | 0644 |
|
| win_iis_webbinding.ps1 | File | 13.49 KB | 0644 |
|
| win_iis_webbinding.py | File | 3.91 KB | 0644 |
|
| win_iis_website.ps1 | File | 5.84 KB | 0644 |
|
| win_iis_website.py | File | 4.15 KB | 0644 |
|
| win_inet_proxy.ps1 | File | 19.09 KB | 0644 |
|
| win_inet_proxy.py | File | 5.95 KB | 0644 |
|
| win_initialize_disk.ps1 | File | 4.4 KB | 0644 |
|
| win_initialize_disk.py | File | 2.12 KB | 0644 |
|
| win_lineinfile.ps1 | File | 14.75 KB | 0644 |
|
| win_lineinfile.py | File | 6.88 KB | 0644 |
|
| win_listen_ports_facts.ps1 | File | 2.39 KB | 0644 |
|
| win_listen_ports_facts.py | File | 2.88 KB | 0644 |
|
| win_mapped_drive.ps1 | File | 17.09 KB | 0644 |
|
| win_mapped_drive.py | File | 5.19 KB | 0644 |
|
| win_msg.ps1 | File | 1.48 KB | 0644 |
|
| win_msg.py | File | 2.83 KB | 0644 |
|
| win_net_adapter_feature.ps1 | File | 2.33 KB | 0644 |
|
| win_net_adapter_feature.py | File | 2.01 KB | 0644 |
|
| win_netbios.ps1 | File | 2.6 KB | 0644 |
|
| win_netbios.py | File | 1.99 KB | 0644 |
|
| win_nssm.ps1 | File | 21.52 KB | 0644 |
|
| win_nssm.py | File | 6.53 KB | 0644 |
|
| win_pagefile.ps1 | File | 8.7 KB | 0644 |
|
| win_pagefile.py | File | 3.78 KB | 0644 |
|
| win_partition.ps1 | File | 12.07 KB | 0644 |
|
| win_partition.py | File | 4.44 KB | 0644 |
|
| win_pester.ps1 | File | 3.6 KB | 0644 |
|
| win_pester.py | File | 2.91 KB | 0644 |
|
| win_power_plan.ps1 | File | 7.28 KB | 0644 |
|
| win_power_plan.py | File | 1.94 KB | 0644 |
|
| win_product_facts.ps1 | File | 3.23 KB | 0644 |
|
| win_product_facts.py | File | 1.57 KB | 0644 |
|
| win_psexec.ps1 | File | 4.33 KB | 0644 |
|
| win_psexec.py | File | 4.7 KB | 0644 |
|
| win_psmodule.ps1 | File | 20.01 KB | 0644 |
|
| win_psmodule.py | File | 5.87 KB | 0644 |
|
| win_psmodule_info.ps1 | File | 11.51 KB | 0644 |
|
| win_psmodule_info.py | File | 14.31 KB | 0644 |
|
| win_psrepository.ps1 | File | 6.95 KB | 0644 |
|
| win_psrepository.py | File | 5.72 KB | 0644 |
|
| win_psrepository_copy.ps1 | File | 6.45 KB | 0644 |
|
| win_psrepository_copy.py | File | 5.51 KB | 0644 |
|
| win_psrepository_info.ps1 | File | 2.09 KB | 0644 |
|
| win_psrepository_info.py | File | 3.07 KB | 0644 |
|
| win_psscript.ps1 | File | 6.02 KB | 0644 |
|
| win_psscript.py | File | 3.76 KB | 0644 |
|
| win_psscript_info.ps1 | File | 3.78 KB | 0644 |
|
| win_psscript_info.py | File | 6.36 KB | 0644 |
|
| win_pssession_configuration.ps1 | File | 22.56 KB | 0644 |
|
| win_pssession_configuration.py | File | 14.37 KB | 0644 |
|
| win_rabbitmq_plugin.ps1 | File | 5.05 KB | 0644 |
|
| win_rabbitmq_plugin.py | File | 1.29 KB | 0644 |
|
| win_rds_cap.ps1 | File | 17.3 KB | 0644 |
|
| win_rds_cap.py | File | 4.07 KB | 0644 |
|
| win_rds_rap.ps1 | File | 12.53 KB | 0644 |
|
| win_rds_rap.py | File | 2.92 KB | 0644 |
|
| win_rds_settings.ps1 | File | 4.28 KB | 0644 |
|
| win_rds_settings.py | File | 1.75 KB | 0644 |
|
| win_region.ps1 | File | 17.22 KB | 0644 |
|
| win_region.py | File | 3.19 KB | 0644 |
|
| win_regmerge.ps1 | File | 3.27 KB | 0644 |
|
| win_regmerge.py | File | 3.09 KB | 0644 |
|
| win_robocopy.ps1 | File | 4.09 KB | 0644 |
|
| win_robocopy.py | File | 4.23 KB | 0644 |
|
| win_route.ps1 | File | 3.08 KB | 0644 |
|
| win_route.py | File | 1.43 KB | 0644 |
|
| win_say.ps1 | File | 3.27 KB | 0644 |
|
| win_say.py | File | 3.87 KB | 0644 |
|
| win_scheduled_task.ps1 | File | 52.41 KB | 0644 |
|
| win_scheduled_task.py | File | 18.89 KB | 0644 |
|
| win_scheduled_task_stat.ps1 | File | 13.08 KB | 0644 |
|
| win_scheduled_task_stat.py | File | 10.02 KB | 0644 |
|
| win_scoop.ps1 | File | 10.01 KB | 0644 |
|
| win_scoop.py | File | 1.91 KB | 0644 |
|
| win_scoop_bucket.ps1 | File | 3.36 KB | 0644 |
|
| win_scoop_bucket.py | File | 1.74 KB | 0644 |
|
| win_security_policy.ps1 | File | 7.6 KB | 0644 |
|
| win_security_policy.py | File | 3.6 KB | 0644 |
|
| win_shortcut.ps1 | File | 13.56 KB | 0644 |
|
| win_shortcut.py | File | 3.77 KB | 0644 |
|
| win_snmp.ps1 | File | 4.75 KB | 0644 |
|
| win_snmp.py | File | 1.8 KB | 0644 |
|
| win_timezone.ps1 | File | 2.28 KB | 0644 |
|
| win_timezone.py | File | 1.96 KB | 0644 |
|
| win_toast.ps1 | File | 3.45 KB | 0644 |
|
| win_toast.py | File | 2.99 KB | 0644 |
|
| win_unzip.ps1 | File | 7.11 KB | 0644 |
|
| win_unzip.py | File | 3.67 KB | 0644 |
|
| win_user_profile.ps1 | File | 6.77 KB | 0644 |
|
| win_user_profile.py | File | 3.54 KB | 0644 |
|
| win_wait_for_process.ps1 | File | 5.64 KB | 0644 |
|
| win_wait_for_process.py | File | 3.84 KB | 0644 |
|
| win_wakeonlan.ps1 | File | 1.42 KB | 0644 |
|
| win_wakeonlan.py | File | 1.62 KB | 0644 |
|
| win_webpicmd.ps1 | File | 2.32 KB | 0644 |
|
| win_webpicmd.py | File | 1.19 KB | 0644 |
|
| win_xml.ps1 | File | 10.39 KB | 0644 |
|
| win_xml.py | File | 4.33 KB | 0644 |
|
| win_zip.ps1 | File | 2.54 KB | 0644 |
|
| win_zip.py | File | 1.53 KB | 0644 |
|