owasp zap
This commit is contained in:
12
CLIENT.sh
12
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
|
||||
|
||||
@@ -25,3 +25,5 @@ sudo iptables-save > /etc/sysconfig/iptables
|
||||
|
||||
sudo cp conf/httpd.conf /etc/httpd/httpd.conf
|
||||
|
||||
# apache
|
||||
s enable --now httpd
|
||||
@@ -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
|
||||
|
||||
<Directory />
|
||||
AllowOverride none
|
||||
@@ -69,8 +69,17 @@ AddDefaultCharset UTF-8
|
||||
MIMEMagicFile conf/magic
|
||||
</IfModule>
|
||||
|
||||
# reverse proxy for juice shop
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
|
||||
<VirtualHost *:420>
|
||||
ProxyPass / http://10.60.0.2:3000/
|
||||
ProxyPassReverse / http://10.60.0.2:3000/
|
||||
</VirtualHost>
|
||||
|
||||
# EnableMMAP off
|
||||
# EnableSendfile on
|
||||
# IncludeOptional conf.d/*.conf
|
||||
IncludeOptional conf.d/*.conf
|
||||
ServerAdmin jeevacation@gmail.com
|
||||
# ServerName www.coimbravpn.com:420
|
||||
BIN
ucstudent/PL-Apresentação#1.pdf
Normal file
BIN
ucstudent/PL-Apresentação#1.pdf
Normal file
Binary file not shown.
BIN
ucstudent/PL-ModSecurity installation notes_CentOS.pdf
Normal file
BIN
ucstudent/PL-ModSecurity installation notes_CentOS.pdf
Normal file
Binary file not shown.
BIN
ucstudent/PL-Practical Exercises #5-resolution notes.pdf
Normal file
BIN
ucstudent/PL-Practical Exercises #5-resolution notes.pdf
Normal file
Binary file not shown.
BIN
ucstudent/PL-Practical Exercises #6-resolution notes.pdf
Normal file
BIN
ucstudent/PL-Practical Exercises #6-resolution notes.pdf
Normal file
Binary file not shown.
BIN
ucstudent/PL-Practical Exercises #7.pdf
Normal file
BIN
ucstudent/PL-Practical Exercises #7.pdf
Normal file
Binary file not shown.
BIN
ucstudent/PL-Practical Exercises #8.pdf
Normal file
BIN
ucstudent/PL-Practical Exercises #8.pdf
Normal file
Binary file not shown.
BIN
ucstudent/PL-Presentation#7.pdf
Normal file
BIN
ucstudent/PL-Presentation#7.pdf
Normal file
Binary file not shown.
BIN
ucstudent/PL-Presentation#8.pdf
Normal file
BIN
ucstudent/PL-Presentation#8.pdf
Normal file
Binary file not shown.
BIN
ucstudent/Practical Assignment #3.pdf
Normal file
BIN
ucstudent/Practical Assignment #3.pdf
Normal file
Binary file not shown.
BIN
ucstudent/Practical Assignment 1.pdf
Normal file
BIN
ucstudent/Practical Assignment 1.pdf
Normal file
Binary file not shown.
BIN
ucstudent/Practical Assignment 2.pdf
Normal file
BIN
ucstudent/Practical Assignment 2.pdf
Normal file
Binary file not shown.
BIN
ucstudent/T10-Web application security.pdf
Normal file
BIN
ucstudent/T10-Web application security.pdf
Normal file
Binary file not shown.
BIN
ucstudent/T7-Web and Transport-Level Security.pdf
Normal file
BIN
ucstudent/T7-Web and Transport-Level Security.pdf
Normal file
Binary file not shown.
BIN
ucstudent/T8-IP Security.pdf
Normal file
BIN
ucstudent/T8-IP Security.pdf
Normal file
Binary file not shown.
BIN
ucstudent/T9-Electronic Mail Security.pdf
Normal file
BIN
ucstudent/T9-Electronic Mail Security.pdf
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user