Guest User

brainyssl.conf_old

a guest
May 21st, 2026
66
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.92 KB | None | 0 0
  1. #
  2. server {
  3. listen 8800 ssl http2;
  4. server_name _;
  5. set $port_brainy_proxy 8802;
  6.  
  7. root /usr/local/brainycp;
  8.  
  9. ssl on;
  10. ssl_certificate /etc/brainy/ssl/brainy.crt;
  11. ssl_certificate_key /etc/brainy/ssl/brainy.key;
  12. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  13. ssl_ciphers "HIGH:!RC4:!aNULL:!MD5:!kEDH";
  14. add_header Strict-Transport-Security 'max-age=604800';
  15.  
  16. access_log /usr/local/brainycp/src/compiled/nginxb/vhost_logs/brainy_access;
  17. error_log /usr/local/brainycp/src/compiled/nginxb/vhost_logs/brainy_error;
  18.  
  19. location ~ /api/ {
  20. auth_basic off;
  21. include /usr/local/brainycp/src/compiled/nginxb/conf_add/api_location.conf;
  22. allow 127.0.0.1/32;
  23. deny all;
  24.  
  25. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  26. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainy.sock;
  27. fastcgi_split_path_info ^(.+?\.php)(/.*)?$;
  28. fastcgi_index index.php;
  29. fastcgi_param SCRIPT_FILENAME /usr/local/brainycp$fastcgi_script_name;
  30. fastcgi_param PATH_TRANSLATED /usr/local/brainycp$fastcgi_script_name;
  31. }
  32.  
  33. location ~ /webshell/(?<token>.*)/ {
  34. auth_request @auth;
  35. proxy_set_header X-Real-IP $remote_addr;
  36. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  37. proxy_pass http://127.0.0.1:4200;
  38. proxy_read_timeout 90;
  39. proxy_redirect off;
  40. }
  41.  
  42. location ~ /tmp/backup_replication {
  43. root /etc/brainy/;
  44. }
  45.  
  46. location = @auth {
  47. internal;
  48. proxy_pass_header Authorization;
  49. proxy_pass http://$server_addr:$port_brainy_proxy/scripts/confirm_auth.php?token=$token;
  50. proxy_read_timeout 90;
  51. proxy_pass_request_body off;
  52. proxy_set_header Content-Length "";
  53. proxy_set_header X-Original-URI $request_uri;
  54. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  55. proxy_set_header X-Real-IP $remote_addr;
  56. }
  57.  
  58. location /phpmyadmin {
  59. #root /usr/local/brainycp/src/compiled/;
  60. alias /usr/local/brainycp/src/compiled/phpmyadmin;
  61. index index.php index.html index.htm;
  62.  
  63. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
  64. #alias /usr/local/brainycp/src/compiled/phpmyadmin;
  65. access_log off;
  66. expires 10m;
  67. add_header Cache-Control "public";
  68. add_header X-Proxy-Cache $upstream_cache_status;
  69. }
  70. location ~ ^/phpmyadmin/(.+\.php)$ {
  71. try_files $uri =404;
  72. fastcgi_param SCRIPT_FILENAME $request_filename;
  73. fastcgi_index index.php;
  74. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  75. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainyservice.sock;
  76. fastcgi_connect_timeout 3600;
  77. fastcgi_read_timeout 3600;
  78. fastcgi_send_timeout 3600;
  79. }
  80. }
  81.  
  82.  
  83.  
  84. location /phpMyAdmin {
  85. rewrite ^/* /phpmyadmin last;
  86. }
  87.  
  88.  
  89. #
  90. location /phpmyadmin2 {
  91. #root /usr/local/brainycp/src/compiled/;
  92. alias /usr/local/brainycp/src/compiled/phpmyadmin2;
  93. index index.php index.html index.htm;
  94. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
  95. #alias /usr/local/brainycp/src/compiled/phpmyadmin;
  96. access_log off;
  97. expires 10m;
  98. add_header Cache-Control "public";
  99. add_header X-Proxy-Cache $upstream_cache_status;
  100. }
  101. location ~ ^/phpmyadmin2/(.+\.php)$ {
  102. try_files $uri =404;
  103. fastcgi_param SCRIPT_FILENAME $request_filename;
  104. fastcgi_index index.php;
  105. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  106. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainyservice.sock;
  107. fastcgi_connect_timeout 3600;
  108. fastcgi_read_timeout 3600;
  109. fastcgi_send_timeout 3600;
  110. }
  111. }
  112. # location /phpsignon {
  113. # rewrite ^/* /phpmyadmin2 last;
  114. # }
  115. location /phpsignon {
  116. alias /usr/local/brainycp/src/compiled/phpmyadmin2;
  117. index index.php index.html index.htm;
  118. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
  119. #alias /usr/local/brainycp/src/compiled/phpmyadmin;
  120. access_log off;
  121. expires 10m;
  122. add_header Cache-Control "public";
  123. add_header X-Proxy-Cache $upstream_cache_status;
  124. }
  125. location ~ ^/phpsignon/(.+\.php)$ {
  126. try_files $uri =404;
  127. fastcgi_param SCRIPT_FILENAME $request_filename;
  128. fastcgi_index index.php;
  129. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  130. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainyservice.sock;
  131. #fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainy.sock;
  132. fastcgi_connect_timeout 3600;
  133. fastcgi_read_timeout 3600;
  134. fastcgi_send_timeout 3600;
  135. }
  136. }
  137.  
  138. #
  139. location /roundcube {
  140. alias /usr/share/roundcube;
  141. index index.php index.html index.htm;
  142. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
  143. access_log off;
  144. expires 10m;
  145. add_header Cache-Control "public";
  146. add_header X-Proxy-Cache $upstream_cache_status;
  147. }
  148. location ~ ^/roundcube/(.+\.php)$ {
  149. try_files $uri =404;
  150. fastcgi_param SCRIPT_FILENAME $request_filename;
  151. fastcgi_index index.php;
  152. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  153. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainyservice.sock;
  154. fastcgi_connect_timeout 3600;
  155. fastcgi_read_timeout 3600;
  156. fastcgi_send_timeout 3600;
  157. }
  158. }
  159.  
  160. location /webmail {
  161. alias /usr/share/roundcube;
  162. index index.php index.html index.htm;
  163. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt|woff|woff2)$ {
  164. access_log off;
  165. expires 10m;
  166. add_header Cache-Control "public";
  167. add_header X-Proxy-Cache $upstream_cache_status;
  168. }
  169. location ~ ^/webmail/(.+\.php)$ {
  170. try_files $uri =404;
  171. fastcgi_param SCRIPT_FILENAME $request_filename;
  172. fastcgi_index index.php;
  173. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  174. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainyservice.sock;
  175. fastcgi_connect_timeout 3600;
  176. fastcgi_read_timeout 3600;
  177. fastcgi_send_timeout 3600;
  178. }
  179. }
  180.  
  181.  
  182. #
  183. location /squirrelmail {
  184. alias /usr/share/squirrelmail;
  185. index index.php index.html index.htm;
  186. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
  187. access_log off;
  188. expires 10m;
  189. add_header Cache-Control "public";
  190. add_header X-Proxy-Cache $upstream_cache_status;
  191. }
  192. location ~ ^/squirrelmail/(.+\.php)$ {
  193. try_files $uri =404;
  194. fastcgi_param SCRIPT_FILENAME $request_filename;
  195. fastcgi_index index.php;
  196. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  197. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainyservice.sock;
  198. fastcgi_param PHP_VALUE "display_errors = Off";
  199. fastcgi_connect_timeout 3600;
  200. fastcgi_read_timeout 3600;
  201. fastcgi_send_timeout 3600;
  202. }
  203. }
  204.  
  205.  
  206. #
  207. location /phpPgAdmin {
  208. alias /usr/share/phpPgAdmin;
  209. index index.php index.html index.htm;
  210. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
  211. access_log off;
  212. expires 10m;
  213. add_header Cache-Control "public";
  214. add_header X-Proxy-Cache $upstream_cache_status;
  215. }
  216. location ~ ^/phpPgAdmin/(.+\.php)$ {
  217. try_files $uri =404;
  218. fastcgi_param SCRIPT_FILENAME $request_filename;
  219. fastcgi_index index.php;
  220. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  221. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainyservice.sock;
  222. fastcgi_connect_timeout 3600;
  223. fastcgi_read_timeout 3600;
  224. fastcgi_send_timeout 3600;
  225. }
  226. }
  227.  
  228. location /phppgadmin {
  229. rewrite ^/* /phpPgAdmin last;
  230. }
  231.  
  232. location ~* \.(ttf|jpg|jpeg|gif|png|ico|css|bmp|swf|js|txt|tar|avi|zip|tar.gz|pdf|woff[2]?)$ {
  233. root /usr/local/brainycp;
  234. access_log off;
  235. #expires 30d;
  236. #access_log /usr/local/brainycp/src/compiled/nginxb/vhost_logs/brainy_aaaaaaaa;
  237. add_header Cache-Control "public";
  238. }
  239.  
  240. #location ~ /.well-known {
  241. # allow all;
  242. #}
  243.  
  244. # location ~ /plugins/(.*){
  245. # root /usr/local/brainycp;
  246. # index index.php;
  247. # #rewrite ^(.*)$ /index.php?q=$1;
  248. # rewrite ^(.*)$ /index.php?qqq=$1;
  249. # }
  250.  
  251. location ~* robots.txt { root /usr/local/brainycp/src/compiled/nginxb; }
  252.  
  253. #location / {
  254. # proxy_pass http://127.0.0.1:8080;
  255. # proxy_redirect off;
  256. # proxy_force_ranges on;
  257. # proxy_set_header Host $host;
  258. # proxy_set_header X-Real-IP $remote_addr;
  259. # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  260. # client_max_body_size 124m;
  261. # client_body_buffer_size 128k;
  262. #
  263. # proxy_cache one;
  264. # proxy_cache_key "$request_method|$http_if_modified_since|$http_if_none_match|$host|$request_uri";
  265. # #access_log /etc/nginx/vhost_logs/brainte2.shn-host.ru.cache;
  266. #
  267. # proxy_cache_valid 10s;
  268. # proxy_cache_min_uses 2;
  269. # # proxy_cache_lock on;
  270. # # proxy_cache_use_stale error timeout;
  271. # # proxy_cache_use_stale updating http_502 http_504;
  272. #
  273. # limit_conn lone 5;
  274. # # limit_req zone=ltwo burst=10;
  275. #
  276. # proxy_connect_timeout 90;
  277. # proxy_send_timeout 90;
  278. # proxy_read_timeout 90;
  279. # proxy_buffer_size 4k;
  280. # proxy_buffers 8 32k;
  281. # proxy_busy_buffers_size 64k;
  282. # proxy_temp_file_write_size 10m;
  283. #}
  284.  
  285. location ~ \.php$ {
  286. root /usr/local/brainycp;
  287.  
  288. location ~ /script/(.*){
  289. auth_basic off;
  290. allow 127.0.0.1/32;
  291. deny all;
  292. }
  293.  
  294. location ~ /ssh/(.*){
  295. auth_basic off;
  296. allow 127.0.0.1/32;
  297. deny all;
  298. }
  299.  
  300. location ~ /lib/roundclogin.php {
  301. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainy.sock;
  302. fastcgi_split_path_info ^(.+?\.php)(/.*)?$;
  303. fastcgi_index index.php;
  304. fastcgi_param SCRIPT_FILENAME /usr/local/brainycp$fastcgi_script_name;
  305. fastcgi_param PATH_TRANSLATED /usr/local/brainycp$fastcgi_script_name;
  306. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  307. }
  308.  
  309. location ~ /plugins/elFinder-2.1.9/php/connector.minimal.admin.php {
  310. root /usr/local/brainycp;
  311. index index.php;
  312. #if ($access_ipa = 0) { return 404;}
  313. rewrite ^(.*)$ /index.php?qqq=$1;
  314. }
  315.  
  316. location ~ /plugins/elFinder-2.1.9/php/connector.minimal.client.php {
  317. root /usr/local/brainycp;
  318. index index.php;
  319. rewrite ^(.*)$ /index.php?qqq=$1;
  320. }
  321.  
  322. location ~ /plugins/elFinder_backups/php/connector_backup.php {
  323. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainy.sock;
  324. fastcgi_split_path_info ^(.+?\.php)(/.*)?$;
  325. fastcgi_index index.php;
  326. fastcgi_param SCRIPT_FILENAME /usr/local/brainycp$fastcgi_script_name;
  327. fastcgi_param PATH_TRANSLATED /usr/local/brainycp$fastcgi_script_name;
  328. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  329. }
  330.  
  331. location ~ /lib/(.*){
  332. auth_basic off;
  333. allow 127.0.0.1/32;
  334. deny all;
  335. }
  336.  
  337. location ~ /plugins/(.*){
  338. auth_basic off;
  339. allow 127.0.0.1/32;
  340. deny all;
  341. }
  342.  
  343. #fastcgi_pass unix:/var/run/brainyphp-fpm/php72-brainy.sock;
  344. fastcgi_pass unix:/var/run/brainyphp-fpm/php56-brainy.sock;
  345. #fastcgi_pass 127.0.0.1:9025;
  346. fastcgi_split_path_info ^(.+?\.php)(/.*)?$;
  347. fastcgi_index index.php;
  348. fastcgi_param SCRIPT_FILENAME /usr/local/brainycp$fastcgi_script_name;
  349. fastcgi_param PATH_TRANSLATED /usr/local/brainycp$fastcgi_script_name;
  350. include /usr/local/brainycp/src/compiled/nginxb/fastcgi_params;
  351. #fastcgi_param PHP_ADMIN_VALUE "open_basedir=.:/usr/local/brainycp";
  352.  
  353. #fastcgi_pass_request_body on;
  354. #client_body_in_file_only off;
  355.  
  356. #client_max_body_size 124m;
  357. client_max_body_size 2048m;
  358. client_body_buffer_size 256k;
  359. fastcgi_temp_file_write_size 500m;
  360. fastcgi_request_buffering off;
  361.  
  362.  
  363. #proxy_buffering on;
  364. #fastcgi_buffering on;
  365.  
  366. #fastcgi_buffers 32 32k;
  367. #fastcgi_buffer_size 64k;
  368.  
  369. fastcgi_buffers 8 32k;
  370. fastcgi_buffer_size 64k;
  371. fastcgi_busy_buffers_size 64k;
  372.  
  373. fastcgi_connect_timeout 3600;
  374. fastcgi_read_timeout 3600;
  375. fastcgi_send_timeout 3600;
  376.  
  377. fastcgi_cache bfcgi2;
  378. fastcgi_cache_key "$scheme|$request_method|$http_if_modified_since|$http_if_none_match|$host|$request_uri";
  379. fastcgi_cache_valid 200 10s;
  380.  
  381. limit_conn lbfcgi2 20;
  382. }
  383.  
  384. #location / {
  385. # root /usr/local/brainycp;
  386. # if (!-e $request_filename) {
  387. # rewrite ^(.+)$ /index.php?q=$1 last;
  388. # }
  389. #}
  390.  
  391. location ~ /\.ht {
  392. deny all;
  393. }
  394.  
  395. location ~ /\.well-known {
  396. allow all;
  397. root /var/www/html;
  398. }
  399.  
  400. location ~* \.conf {
  401. auth_basic off;
  402. allow 127.0.0.1/32;
  403. deny all;
  404. }
  405.  
  406. location ~ /ssh/(.*) {
  407. auth_basic off;
  408. allow 127.0.0.1/32;
  409. deny all;
  410. }
  411.  
  412. location ~ /src/(.*){
  413. auth_basic off;
  414. allow 127.0.0.1/32;
  415. deny all;
  416. }
  417.  
  418. location ~ /conf/(.*){
  419. auth_basic off;
  420. allow 127.0.0.1/32;
  421. deny all;
  422. }
  423.  
  424. location ~ /script/(.*){
  425. auth_basic off;
  426. allow 127.0.0.1/32;
  427. deny all;
  428. }
  429.  
  430. location ~ /data/(.*){
  431. auth_basic off;
  432. allow 127.0.0.1/32;
  433. deny all;
  434. }
  435.  
  436. location ~ /lib/(.*){
  437. auth_basic off;
  438. allow 127.0.0.1/32;
  439. deny all;
  440. }
  441.  
  442. location ~ /plugins/(.*){
  443. auth_basic off;
  444. allow 127.0.0.1/32;
  445. deny all;
  446. }
  447.  
  448. location / {
  449. root /usr/local/brainycp;
  450. index index.php;
  451. try_files $uri $uri/ /index.php?q=$uri&$args;
  452. #rewrite ^(.*)$ /index.php?q=$1;
  453. }
  454.  
  455.  
  456. error_page 404 /404.html;
  457. location = /40x.html {
  458. }
  459. #error_page 500 502 503 504 /50x.html;
  460. #location = /50x.html {
  461. #}
  462.  
  463. location /webshell {
  464. proxy_ssl_trusted_certificate /var/lib/shellinabox/certificate.pem;
  465. }
  466. }
  467.  
  468.  
Advertisement
Comments
  • User was banned
  • User was banned
  • Vorsatis
    25 days
    # CSS 0.84 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1ifNm-s74mX7GChaEzSJ1dVQCy1SrSxlMVRYi8ys0rgQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
Add Comment
Please, Sign In to add comment