# Path: ptp/libptp/constants.py
# HIGH = 4
# 
# LOW = 2
# 
# INFO = 1


from ptp.libptp.constants import HIGH, LOW, INFO

:synopsis: DirBuster does not provide ranking for the vulnerabilities it has found. This file tries to define a ranking
    for every DirBuster's discoveries it might find.

.. moduleauthor:: Tao Sauvage

"""




# TODO: Complete the directory signatures database.
#: :data: :class:`dict` of the directories with their rank.
DIRECTORIES = {
    r'.*/manager/html/.*': LOW,
    r'.*/admin/.*': LOW,
    r'.*/conf/server.xml/.*': LOW,
    r'.*/phpmyadmin/.*': LOW,
    r'.*/phpMyAdmin/.*': LOW}


# TODO: Complete the files signatures database.
#: :data: :class:`dict` of the files with their rank.
FILES = {
    r'.*/config\.php': HIGH,
    r'.*/c99\.php': HIGH,
    r'.*/c99shell\.php': HIGH,
    r'.*/r57\.php': HIGH,
    r'.*/r58\.php': HIGH,
    r'.*/dra\.php': HIGH,

# Path: ptp/libptp/constants.py
# HIGH = 4
# 
# LOW = 2
# 
# INFO = 1


# Path: ptp/tools/dirbuster/signatures.py
from ptp.libptp.constants import HIGH, LOW, INFO


:synopsis: DirBuster does not provide ranking for the vulnerabilities it has found. This file tries to define a ranking
    for every DirBuster's discoveries it might find.

.. moduleauthor:: Tao Sauvage

"""




# TODO: Complete the directory signatures database.
#: :data: :class:`dict` of the directories with their rank.
DIRECTORIES = {
    r'.*/manager/html/.*': LOW,
    r'.*/admin/.*': LOW,
    r'.*/conf/server.xml/.*': LOW,
    r'.*/phpmyadmin/.*': LOW,
    r'.*/phpMyAdmin/.*': LOW}


# TODO: Complete the files signatures database.
#: :data: :class:`dict` of the files with their rank.
FILES = {
    r'.*/config\.php': HIGH,
    r'.*/c99\.php': HIGH,
    r'.*/c99shell\.php': HIGH,
    r'.*/r57\.php': HIGH,
    r'.*/r58\.php': HIGH,
    r'.*/dra\.php': HIGH,

    r'.*/cmd\.php': HIGH,