Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions README.fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

</div>

<div dir="ltr">

```bash
# دانلود و استخراج (Linux amd64)
curl -LO https://github.com/nightowlnerd/dnscan/releases/latest/download/dnscan-linux-amd64.tar.gz
Expand All @@ -30,6 +32,8 @@ tar xzf dnscan-linux-amd64.tar.gz
./dnscan --country ir --domain t.example.com --mode list
```

</div>

![dnscan screenshot](screenshot.jpg)

<div dir="rtl">
Expand All @@ -40,6 +44,8 @@ tar xzf dnscan-linux-amd64.tar.gz

</div>

<div dir="ltr">

```bash
# Linux
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o dnscan-linux-amd64 .
Expand All @@ -48,6 +54,8 @@ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o dnscan-linux-
go build -o dnscan .
```

</div>

<div dir="rtl">

## پرچم‌ها
Expand Down Expand Up @@ -78,6 +86,8 @@ go build -o dnscan .

</div>

<div dir="ltr">

```bash
# تست سریع - فقط DNSهای شناخته‌شده
./dnscan --country ir --domain t.example.com --mode list
Expand All @@ -98,6 +108,8 @@ go build -o dnscan .
./dnscan --country cn --domain t.example.com --mode fast
```

</div>

<div dir="rtl">

## پرچم --verify
Expand All @@ -106,10 +118,14 @@ go build -o dnscan .

</div>

<div dir="ltr">

```bash
./dnscan --domain t.example.com --mode list --verify ./slipstream-client
```

</div>

<div dir="rtl">

دریافت slipstream-client از: https://github.com/AliRezaBeigy/slipstream-rust-deploy/releases
Expand All @@ -125,6 +141,8 @@ go build -o dnscan .

</div>

<div dir="ltr">

```
data/
ranges/
Expand All @@ -133,6 +151,8 @@ data/
ir.txt # سرورهای DNS شناخته‌شده
```

</div>

<div dir="rtl">

### دانلود خودکار رنج‌های IP
Expand All @@ -141,11 +161,15 @@ data/

</div>

<div dir="ltr">

```bash
# اولین اجرا de.zone را دانلود می‌کند
./dnscan --country de --domain t.example.com --mode fast
```

</div>

<div dir="rtl">

### اضافه کردن DNS
Expand All @@ -154,12 +178,16 @@ data/

</div>

<div dir="ltr">

```
# data/dns/ir.txt
185.8.174.140
130.185.77.69
```

</div>

<div dir="rtl">

## راه‌اندازی سرور
Expand All @@ -170,6 +198,8 @@ data/

</div>

<div dir="ltr">

```bash
# روی سرور شما
docker run -d --network host bashsiz/slipstream-rust slipstream-server \
Expand All @@ -178,17 +208,23 @@ docker run -d --network host bashsiz/slipstream-rust slipstream-server \
--target-address 127.0.0.1:22
```

</div>

<div dir="rtl">

برای تست بدون تونل (فقط چک کردن دسترسی DNS):

</div>

<div dir="ltr">

```bash
# DNS responder ساده
dnsmasq --no-daemon --log-queries --address=/t.example.com/1.2.3.4
```

</div>

<div dir="rtl">

## خروجی
Expand All @@ -197,18 +233,24 @@ dnsmasq --no-daemon --log-queries --address=/t.example.com/1.2.3.4

</div>

<div dir="ltr">

```
185.8.174.140
130.185.77.69
217.218.127.127
```

</div>

<div dir="rtl">

استفاده با slipstream:

</div>

<div dir="ltr">

```bash
./slipstream-client \
--resolver 185.8.174.140:53 \
Expand All @@ -217,6 +259,8 @@ dnsmasq --no-daemon --log-queries --address=/t.example.com/1.2.3.4
--tcp-listen-port 7000
```

</div>

<div dir="rtl">

## عیب‌یابی
Expand Down