Skip to content

Commit f8effde

Browse files
committed
init
0 parents  commit f8effde

37 files changed

+179
-0
lines changed

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
SSH OVER WEBSOCKET ONLY
2+
3+
# Command Install
4+
Copy this code & paste in your vps terminal
5+
6+
```
7+
apt update && apt upgrade -y && apt install -y wget screen && wget -q https://raw.githubusercontent.com/scvps/ssh-websocket/main/setup.sh && chmod +x setup.sh && screen -S setup ./setup.sh
8+
```
9+
10+
Work fine in
11+
Debian 9 & 10
12+
Ubuntu 18.04 & 20.04
13+
14+
------------------------------------------------------------
15+
16+
> Service & Port
17+
- OpenSSH : 22
18+
- SSH Websocket : 80 [ON]
19+
- OpenVPN : TCP 1194, UDP 2200, SSL 442
20+
- Stunnel4 : 443, 777
21+
- Dropbear : 109, 143
22+
- Squid Proxy : 3128, 8080 (limit to IP Server)
23+
- Badvpn : 7100 - 7300
24+
- Nginx : 81
25+
26+
------------------------------------------------------------

add-host.sh

15.3 KB
Binary file not shown.

addws.sh

18.1 KB
Binary file not shown.

autokill.sh

18.3 KB
Binary file not shown.

badvpn-udpgw64

403 KB
Binary file not shown.

bbr.sh

17.7 KB
Binary file not shown.

cek.sh

16.8 KB
Binary file not shown.

cekws.sh

16.6 KB
Binary file not shown.

clear-log.sh

15.6 KB
Binary file not shown.

config

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Default options for sslh initscript
2+
# sourced by /etc/init.d/sslh
3+
4+
# Disabled by default, to force yourself
5+
# to read the configuration:
6+
# - /usr/share/doc/sslh/README.Debian (quick start)
7+
# - /usr/share/doc/sslh/README, at "Configuration" section
8+
# - sslh(8) via "man sslh" for more configuration details.
9+
# Once configuration ready, you *must* set RUN to yes here
10+
# and try to start sslh (standalone mode only)
11+
12+
RUN=yes
13+
14+
# binary to use: forked (sslh) or single-thread (sslh-select) version
15+
# systemd users: don't forget to modify /lib/systemd/system/sslh.service
16+
DAEMON=/usr/sbin/sslh
17+
18+
DAEMON_OPTS="--user sslh --listen 0.0.0.0:333 --ssh 127.0.0.1:143 --ssl 127.0.0.1:447 --pidfile /var/run/sslh/sslh.pid"

delete.sh

17.7 KB
Binary file not shown.

delws.sh

17.7 KB
Binary file not shown.

expired.sh

16.6 KB
Binary file not shown.

hapus.sh

15.4 KB
Binary file not shown.

info.sh

15.1 KB
Binary file not shown.

kill-by-user.sh

16.9 KB
Binary file not shown.

member.sh

15.8 KB
Binary file not shown.

menu.sh

16.9 KB
Binary file not shown.

