Code Monkey home page Code Monkey logo

heresy's Introduction

Heresy

Those who can’t get used to the absence of generics will commit heresy unless Go2 is released.

Multithreading scrapper

crawls from the start page parsing URLs which contain key words

  • Installation
$ git clone git clone https://github.com/alissiawells/Heresy.git
$ cd Heresy
$ go run spider.go https://start_page depth language keyword1 keyword2 ... keywordN
  • Dependences

Stemmer for key words (suports Russian, English and other languages)

$ go get github.com/kljensen/snowball

TCP proxy server

listens for TCP pockets, looks up packet IP destination, reads from it and sends the reply

$ sudo iptables -t nat -A OUTPUT -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 1111
$ sudo iptables -t nat -A OUTPUT -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 1111
$ sudo useradd tcpprunner
$ go build tcpproxy.go
$ sudo iptables -t nat -A OUTPUT -m tcp -p tcp --dport 80 -m owner --uid-owner tcpprunner -j RETURN
$ sudo iptables -t nat -A OUTPUT -m tcp -p tcp --dport 443 -m owner --uid-owner tcpprunner -j RETURN
$ sudo -u tcpprunner ./tcpproxy

JSON sanitizer

removes personally identifiable information from a dataset

$ go run sanitizer.go input.json → output.json with encrypted (removed) id, names, phones

heresy's People

Contributors

alissiawells avatar

Stargazers

 avatar

Watchers

 avatar

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.