from linker import *


def chkput(endpoint,timeout=30):
	try:
		url = helpers.urlify(endpoint)['URL_DIR'] + "domainker_{}.html".format(randint(0,0xffffffff))
		code = requests.put(url,data="DOMAINKER",timeout=timeout).status_code
		if code == 201:
			return "%sVulnerable %s:: %s%s" % (Fore.GREEN,Fore.YELLOW,Fore.LIGHTWHITE_EX,url)
		else:
			return "%sNot Vulnerable" % (Fore.RED)
	except Exception as e:
		return "%sUnreachable" % (Fore.RED)

9daed65d604e6e389e84697d75b6e64d448a1f20
<mask token>

<mask token>


def chkput(endpoint, timeout=30):
    try:
        url = helpers.urlify(endpoint)['URL_DIR'] + 'domainker_{}.html'.format(
            randint(0, 4294967295))
        code = requests.put(url, data='DOMAINKER', timeout=timeout).status_code
        if code == 201:
            return '%sVulnerable %s:: %s%s' % (Fore.GREEN, Fore.YELLOW,
                Fore.LIGHTWHITE_EX, url)
        else:
            return '%sNot Vulnerable' % Fore.RED
    except Exception as e:
        return '%sUnreachable' % Fore.RED

from linker import *


def chkput(endpoint, timeout=30):
    try:
        url = helpers.urlify(endpoint)['URL_DIR'] + 'domainker_{}.html'.format(
            randint(0, 4294967295))
        code = requests.put(url, data='DOMAINKER', timeout=timeout).status_code
        if code == 201:
            return '%sVulnerable %s:: %s%s' % (Fore.GREEN, Fore.YELLOW,
                Fore.LIGHTWHITE_EX, url)
        else:
            return '%sNot Vulnerable' % Fore.RED
    except Exception as e:
        return '%sUnreachable' % Fore.RED

from linker import *


def chkput(endpoint,timeout=30):
	try:
		url = helpers.urlify(endpoint)['URL_DIR'] + "domainker_{}.html".format(randint(0,0xffffffff))
		code = requests.put(url,data="DOMAINKER",timeout=timeout).status_code
		if code == 201:
			return "%sVulnerable %s:: %s%s" % (Fore.GREEN,Fore.YELLOW,Fore.LIGHTWHITE_EX,url)
		else:
			return "%sNot Vulnerable" % (Fore.RED)
	except Exception as e:
		return "%sUnreachable" % (Fore.RED)
