? HOW TO MAKE REDIRECTS ON CPANEL ?

Teacher

Professional
Messages
2,669
Reaction score
818
Points
113
Some of you have problems if you have uploaded the scampage, that if victim is calling the website then he see the index instead of the scampage.

We will fix this problem in this tutorial.

⚙️ Requirements
▪️C-Panel
▪️Scampage

photo_2021-05-16_23-48-32.jpg


The problem is if you visit your website for example g00gle.c0m then you will see the index of / instead of the scampage.

Let's fix this problem!

photo_2021-05-16_23-49-27.jpg


Go to your file manager and choose either www or public_html.

photo_2021-05-16_23-50-11.jpg


Here we have our folder in my case it's fidelity. I change the name to session so it look more legit.

photo_2021-05-16_23-51-06.jpg


Now head over to redirects

photo_2021-05-16_23-54-23.jpg


https?://(www.)? is the regex for the domains you have.

If you click on the ** All Public Domains** then you see your domains without http or https.

I click it because i forgot the domain name, then i write the domain name into the Redirects to input field and add with a / the subdirectory — in my case session-Folder.

Make sure you add https, and change back the https?://(www.)? to ** All Public Domains**.

Finally click on "Add"

photo_2021-05-16_23-55-02.jpg


photo_2021-05-16_23-56-31.jpg


If you go back to your C-Panel file manger, then to public_html or www you will see this file. (if not enable hidden files)

photo_2021-05-16_23-58-31.jpg


The file rewrites requests and forwards users to the sub directory.

If you want to add this code manually, here is the syntax:

Domain Example : google.dynamic-ddns.net

RewriteOptions inherit

RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "https\:\/\/google\.dynamic\-dns\.net\/session" [R=301,L]

photo_2021-05-17_00-05-27.jpg


⚠️ Warning
If you try to redirect to a sub directory add at the end a / !! otherwise the website think you try to access a file.

File :
RewriteRule ^/?$ "https\:\/\/google\.dynamic\-dns\.net\/session" [R=301,L]

Directory :
RewriteRule ^/?$ "https\:\/\/google\.dynamic\-dns\.net\/session\/" [R=301,L]

File In Subdirectory :
RewriteRule ^/?$ "https\:\/\/google\.dynamic\-dns\.net\/session\/index.php" [R=301,L]

Changelog of Scampages
▪️Grab Browser Language (like : en-US, de-DE...)
▪️Removed Geo IP Location
▪️Check If Webdriver
▪️Check If Cookies Are Enabled (if not then it forwards user away)
▪️More JavaScript Flow
▪️New Antibots Added
 
Top