G
G
GGnyka2021-01-09 20:12:40
PHP
GGnyka, 2021-01-09 20:12:40

How to properly implement cnc links in .htaccess?

Hello everyone, how to properly implement cnc links using .htaccess?

There is a link
/?gr_id_off=665 and /?gr_id_on=999
it was necessary to get saite.ru/delete/off/665
and accordingly saite.ru/add/on/999

did this:

RewriteRule ^add/vkgrup/([^/\.]+)/?$ ?gr_id_off=$1 [L]
RewriteRule ^delete/vkgrup/([^/\.]+)/?$ ?gr_id_on=$1 [L]

It seems to work, I don’t know if it’s free, the second question is:

How to make from /?mailing=1 and /?balance=1

:
saite.ru/mailing.html
saite.ru/balance.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2021-01-09
@GGnyka

RewriteRule ^mailing\.html$ /index.php?mailing=1 [L]
RewriteRule ^balance\.html$ /index.php?balance=1 [L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question