def fetchCSRF(self, base, cookie):

        uri = '/console/console.portal?_nfpb=true&_pageLabel=AppApplicationInstallPage'

        response = utility.requests_get(base+uri, cookies=cookie)
        if response.status_code == 200:

            data = findall('AppApplicationInstallPortletfrsc" value="(.*?)"',
                            response.content)
            if len(data) > 0:
                return data[0]
Our install request requires a CSRF token
dataset/ETHPy150Open hatRiot/clusterd/src/platform/weblogic/auxiliary/smb_hashes.py/Auxiliary.fetchCSRF