Skip to content

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

Notifications You must be signed in to change notification settings

alissiawells/Heresy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages