Code Monkey home page Code Monkey logo

ss's Issues

SStap UDP转发失败

大神好。。我是个纯小白。。自己研究了很久实在搞不懂了所以上github注册了来问问看。我是自己买的商业shadowsocks,然后想用SSTAP来加速吃鸡,但是怎么滴这个UDP转发都不通过,看了很多帖子,有点无从下手了,能给点方向么??自己搜了下是说用libev,但是没有具体清楚是应该怎么弄。

pve下centos7防火墙问题

你好,感谢你制作的一键脚本。在GCP的centos7测试你脚本是正常的。
但pve的centos7重启之后防火墙SS:7777规则丢失。
ssh需执行firewall-cmd --zone=public --add-port=7777/tcp --permanent才解决问题,这里反馈一下

S

try:
import os, colorama, requests
from os import system
from colorama import Fore
colorama.init(autoreset=True)
system("title " + "Lyrica Was Here - @8Y - Soud#5866")
except Exception as m:
print("Something Went Wrong\n")
print(m)
input()
exit()

logo = """
_______ __
____ | _ \ \ / /
/ __ \ \ V / \ V /
/ / ` |/ _ \ \ /
| | (
| | || | | |
\ _
,_/ _/
_
/
"""
print(Fore.CYAN+logo)
print(Fore.GREEN+"Made with Love by @8Y - Soud#5866\n\n")
tot = 1
username = input(f"[{Fore.GREEN}+{Fore.RESET}] Target Username: ")
if not os.path.exists("Results"):
os.makedirs("Results/")
if not os.path.exists(f"Results/Snap@{username}"):
os.makedirs(f"Results/Snap@{username}/")
try:
print(f"[{Fore.YELLOW}!{Fore.RESET}] This May Take 60-90Sec")
req = requests.post("https://sgm.adem.my.id/system/action.php",data=f"url=https%3A%2F%2Fstory.snapchat.com%2Fu%2F{username}&token=Safari",headers={"Host":"sgm.adem.my.id","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","Origin":"https://pastedownload.com","Connection":"keep-alive","Accept":"*/*","User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 @_agf.bye Mobile/15E148 Safari/604.1","Referer":"https://pastedownload.com/","Accept-Language":"en-US,en;q=0.9"}).json()
ttt = len(req['links'])
print(f"[{Fore.GREEN}+{Fore.RESET}] Found Total Of {ttt} Snaps")
print(f"[{Fore.GREEN}+{Fore.RESET}] Dowloading Now....")
for i in req["links"]:
req = requests.get(i["url"])
dd = req.content
if req.headers["Content-Type"] == "video/mp4":
open(f"Results/Snap@{username}/@8Y-{username}|{tot}.mp4","wb").write(dd)
elif req.headers["Content-Type"] == "image/jpeg":
open(f"Results/Snap@{username}/@8Y-{username}|{tot}.jpeg","wb").write(dd)
print(f"Done: {tot} | Total: {ttt}")
tot += 1
print(f"[{Fore.GREEN}+{Fore.RESET}] Done Downloading Total Of {ttt} From @{username}\n")
except:
print(f"[{Fore.RED}-{Fore.RESET}] Try Again Later....\n")
input("Dont Forget To Follow Me On Instagram: @_agf.bye\n\nPress Enter To Exit...")

是否需要打开防火墙端口?

~$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
Anywhere                   DENY IN     83.237.17.0/24
Anywhere                   DENY IN     45.77.149.0/24
Anywhere                   DENY IN     178.159.37.0/24
Anywhere                   DENY IN     37.115.223.0/24
Anywhere                   DENY IN     207.180.255.0/24
Anywhere                   DENY IN     42.117.48.0/24
Anywhere                   DENY IN     213.152.162.0/24
Anywhere                   DENY IN     5.227.15.0/24
22/tcp                     ALLOW IN    Anywhere
22                         ALLOW IN    Anywhere
80/tcp                     ALLOW IN    Anywhere
443/tcp                    ALLOW IN    Anywhere
123/udp                    ALLOW IN    Anywhere
22/tcp (v6)                ALLOW IN    Anywhere (v6)
22 (v6)                    ALLOW IN    Anywhere (v6)
80/tcp (v6)                ALLOW IN    Anywhere (v6)
443/tcp (v6)               ALLOW IN    Anywhere (v6)
123/udp (v6)               ALLOW IN    Anywhere (v6)

~$

我的防火墙设置如上,理应无法连接,但实际上却可以。请问ss脚本是否凌驾于ufw,还是ufw可能某些地方没设置对?

268348

image
一直无法启动成功

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.