racerxdl / spacereset.py
0 喜歡
0 分支
1 檔案
最後活躍 1 month ago
SpaceEngineers Torch DS restarter for cases where the MSCV debug window prevents it from auto restart. Should be run in the same machine (linux) as the DS
| 1 | import asyncio |
| 2 | import time |
| 3 | import os, signal |
| 4 | import opengsq |
| 5 | from opengsq.responses.source import SourceInfo, GoldSourceInfo, Visibility |
| 6 | |
| 7 | |
| 8 | async def query(info): |
| 9 | host, port = str(info["host"]), int(str(info["port"])) |
| 10 | source = opengsq.Source(host, port, 15) |
racerxdl / onelisten.go
0 喜歡
0 分支
1 檔案
最後活躍 1 month ago
One program, to listen to all TCP ports. It actually doesnt listen, but sniff them. - Based on http://maycon.hacknroll.io/hacking-tricks/2019/11/05/trick-check-outgoing-ports.html
| 1 | package main |
| 2 | |
| 3 | import ( |
| 4 | "fmt" |
| 5 | "github.com/google/gopacket" |
| 6 | "github.com/google/gopacket/layers" |
| 7 | "github.com/google/gopacket/pcap" |
| 8 | "time" |
| 9 | ) |
上一頁
下一頁