nginx.conf

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
user www-data;
2+
3+
worker_processes 1;
4+
pid /var/run/nginx.pid;
5+
6+
events {
7+
multi_accept on;
8+
worker_connections 1024;
9+
}
10+
11+
http {
12+
gzip on;
13+
gzip_vary on;
14+
gzip_comp_level 5;
15+
gzip_types text/plain application/x-javascript text/xml text/css;
16+
17+
autoindex on;
18+
sendfile on;
19+
tcp_nopush on;
20+
tcp_nodelay on;
21+
keepalive_timeout 65;
22+
types_hash_max_size 2048;
23+
server_tokens off;
24+
include /etc/nginx/mime.types;
25+
default_type application/octet-stream;
26+
access_log /var/log/nginx/access.log;
27+
error_log /var/log/nginx/error.log;
28+
client_max_body_size 32M;
29+
client_header_buffer_size 8m;
30+
large_client_header_buffers 8 8m;
31+
32+
fastcgi_buffer_size 8m;
33+
fastcgi_buffers 8 8m;
34+
35+
fastcgi_read_timeout 600;
36+
37+
set_real_ip_from 204.93.240.0/24;
38+
set_real_ip_from 204.93.177.0/24;
39+
set_real_ip_from 199.27.128.0/21;
40+
set_real_ip_from 173.245.48.0/20;
41+
set_real_ip_from 103.21.244.0/22;
42+
set_real_ip_from 103.22.200.0/22;
43+
set_real_ip_from 103.31.4.0/22;
44+
set_real_ip_from 141.101.64.0/18;
45+
set_real_ip_from 108.162.192.0/18;
46+
set_real_ip_from 190.93.240.0/20;
47+
set_real_ip_from 188.114.96.0/20;
48+
set_real_ip_from 197.234.240.0/22;
49+
set_real_ip_from 198.41.128.0/17;
50+
real_ip_header CF-Connecting-IP;
51+
52+
include /etc/nginx/conf.d/*.conf;
53+
}

other/tmp.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#!/bin/bash

password

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#
2+
# /etc/pam.d/common-password - password-related modules common to all services
3+
#
4+
# This file is included from other service-specific PAM config files,
5+
# and should contain a list of modules that define the services to be
6+
# used to change user passwords. The default is pam_unix.
7+
8+
# Explanation of pam_unix options:
9+
#
10+
# The "sha512" option enables salted SHA512 passwords. Without this option,
11+
# the default is Unix crypt. Prior releases used the option "md5".
12+
#
13+
# The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in
14+
# login.defs.
15+
#
16+
# See the pam_unix manpage for other options.
17+
18+
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
19+
# To take advantage of this, it is recommended that you configure any
20+
# local modules either before or after the default block, and use
21+
# pam-auth-update to manage selection of other modules. See
22+
# pam-auth-update(8) for details.
23+
24+
# here are the per-package modules (the "Primary" block)
25+
password [success=1 default=ignore] pam_unix.so obscure sha512
26+
# here's the fallback if no module succeeds
27+
password requisite pam_deny.so
28+
# prime the stack with a positive return value if there isn't one already;
29+
# this avoids us returning an error just because nothing sets a success code
30+
# since the modules above will each just jump around
31+
password required pam_permit.so
32+
# and here are more per-package modules (the "Additional" block)
33+
# end of pam-auth-update config

port.sh

23.4 KB
Binary file not shown.

renew.sh

16 KB
Binary file not shown.

scvps.sh

15.1 KB
Binary file not shown.

service.sh

15.9 KB
Binary file not shown.

setup.sh

20.7 KB
Binary file not shown.

squid3.conf

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
acl manager proto cache_object
2+
acl localhost src 127.0.0.1/32 ::1
3+
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
4+
acl SSL_ports port 442
5+
acl Safe_ports port 80
6+
acl Safe_ports port 21
7+
acl Safe_ports port 443
8+
acl Safe_ports port 70
9+
acl Safe_ports port 210
10+
acl Safe_ports port 1025-65535
11+
acl Safe_ports port 280
12+
acl Safe_ports port 488
13+
acl Safe_ports port 591
14+
acl Safe_ports port 777
15+
acl CONNECT method CONNECT
16+
acl SSH dst xxxxxxxxx
17+
http_access allow SSH
18+
http_access allow manager localhost
19+
http_access deny manager
20+
http_access allow localhost
21+
http_access deny all
22+
http_port 8080
23+
http_port 3128
24+
coredump_dir /var/spool/squid3
25+
refresh_pattern ^ftp: 1440 20% 10080
26+
refresh_pattern ^gopher: 1440 0% 1440
27+
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
28+
refresh_pattern . 0 20% 4320
29+
visible_hostname Scvps

ssh-vpn.sh

30.9 KB
Binary file not shown.

sshws.sh

17.3 KB
Binary file not shown.

tendang.sh

19.1 KB
Binary file not shown.

trial.sh

17.6 KB
Binary file not shown.

usernew.sh

18.2 KB
Binary file not shown.

v2ray-core.sh

39.2 KB
Binary file not shown.

vpn.sh

20.8 KB
Binary file not shown.

vps.conf

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
server {
2+
listen 81;
3+
server_name 127.0.0.1 localhost;
4+
access_log /var/log/nginx/vps-access.log;
5+
error_log /var/log/nginx/vps-error.log error;
6+
root /home/vps/public_html;
7+
8+
location / {
9+
index index.html index.htm index.php;
10+
try_files $uri $uri/ /index.php?$args;
11+
}
12+
13+
location ~ \.php$ {
14+
include /etc/nginx/fastcgi_params;
15+
fastcgi_pass 127.0.0.1:9000;
16+
fastcgi_index index.php;
17+
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
18+
}
19+
}

webmin.sh

17.4 KB
Binary file not shown.

ws.sh

15.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)