Using nginx to secure your botnet

poqun

Carder
Carder
Joined
11 yrs. 7 mth. 7 days
Messages
2,772
Reaction score
2,095
Wallet
0$
Hi,here is my first contribution on hy.
The example will be on CentOS.

Our security will be based on two simple things in nginx configuration:
user-agent.
php extension.

The idea is simple, it is :

To change the file extension of the gate ".php" into something else. in our tutorial, ".gte" will be taken as example.

Configure nginx to process the files ".gte" as ".php".

Lock all access (Get) to php files (and other extensions if we want) of our panel on a long user-agent (if user-agent is false return 404).

Nginx installation:
Please, Log in or Register to view URLs content!


Configure Nginx :

nginx.conf (/etc/nginx/nginx.conf) :

Code:
Please, Log in or Register to view codes content!

note : "server_tokens off" is a must to hide nginx version.

php-fpm users, sockets config (/etc/php-fpm/conf.d/www.conf)

Code:
Please, Log in or Register to view codes content!

Code:
Please, Log in or Register to view codes content!

Please, Log in or Register to view quote content!

dmain-name.conf (/etc/nginx/conf.d/domain-name.conf):

Code:
Please, Log in or Register to view codes content!

Of course you can add other extensions to the user agent restriction rule as many as you want.

Done !

This config can help to hide panel files and avoid sqli.
Just use the extension of chrome:
Please, Log in or Register to view URLs content!
 
Paid adv. expire in 2 months
CLICK to buy Advertisement !
westernunion carding Verified & Trusted WesternUnion | MoneyGram | Bank - Transferring [299$ BTC for 2000$ WU]
electronics carding Verified & Trusted Electronics Carding, Carding iPhone, Samsung Carding, MacBook Carding, Laptops Carding

JimmieZu

Active member
Member
Joined
1 yrs. 9 mth. 25 days
Messages
30
Reaction score
0
Wallet
0$
thanks for sharing bro! and something extra to add is to always have your nginx updated, I almost always see on pages that it is out of date haha.
 
Top Bottom