Code Monkey home page Code Monkey logo

pwned-antifas's Introduction

Pwned Antifas

The app works off-line and is just two files: dist/index.html and dist/app.js.

Requirements

  • Python 3.8 with Poetry to read the names and generates the hashes from the PDF source
  • java available in your system Path (since we use Apache Tika's Python wrapper to convert PDF to text)
  • NodeJS with npm for the front-end

Installing dependencies

$ poetry install
$ npm install

Creating dist/index.html

$ poetry run python create_html.py <PATH TO PDF FILE>

Creating dist/app.js

$ npm run build

Loading the app

$ open dist/index.html

For Elm developers

$ npm start

pwned-antifas's People

Contributors

cuducos avatar dlarusso avatar graciano avatar lago-nic avatar lagolucas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pwned-antifas's Issues

A página index.html sugere usar DuckDuckGo mas o hash obtido não coincide com outras ferramentas.

No DuckDuckGo calculando o hash sha-512 da string "João da Silva" resulta:
fab687418ca251d4cfb079de71d44200ef56d637982b56d2df2d1f78ffc6106f8a2fee050f9c1e0b359e618ba890ef0d0e0b3e428186d95077d185b23a32ecd9

No Linux:
$ echo -n 'João da Silva' | sha512sum
d2975f13e399daa60bef015d3264fc2cb4368793d4e09ae889e86dd36960e24c7fd73018499b4197a45f275ad2b903fa3293a9460696bc3227a5fff7ca0c50e7 -

No site https://md5calc.com/hash/sha512/João+da+Silva obtenho o mesmo resultado do Linux.

  1. Dependendo do método usado no script pwned-antifas parece-me que o hash gerado por eventuais usuários pode nunca coincidir com o da base de dados, gerando sempre falso-negativo.

  2. Como o DuckDuckGo trata a string para calcular o seu hash ?

[Feature Suggestion] Names padronization

Why not process the text from the names before creating the hashes so you turn everything to lower case or upper case? This would make the search easier and less time consuming. Also would grant a more accurate result. Would need to explain in the webpage that is needed to hash the user name in the same pattern processed in the tool instead of advising to do multiple searches.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.