项目作者: mattreduce

项目描述 :
Alias identity manager for Red Teams, OSINT collectors, journalists, and privacy-conscious people
高级语言: Ruby
项目地址: git://github.com/mattreduce/sockdrawer.git
创建时间: 2020-08-22T05:18:16Z
项目社区:https://github.com/mattreduce/sockdrawer

开源协议:MIT License

下载


:socks: sockdrawer

Sockdrawer is an alias identity manager for Red Teams, OSINT collectors,
journalists, and privacy-conscious people. Its name comes from the term
[sockpuppet](https://en.wikipedia.org/wiki/Sockpuppet(Internet))_.

Setup

  • Ruby 2.7.3
  • Rails 6
  • PostgreSQL 13

Docker and Compose

  1. docker-compose up -d
  2. docker-compose exec web rails db:migrate RAILS_ENV=development
  3. open http://localhost:3000

Ubuntu/Debian

  1. wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
  2. echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |sudo tee /etc/apt/sources.list.d/pgdg.list
  3. gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
  4. curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  5. echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  6. \curl -sSL https://get.rvm.io | bash
  7. source /etc/profile.d/rvm.sh
  8. rvm install 2.7.3
  9. rvm use 2.7.3 --default
  10. gem install bundler
  11. sudo apt update
  12. sudo apt-get install -y webpack npm vim bash-completion wget curl postgresql-13 postgresql-client-13 npm nodejs yarn libpq-dev
  13. sudo su - postgres
  14. psql
  15. CREATE USER {USERNAME HERE} SUPERUSER; #change username to match your env
  16. cd sockdrawer-main
  17. mkdir -p node_modules/.bin
  18. cp ./bin/webpack* node_modules/.bin/
  19. yarn config set ignore-engines true
  20. ./bin/setup
  21. bundle exec rails webpacker:install
  22. bundle exec rails server