- Katılım
- 18 Ağu 2025
- Mesajlar
- 7,195
- Beğeniler
- 1,793
- İletişim




Bu kullanıcıyla herhangi bir iş veya ticaret yapmak istiyorsanız, forumdan uzaklaştırıldığını sakın unutmayın.
Python:
import os
import socket
import binascii
os.system("pip install requests")
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
s.bind(('127.0.0.1', 443))
s.listen(5)
print("Server Oluşturdu :p")
while True:
conn, addr = s.accept()
data = conn.recv(4096)
if data:
raw_hex = binascii.hexlify(data).decode('utf-8')
log_text = f"IP: {addr[0]}:{addr[1]}\nData: {raw_hex}\n"
print(log_text)
with open("packets.txt", "a", encoding="utf-8") as f:
f.write(log_text + "\n")
conn.close()
JSON:
$hostsPath = "C:\Windows\System32\drivers\etc\hosts"
$vanguardServers = @(
"na.vg.ac.pvp.net",
"eu.vg.ac.pvp.net",
"eu2.vg.ac.pvp.net",
"br.vg.ac.pvp.net",
"latam.vg.ac.pvp.net",
"kr.vg.ac.pvp.net",
"ap.vg.ac.pvp.net"
)
,
$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
if (-not $isAdmin) {
Write-Host "yönetici ac yrrm" -ForegroundColor Red
exit 1
}
$hostsContent = Get-Content $hostsPath -Raw
foreach ($server in $vanguardServers) {
$entry = "127.0.0.1 $server"
if ($hostsContent -notmatch [regex]::Escape($entry)) {
Write-Host "Adding: $entry" -ForegroundColor Green
Add-Content -Path $hostsPath -Value "`n$entry"
} else {
Write-Host "zaten var: $entry" -ForegroundColor Yellow
}
}
Write-Host "`Fix" -ForegroundColor Green