diff --git a/CLIENT.sh b/CLIENT.sh index e33eb3a..e65b491 100644 --- a/CLIENT.sh +++ b/CLIENT.sh @@ -7,5 +7,15 @@ IP="20.60.0.2" sudo ifconfig enp0s8 $IP netmask 255.255.255.0 sudo route add default gw 20.60.0.1 -# exploits +# owasp zap +instalar java-17-openjdk +if [ ! -d "/opt/zap" ]; then + sudo wget -q https://github.com/zaproxy/zaproxy/releases/download/v2.14.0/ZAP_2.14.0_Linux.tar.gz -O /tmp/zap.tar.gz + sudo tar -xzf /tmp/zap.tar.gz -C /opt + sudo mv /opt/ZAP_2.14.0 /opt/zap + sudo ln -s /opt/zap/zap.sh /usr/local/bin/zap + rm -f /tmp/zap.tar.gz +fi + +# exploits diff --git a/FIREWALL.sh b/FIREWALL.sh index 80894c4..4e546cd 100644 --- a/FIREWALL.sh +++ b/FIREWALL.sh @@ -24,4 +24,6 @@ sudo iptables -t nat -A POSTROUTING -o enp0s8 -j MASQUERADE sudo iptables-save > /etc/sysconfig/iptables sudo cp conf/httpd.conf /etc/httpd/httpd.conf - + +# apache +s enable --now httpd \ No newline at end of file diff --git a/conf/httpd.conf b/conf/httpd.conf index df06dba..76d41c7 100644 --- a/conf/httpd.conf +++ b/conf/httpd.conf @@ -4,8 +4,8 @@ User apache Group apache Include conf.modules.d/*.conf -IncludeOptional modsecurit.d/*.conf -IncludeOptional modsecurit.d/activated_rules/*.conf +IncludeOptional modsecurity.d/*.conf +IncludeOptional modsecurity.d/activated_rules/*.conf AllowOverride none @@ -69,8 +69,17 @@ AddDefaultCharset UTF-8 MIMEMagicFile conf/magic +# reverse proxy for juice shop +ProxyRequests Off +ProxyPreserveHost On + + + ProxyPass / http://10.60.0.2:3000/ + ProxyPassReverse / http://10.60.0.2:3000/ + + # EnableMMAP off # EnableSendfile on -# IncludeOptional conf.d/*.conf +IncludeOptional conf.d/*.conf ServerAdmin jeevacation@gmail.com -# ServerName www.coimbravpn.com:420 +# ServerName www.coimbravpn.com:420 \ No newline at end of file diff --git a/ucstudent/pl-presentation#1.pdf b/ucstudent/PL-Apresentação#1 (1).pdf similarity index 100% rename from ucstudent/pl-presentation#1.pdf rename to ucstudent/PL-Apresentação#1 (1).pdf diff --git a/ucstudent/PL-Apresentação#1.pdf b/ucstudent/PL-Apresentação#1.pdf new file mode 100644 index 0000000..768cce7 Binary files /dev/null and b/ucstudent/PL-Apresentação#1.pdf differ diff --git a/ucstudent/PL-ModSecurity installation notes_CentOS.pdf b/ucstudent/PL-ModSecurity installation notes_CentOS.pdf new file mode 100644 index 0000000..025f9e2 Binary files /dev/null and b/ucstudent/PL-ModSecurity installation notes_CentOS.pdf differ diff --git a/ucstudent/pl-practical-exercises-#2-resolution-notes.pdf b/ucstudent/PL-Practical Exercises #2-resolution notes.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#2-resolution-notes.pdf rename to ucstudent/PL-Practical Exercises #2-resolution notes.pdf diff --git a/ucstudent/pl-practical-exercises-#2.pdf b/ucstudent/PL-Practical Exercises #2.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#2.pdf rename to ucstudent/PL-Practical Exercises #2.pdf diff --git a/ucstudent/pl-practical-exercises-#3-resolution-notes.pdf b/ucstudent/PL-Practical Exercises #3-resolution notes.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#3-resolution-notes.pdf rename to ucstudent/PL-Practical Exercises #3-resolution notes.pdf diff --git a/ucstudent/pl-practical-exercises-#3.pdf b/ucstudent/PL-Practical Exercises #3.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#3.pdf rename to ucstudent/PL-Practical Exercises #3.pdf diff --git a/ucstudent/pl-practical-exercises-#4-resolution-notes.pdf b/ucstudent/PL-Practical Exercises #4-resolution notes.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#4-resolution-notes.pdf rename to ucstudent/PL-Practical Exercises #4-resolution notes.pdf diff --git a/ucstudent/pl-practical-exercises-#4.pdf b/ucstudent/PL-Practical Exercises #4.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#4.pdf rename to ucstudent/PL-Practical Exercises #4.pdf diff --git a/ucstudent/PL-Practical Exercises #5-resolution notes.pdf b/ucstudent/PL-Practical Exercises #5-resolution notes.pdf new file mode 100644 index 0000000..5a921df Binary files /dev/null and b/ucstudent/PL-Practical Exercises #5-resolution notes.pdf differ diff --git a/ucstudent/pl-practical-exercises-#5.pdf b/ucstudent/PL-Practical Exercises #5.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#5.pdf rename to ucstudent/PL-Practical Exercises #5.pdf diff --git a/ucstudent/PL-Practical Exercises #6-resolution notes.pdf b/ucstudent/PL-Practical Exercises #6-resolution notes.pdf new file mode 100644 index 0000000..a776475 Binary files /dev/null and b/ucstudent/PL-Practical Exercises #6-resolution notes.pdf differ diff --git a/ucstudent/pl-practical-exercises-#6.pdf b/ucstudent/PL-Practical Exercises #6.pdf similarity index 100% rename from ucstudent/pl-practical-exercises-#6.pdf rename to ucstudent/PL-Practical Exercises #6.pdf diff --git a/ucstudent/PL-Practical Exercises #7.pdf b/ucstudent/PL-Practical Exercises #7.pdf new file mode 100644 index 0000000..695cb13 Binary files /dev/null and b/ucstudent/PL-Practical Exercises #7.pdf differ diff --git a/ucstudent/PL-Practical Exercises #8.pdf b/ucstudent/PL-Practical Exercises #8.pdf new file mode 100644 index 0000000..0f378d8 Binary files /dev/null and b/ucstudent/PL-Practical Exercises #8.pdf differ diff --git a/ucstudent/PL-Presentation#7.pdf b/ucstudent/PL-Presentation#7.pdf new file mode 100644 index 0000000..d7fbb37 Binary files /dev/null and b/ucstudent/PL-Presentation#7.pdf differ diff --git a/ucstudent/PL-Presentation#8.pdf b/ucstudent/PL-Presentation#8.pdf new file mode 100644 index 0000000..848b9e9 Binary files /dev/null and b/ucstudent/PL-Presentation#8.pdf differ diff --git a/ucstudent/pl-suricata-on-centos-installation-notes.txt b/ucstudent/PL-Suricata on CentOS - installation notes.txt similarity index 100% rename from ucstudent/pl-suricata-on-centos-installation-notes.txt rename to ucstudent/PL-Suricata on CentOS - installation notes.txt diff --git a/ucstudent/Practical Assignment #3.pdf b/ucstudent/Practical Assignment #3.pdf new file mode 100644 index 0000000..4d5bfb7 Binary files /dev/null and b/ucstudent/Practical Assignment #3.pdf differ diff --git a/ucstudent/Practical Assignment 1.pdf b/ucstudent/Practical Assignment 1.pdf new file mode 100644 index 0000000..2a2c452 Binary files /dev/null and b/ucstudent/Practical Assignment 1.pdf differ diff --git a/ucstudent/Practical Assignment 2.pdf b/ucstudent/Practical Assignment 2.pdf new file mode 100644 index 0000000..535a80f Binary files /dev/null and b/ucstudent/Practical Assignment 2.pdf differ diff --git a/ucstudent/T10-Web application security.pdf b/ucstudent/T10-Web application security.pdf new file mode 100644 index 0000000..e031563 Binary files /dev/null and b/ucstudent/T10-Web application security.pdf differ diff --git a/ucstudent/t2-firewalls-and-intrusion-detection.pdf b/ucstudent/T2-Firewalls and intrusion detection.pdf similarity index 100% rename from ucstudent/t2-firewalls-and-intrusion-detection.pdf rename to ucstudent/T2-Firewalls and intrusion detection.pdf diff --git a/ucstudent/t3-data-integrity.pdf b/ucstudent/T3-Data integrity.pdf similarity index 100% rename from ucstudent/t3-data-integrity.pdf rename to ucstudent/T3-Data integrity.pdf diff --git a/ucstudent/t4-symmetric-encryption.pdf b/ucstudent/T4-Symmetric Encryption.pdf similarity index 100% rename from ucstudent/t4-symmetric-encryption.pdf rename to ucstudent/T4-Symmetric Encryption.pdf diff --git a/ucstudent/t5-assymetric-ciphers.pdf b/ucstudent/T5-Assymetric ciphers.pdf similarity index 100% rename from ucstudent/t5-assymetric-ciphers.pdf rename to ucstudent/T5-Assymetric ciphers.pdf diff --git a/ucstudent/t6-key-management-and-user-authentication.pdf b/ucstudent/T6-Key Management and User Authentication.pdf similarity index 100% rename from ucstudent/t6-key-management-and-user-authentication.pdf rename to ucstudent/T6-Key Management and User Authentication.pdf diff --git a/ucstudent/T7-Web and Transport-Level Security.pdf b/ucstudent/T7-Web and Transport-Level Security.pdf new file mode 100644 index 0000000..15eac16 Binary files /dev/null and b/ucstudent/T7-Web and Transport-Level Security.pdf differ diff --git a/ucstudent/T8-IP Security.pdf b/ucstudent/T8-IP Security.pdf new file mode 100644 index 0000000..e30b3e6 Binary files /dev/null and b/ucstudent/T8-IP Security.pdf differ diff --git a/ucstudent/T9-Electronic Mail Security.pdf b/ucstudent/T9-Electronic Mail Security.pdf new file mode 100644 index 0000000..7de0f89 Binary files /dev/null and b/ucstudent/T9-Electronic Mail Security.pdf differ diff --git a/ucstudent/t0-apresentação.pdf b/ucstudent/t0-apresentação.pdf index bff3cf5..6d9baa0 100644 Binary files a/ucstudent/t0-apresentação.pdf and b/ucstudent/t0-apresentação.pdf differ