����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
#!powershell

# Copyright: (c) 2018, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

#Requires -Module Ansible.ModuleUtils.Legacy
#Requires -Module Ansible.ModuleUtils.Backup

Set-StrictMode -Version 2

function Copy-Xml($dest, $src, $xmlorig) {
    if ($src.get_NodeType() -eq "Text") {
        $dest.set_InnerText($src.get_InnerText())
    }

    if ($src.get_HasAttributes()) {
        foreach ($attr in $src.get_Attributes()) {
            $dest.SetAttribute($attr.get_Name(), $attr.get_Value())
        }
    }

    if ($src.get_HasChildNodes()) {
        foreach ($childnode in $src.get_ChildNodes()) {
            if ($childnode.get_NodeType() -eq "Element") {
                $newnode = $xmlorig.CreateElement($childnode.get_Name(), $xmlorig.get_DocumentElement().get_NamespaceURI())
                Copy-Xml -dest $newnode -src $childnode -xmlorig $xmlorig
                $dest.AppendChild($newnode) | Out-Null
            }
            elseif ($childnode.get_NodeType() -eq "Text") {
                $dest.set_InnerText($childnode.get_InnerText())
            }
        }
    }
}

function Compare-XmlDoc($actual, $expected) {
    if ($actual.get_Name() -ne $expected.get_Name()) {
        throw "Actual name not same as expected: actual=" + $actual.get_Name() + ", expected=" + $expected.get_Name()
    }
    ##attributes...

    if (($actual.get_NodeType() -eq "Element") -and ($expected.get_NodeType() -eq "Element")) {
        if ($actual.get_HasAttributes() -and $expected.get_HasAttributes()) {
            if ($actual.get_Attributes().Count -ne $expected.get_Attributes().Count) {
                throw "attribute mismatch for actual=" + $actual.get_Name()
            }
            for ($i = 0; $i -lt $expected.get_Attributes().Count; $i = $i + 1) {
                if ($expected.get_Attributes()[$i].get_Name() -ne $actual.get_Attributes()[$i].get_Name()) {
                    throw "attribute name mismatch for actual=" + $actual.get_Name()
                }
                if ($expected.get_Attributes()[$i].get_Value() -ne $actual.get_Attributes()[$i].get_Value()) {
                    throw "attribute value mismatch for actual=" + $actual.get_Name()
                }
            }
        }

        if (($actual.get_HasAttributes() -and !$expected.get_HasAttributes()) -or (!$actual.get_HasAttributes() -and $expected.get_HasAttributes())) {
            throw "attribute presence mismatch for actual=" + $actual.get_Name()
        }
    }

    ##children
    if ($expected.get_ChildNodes().Count -ne $actual.get_ChildNodes().Count) {
        throw "child node mismatch. for actual=" + $actual.get_Name()
    }

    for ($i = 0; $i -lt $expected.get_ChildNodes().Count; $i = $i + 1) {
        if (-not $actual.get_ChildNodes()[$i]) {
            throw "actual missing child nodes. for actual=" + $actual.get_Name()
        }
        Compare-XmlDoc $expected.get_ChildNodes()[$i] $actual.get_ChildNodes()[$i]
    }

    if ($expected.get_InnerText()) {
        if ($expected.get_InnerText() -ne $actual.get_InnerText()) {
            throw "inner text mismatch for actual=" + $actual.get_Name()
        }
    }
    elseif ($actual.get_InnerText()) {
        throw "actual has inner text but expected does not for actual=" + $actual.get_Name()
    }
}


function Save-ChangedXml($xmlorig, $result, $message, $check_mode, $backup) {
    $result.changed = $true
    if (-Not $check_mode) {
        if ($backup) {
            $result.backup_file = Backup-File -path $dest -WhatIf:$check_mode
            # Ensure backward compatibility (deprecate in future)
            $result.backup = $result.backup_file
        }
        $xmlorig.Save($dest)
        $result.msg = $message
    }
    else {
        $result.msg += " check mode"
    }
}

$params = Parse-Args $args -supports_check_mode $true
$check_mode = Get-AnsibleParam -obj $params -name "_ansible_check_mode" -type "bool" -default $false

$debug_level = Get-AnsibleParam -obj $params -name "_ansible_verbosity" -type "int"
$debug = $debug_level -gt 2

$dest = Get-AnsibleParam $params "path" -type "path" -FailIfEmpty $true -aliases "dest", "file"
$fragment = Get-AnsibleParam $params "fragment" -type "str" -aliases "xmlstring"
$xpath = Get-AnsibleParam $params "xpath" -type "str" -FailIfEmpty $true
$backup = Get-AnsibleParam $params "backup" -type "bool" -Default $false
$type = Get-AnsibleParam $params "type" -type "str" -Default "element" -ValidateSet "element", "attribute", "text"
$attribute = Get-AnsibleParam $params "attribute" -type "str" -FailIfEmpty ($type -eq "attribute")
$state = Get-AnsibleParam $params "state" -type "str" -Default "present"
$count = Get-AnsibleParam $params "count" -type "bool" -Default $false

$result = @{
    changed = $false
}

If (-Not (Test-Path -LiteralPath $dest -PathType Leaf)) {
    Fail-Json $result "Specified path $dest does not exist or is not a file."
}

