====== PlayGround ====== ===== Caixes - Wrap ===== Un advertiment o //warning//. ===== icons ===== https://pictogrammers.com/library/mdi/ {{mdi>alert-circle?color=red&size=36}} {{mdi>account-multiple?color=red&size=36}} {{mdi>check-circle?color=green&size=36}} {{mdi>account-group?color=green&size=36}} {{mdi>alert-circle?color=red&size=36}} {{mdi>account-multiple?color=red&size=36}} {{mdi>account-multiple?color=red&size=36}} ===== Tab Box plug-in ===== This is my bold text Java lalala Windows lalala ===== Vagrant ===== Vagrantfile per a tenir un "client" linux passant per una gateway Kali i poder inspeccionar el trànsit amb Wireshark. # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.define "client" do |client| client.vm.box = "ubuntu/jammy64" client.vm.network "private_network", ip: "192.168.56.100" client.vm.provider "virtualbox" do |vb| # Display the VirtualBox GUI when booting the machine vb.gui = true # Customize the amount of memory on the VM: vb.memory = "4096" end end config.vm.define "gateway" do |gateway| gateway.vm.box = "kalilinux/rolling" gateway.vm.network "private_network", ip: "192.168.56.10" gateway.vm.provider "virtualbox" do |vb| # Display the VirtualBox GUI when booting the machine vb.gui = true # Customize the amount of memory on the VM: vb.memory = "4096" end end end ===== Mes coses ===== Seguint [[https://how-to.fandom.com/wiki/How_to_set_up_a_NAT_router_on_a_Linux-based_computer|aquest article]]: Per canviar la default gateway al client: route add default gw 192.168.56.10 netstat -rn Per fer de gateway a Kali: modprobe iptable_nat echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i eth1 -j ACCEPT ====== Imatges ===== {{:android_demanant_permisos.png}} {{ :android-camera.jpg?direct }} {{scrum:backlog-infrastructure.png}} ====== Taules ===== ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | Row 2 Col 1 | some colspan (note the double pipe) || | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 |