Skip to content

Instantly share code, notes, and snippets.

View asumansenol's full-sized avatar

Asuman Şenol asumansenol

View GitHub Profile
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({
headless: false
});
const page = await browser.newPage();
await page.goto('https://www.wired.com');
await page.setViewport({
width: 1200,
function getAutofillElements() {
let autoFillElements = [];
try {
const inputEls = Array.from(document.getElementsByTagName("input"));
const autofillResultsByForms = FormAutofillHeuristics.getFormInfo(
inputEls,
false
);
for (const form of autofillResultsByForms) {
let elements = form.fieldDetails.map((formEl) => ({ ...formEl }));
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* Form Autofill field Heuristics RegExp.
*/
/* exported HeuristicsRegExp */
const blockElements = ['div', 'section', 'article', 'aside', 'nav',
'header', 'footer', 'main', 'form', 'fieldset', 'table'
];
const ignoredElements = ['script', 'style', 'noscript', 'br', 'hr'];
const winWidth = window.innerWidth;
const winHeight = window.innerHeight;
const winArea = winWidth * winHeight;
var getElementArea = function(element) {
// const fs = require("fs");
// const path = require("path");
const GLOBAL_SELECTOR = "button, div, span, form, p, input";
// function readKeywords() {
// const keywords = fs
// .readFileSync(path.resolve(__dirname, "acceptKeywords.txt"), "utf8")
// .split("\n");
// let keywordsSet = new Set();
// keywords.forEach(keyword => {
{
"initialUrl": "https://homes.esat.kuleuven.be/~asenol/fp_test/test_website/",
"finalUrl": "https://homes.esat.kuleuven.be/~asenol/fp_test/test_website/",
"timeout": false,
"testStarted": 1668633070783,
"testFinished": 1668633097608,
"data": {
"fingerprints": {
"callStats": {
"https://homes.esat.kuleuven.be/~asenol/fp_test/test_website/canvas_test.js": {
"""
Based on code from "I never signed up for this! Privacy implications of email
tracking" by Steve Englehardt, Jeffrey Han, Arvind Narayanan.
Proceedings on Privacy Enhancing Technologies 2018.1 (2018): 109-126.
"""
import cProfile
import html
from urllib.parse import urlparse, parse_qs, quote_plus
from Crypto.Hash import MD2
Hi,
[We would appreciate if you could forward this message to your information
security personnel.]
We are researchers from KU Leuven (Belgium), currently studying personal
data collection on popular websites.
During our research we came across incidental password collection by Yandex
Metrica on around 50 websites, including popular websites such as championat.com,
[We would appreciate it if you could forward this message to your
information security personnel.]
To whom it may concern,
I and my colleagues from multiple European research institutes are
investigating personal data collection on popular websites. During our
study, we found that a third-party script from Yandex collects visitors’
passwords from your web form on
https://www.toyota.ru/apps/customerportal#/not....
#!/bin/bash
# Script to check error rate of crawls
# Exit if we hit any errors
set -e
if [ "$#" -lt 1 ]; then
echo "Usage: ./check_crawl.sh <server_location>"
exit 1
fi