
طيب دلوقتي عايزين نعرف ازاي هنبدأ نجمع المعلومات اللي عايزينها ، قدامنا Tools كتيرة ممكن نعمل بيها كدة دلوقتي هنبدا ب أول Tool وهي dig وده ال syntax بتاعها >>
| dig | target.com | argument | what do ? |
|---|---|---|---|
| dig | microsfot.com | A | get all IPs |

طيب عشان اختصر كل الكلام ده واوصول للي output اللي انا عايزه على طول عن طريق ال command ده
dig +noall +answer microsoft.com

dig +noall +answer [microsoft.com](<http://microsoft.com>) NS > name server

في command يقدر يجيبلك كل المعلومات مرة واحدة وهو ANY
dig +noall +answer [microsoft.com](<http://microsoft.com>) ANY

dig +noall +answer @8.8.8.8 microsoft.com
| dig | +noall | +answer | @8.8.8.8 | microsoft.com |
|---|---|---|---|---|
| tool to get information | to get only data i want | the answer secttion only | ask google dns | the target |