$xmlorig = New-Object -TypeName System.Xml.XmlDocument
$xmlorig.XmlResolver = $null
Try {
    $xmlorig.Load($dest)
}
Catch {
    Fail-Json $result "Failed to parse file at '$dest' as an XML document: $($_.Exception.Message)"
}

$namespaceMgr = New-Object System.Xml.XmlNamespaceManager $xmlorig.NameTable
$namespace = $xmlorig.DocumentElement.NamespaceURI
$localname = $xmlorig.DocumentElement.LocalName

$namespaceMgr.AddNamespace($xmlorig.$localname.SchemaInfo.Prefix, $namespace)

$nodeList = $xmlorig.SelectNodes($xpath, $namespaceMgr)
$nodeListCount = $nodeList.get_Count()
if ($count) {
    $result.count = $nodeListCount
    if (-not $fragment) {
        Exit-Json $result
    }
}
## Exit early if xpath did not match any nodes
if ($nodeListCount -eq 0) {
    $result.msg = "The supplied xpath did not match any nodes.  If this is unexpected, check your xpath is valid for the xml file at supplied path."
    Exit-Json $result
}

$changed = $false
$result.msg = "not changed"

if ($type -eq "element") {
    if ($state -eq "absent") {

        $removals = [System.Collections.Generic.List[String]]@()

        foreach ($node in $nodeList) {
            # there are some nodes that match xpath, delete without comparing them to fragment
            if (-Not $check_mode) {
                [void]$node.get_ParentNode().RemoveChild($node)
                $changed = $true
            }

            if ($debug) {
                $removals.Add($node.get_OuterXml())
            }
        }

        if ($removals) {
            $result.removed = $removals -join ", "
        }
    }
    else {
        # state -eq 'present'
        $xmlfragment = $null
        Try {
            $xmlfragment = [xml]$fragment
        }
        Catch {
            Fail-Json $result "Failed to parse fragment as XML: $($_.Exception.Message)"
        }

        foreach ($node in $nodeList) {
            $candidate = $xmlorig.CreateElement($xmlfragment.get_DocumentElement().get_Name(), $xmlorig.get_DocumentElement().get_NamespaceURI())
            Copy-Xml -dest $candidate -src $xmlfragment.DocumentElement -xmlorig $xmlorig

            if ($node.get_NodeType() -eq "Document") {
                $node = $node.get_DocumentElement()
            }

            if ($node.ChildNodes.Count -eq 0) {
                $elements = @($node)
            }
            else {
                $elements = $node.get_ChildNodes()
            }

            [bool]$present = $false
            [bool]$changed = $false
            if ($elements.get_Count()) {
                if ($debug) {
                    $err = @()
                    $result.err = { $err }.Invoke()
                }
                foreach ($element in $elements) {
                    try {
                        Compare-XmlDoc $candidate $element
                        $present = $true
                        break
                    }
                    catch {
                        if ($debug) {
                            $result.err.Add($_.Exception.ToString())
                        }
                    }
                }
                if (-Not $present -and ($state -eq "present")) {
                    [void]$node.AppendChild($candidate)
                    $result.msg = $result.msg + "xml added "
                    $changed = $true
                }
            }
        }
    }
}
elseif ($type -eq "text") {
    foreach ($node in $nodeList) {
        if ($node.get_InnerText() -ne $fragment) {
            $node.set_InnerText($fragment)
            $changed = $true
        }
    }
}
elseif ($type -eq "attribute") {
    foreach ($node in $nodeList) {
        if ($state -eq 'present') {
            if ($node.NodeType -eq 'Attribute') {
                if ($node.Name -eq $attribute -and $node.Value -ne $fragment ) {
                    # this is already the attribute with the right name, so just set its value to match fragment
                    $node.Value = $fragment
                    $changed = $true
                }
            }
            else {
                # assume NodeType is Element
                if (!$node.HasAttribute($attribute) -or ($node.$attribute -ne $fragment)) {
                    if (!$node.HasAttribute($attribute)) {
                        # add attribute to Element if missing
                        $node.SetAttributeNode($attribute, $xmlorig.get_DocumentElement().get_NamespaceURI())
                    }
                    #set the attribute into the element
                    $node.SetAttribute($attribute, $fragment)
                    $changed = $true
                }
            }
        }
        elseif ($state -eq 'absent') {
            if ($node.NodeType -eq 'Attribute') {
                $attrNode = [System.Xml.XmlAttribute]$node
                $parent = $attrNode.OwnerElement
                $parent.RemoveAttribute($attribute)
                $changed = $true
            }
            else {
                # element node processing
                if ($node.Name -eq $attribute ) {
                    # note not caring about the state of 'fragment' at this point
                    $node.RemoveAttribute($attribute)
                    $changed = $true
                }
            }
        }
        else {
            Add-Warning $result "Unexpected state when processing attribute $($attribute), add was $add, state was $state"
        }
    }
}
if ($changed) {
    if ($state -eq "absent") {
        $summary = "$type removed"
    }
    else {
        $summary = "$type changed"
    }
    Save-ChangedXml -xmlorig $xmlorig -result $result -message $summary -check_mode $check_mode -backup $backup
}

Exit-Json $result

Filemanager

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