> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ar/hacking-tools/windows/windows-enumeration.md).

# استطلاع ويندوز

### استكشاف Windows باستخدام Metasploit

للعثور على ثغرات تصعيد الصلاحيات المستندة إلى ثغرات النواة، يمكننا استخدام **multi/recon/local/\_exploit/\_suggester** في Metasploit، وهو موديول يحلل إصدار النواة لتحديد الثغرات المحتملة.

```bash
استخدم multi/recon/local_exploit_suggester 
```

<figure><img src="/files/3a7d3f50a9700948c8d62611fb42e82494e860c6" alt=""><figcaption></figcaption></figure>

### الاستكشاف اليدوي لنظام Windows

{% embed url="<https://github.com/gr33nm0nk2802/Windows-Exploit-Suggester>" %}

ابدأ بسرد معلومات النظام باستخدام `systeminfo` الأمر:

```bash
systeminfo
```

* انسخ جميع النتائج إلى ملف باسم **win.txt**.

<figure><img src="/files/f3caf9c048ebeadd1f82386e2d85879b1ea9e47e" alt=""><figcaption></figcaption></figure>

استخدم **windows-exploit-suggester** السكربت للعثور على الثغرات المطابقة لإصدار النظام:

```bash
./windows-exploit-suggester.py --update 
```

```bash
./windows-exploit-suggester.py --database 2025-03-29-mssb.xls  --systeminfo win.txt 
```

<figure><img src="/files/930fe92de58b07d7efd593120f422dbe6c430dbc" alt=""><figcaption></figcaption></figure>

* سيؤدي هذا إلى إنشاء قائمة بالثغرات المحتملة للجهاز المستهدف.

### الاستكشاف باستخدام سكربت PowerShell

> JAWS هو سكربت PowerShell صُمم لمساعدة مختبري الاختراق (ومشاركي CTF) على تحديد مسارات تصعيد الصلاحيات المحتملة على أنظمة Windows بسرعة. وهو مكتوب بلغة PowerShell 2.0، ولذلك ينبغي أن يعمل على جميع إصدارات Windows منذ Windows 7.

{% embed url="<https://github.com/411Hall/JAWS>" %}

الترتيب:

{% code overflow="wrap" %}

```
CMD C:/temp> powershell.exe -ExecutionPolicy Bypass -File ./jaws-enum.ps1 -OutputFilename JAWS-Enum.txt
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/ar/hacking-tools/windows/windows-enumeration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
