Git Product home page Git Product logo

ad_ctf_infra's Introduction

docker-stuff-ad

caronte

ip: http://172.16.2.2:3333

netdata

ip: http://172.16.1.2:19999

Per chi vuole accedere ai servizi via grafica comodamente da browser:

flag submitter ssh -L 127.0.0.1:9000:172.16.3.2:8080 root@<indirizzo-macchina>

netdata ssh -L 127.0.0.1:19999:172.16.1.2:19999 root@<indirizzo-macchina>

caronte ssh -L 127.0.0.1:3333:172.16.2.2:3333 root@<indirizzo-macchina>

Suricata how to:

  1. Installare Suricata dallo script ./scripts/install_suricata.sh
  2. Modificare il file /etc/suricata/suricata.yaml:
    • cercare copy-mode e decommentare la riga in questione
    • specificato l'interfaccia su cui avere l'ips mode (wg-vulnbox)
    • cercare suricata.rules
    • specificare come file di regole template.rules (NB non copiare il file di questo repo, utilizzarlo solo come base per le regole da scrivere)
  3. Eseguire ./scripts/iptables_suricata.sh
  4. Modificare ogni docker-compose, specificando un indirizzo statico, in modo che se viene riavviato il container, il servizio non cambi IP
  5. mkdir -p /var/lib/suricata/rules
  6. suricata -k none -c /etc/suricata/suricata.yaml per caricare nuove regole (NB MAI interrompere il processo di suricata per troppo tempo, altrimenti i servizi vanno giù)

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.