Skip to content

"Check for Cookies (if it's even possible)" #19

@betaglop

Description

@betaglop

I'd like to automate Cookies detection and GDPR compliance evaluation (record-keeping, eg. 13 month for Cookies in France).

I'd like to get back informations about cookies and cookies record-keeping policies on the targeted website. It's easy to do that using bash (I've already written something that way), so I'd like to see it in this tool, maybe by contributing...

Eg. using bash:

FILE=/path/to/cookies/file
wget --save-cookies $FILE [URL]
MONTH13=34164000  # nb of seconds in 13 month
for epoch in `cat $FILE | grep -v '^#' | grep -v '^$' | cut -d"  " -f5`
do
    if [ $epoch -gt `echo \`date +%s\` + $MONTH13 | bc` ]
    then
        DATE=`date --date=@$epoch`
        echo "- KO: $DATE"
        continue;
    fi
    
    echo -n "- OK: "
    date --date=@$epoch
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions