mirror of https://github.com/ospab/ostp.git
chore: remove junk files, update .gitignore for temp dirs and archives
This commit is contained in:
parent
9e4c96afda
commit
52862b9eae
|
|
@ -1,16 +1,33 @@
|
|||
/target/
|
||||
/target_build/
|
||||
/target_linux/
|
||||
/dist/
|
||||
**/*.rs.bk
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
# Binaries & libraries
|
||||
*.exe
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
*.pdb
|
||||
|
||||
# Archives & temp extraction folders
|
||||
*.zip
|
||||
*_temp/
|
||||
*_new/
|
||||
|
||||
# Local scripts & test artifacts
|
||||
test_route.ps1
|
||||
|
||||
# Config & secrets
|
||||
config.json
|
||||
wintun.dll
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
|
||||
# Dev notes (not for repo)
|
||||
.ai-rules.md
|
||||
turn-harvesting-idea.md
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
$remote_ip = '138.124.241.18'
|
||||
$route = Get-NetRoute -DestinationPrefix '0.0.0.0/0' | Sort-Object RouteMetric | Select-Object -First 1
|
||||
$gw = $route.NextHop
|
||||
$ifIndex = $route.InterfaceIndex
|
||||
Write-Host "Found route via $gw (interface $ifIndex)"
|
||||
New-NetRoute -DestinationPrefix "$remote_ip/32" -NextHop $gw -InterfaceIndex $ifIndex -RouteMetric 1
|
||||
BIN
tun2socks.zip
BIN
tun2socks.zip
Binary file not shown.
Binary file not shown.
BIN
wintun.zip
BIN
wintun.zip
Binary file not shown.
Loading…
Reference in New Issue