Skip to content

getDictionaryName Does not parse dictionary filenames #128

@m3rcury3

Description

@m3rcury3

The method ossem.getDictionaryName does not parse dictionary filenames. Possible because of Github pages format change.
It looks for the string ' <span class="css-truncate css-truncate-target d-block width-fit"' to start parsing but this string is not in the page so it returns blank results.

Steps to reproduce:

# Import ossem and pandas:
from openhunt import ossem
import pandas as pd
pd.set_option('display.max_colwidth', None)

# Get dictionary names (Should not return zero if it works):
security_auditing_events = ossem.getDictionaryName('Windows','Security')
print(len(security_auditing_events), " dictionaries' names collected!!")
0  dictionaries' names collected!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions