You are on page 1of 25

‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.

htm‬‬

‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬

‫ﺳﺒﺤﺎﻧﻚ ﻻﻋﻠﻢ ﻟﻨﺎ ﺍﻻ ﻣﺎ ﻋﻠﻤﺘﻨﺎ ﺍﻧﻚ ﺍﻧﺖ ﺍﻟﻌﻠﻴﻢ ﺍﻟﺤﻜﻴﻢ‬


‫=============================‬

‫ﺑﻪڕ�ﺰﺍﻥ ﻟﻪﻭ ﭼﻪﻧﺪ ﺩ�ﺮﻩی ﺧﻮﺍﺭﻩﻭﻩ ﺑﺎﺳﯽ ﺷ�� ﻭ ﭼﯚﻧﻴﻪﺗﯽ ﺑﻪ ﻛﺎﺭﻫ�ﻨﺎﻧﯽ ﺷﻴﻜﺮﺩﻧﻪﻭﻩی‬
‫ﺑﻪﺷﻪﮔﺮﻧﮕﻪﻛﺎﻥ ﺩﻩﻛﻪﻳﻦ ﻛﻪ ﺯۆﺭ ﺋﻪﻧﺪﺍﻡ ﺗﺎ ﺋ�ﺴﺘﺎ ﻧﺎﺯﺍﻧ� ﺷ�� ﭼﻴﻪﻭ ﭼﯚﻥ ﺑﻪﻛﺎﺭ ﺩێ ﺍﺷﺎء ﺍﷲ‬
‫ﺳﻮﻭﺩی ﻟ�ﻮﻩﺭﺩﻩﮔﺮﻥ ﻛﻪﻣ�ﻚ ﺋﺎﺷﻨﺎی ﻫﺎﻛﺮﺩﻧﯽ ﺳﺎﻳﺖ ﺩﻩﺑﻦ ‪.‬‬
‫ﺳﻪﺭﻩﺗﺎ ﺑﺎ ﺑﺰﺍﻧﻴﻦ ﭼﯚﻥ ﺳﺎﻳﺖ ﻫﺎﻙ ﺩﻩﻛﺮێ ؟؟؟؟ ﭼﯽ ﭘ�ﻮﻳﺴﺘﻪ ﺑﯚ ﻫﺎﻛﺮﺩﻧﯽ ﺳﺎﻳﺖ ؟؟؟‬
‫ﺑ�ﮕﻮﻣﺎﻥ ﻫﻪﻣﻮﻭﻣﺎﻥ ﺩﻩﺯﺍﻧﻴﻦ ﻫﺎﻛﺮﺩﻥ ﻟﻪ ڕ�ﮕﻪی ﻫﻪ�ﻪﻭﻩ ﺩﻩﺑ� ﻭﺍﺗﺎ ﺋﻪﻭ ﺳﺎﻳﺘﻪی ﺩﻩﺗﻪﻭێ ﻫﺎﻛﯽ‬
‫ﺑﻜﻪی ﺩﻩﺑ� ﻫﻪ�ﻪ�ﻜﯽ ﻫﻪﺑ� ﺗﺎﻛﻮ ﺑﺘﻮﺍﻧﯽ ﺷ��ﯽ ﻟ� ﺑﻪﺭﺯﺑﻜﻪﻳﻪﻭﻩ ﺗﺎ ﻫﺎﻛﯽ ﺑﻜﻪی‪.‬ﺋﻪﻭﻩی ﭘ�ﻮﻳﺴﺖ‬
‫ﺑ� ﺑﯚ ﻫﺎﻛﺮﺩﻧﯽ ﺳﺎﻳﺖ‬
‫ﻳﻪﻛﻪﻡ ﻫﻪ�ﻪی ﺳﺎﻳﺖ‬
‫ﺩﻭﻭﻡ ﺯﺍﻧﻴﻨﯽ ﻫﻪﻧﺪێ ﻓﺮﻣﺎﻧﯽ ﻟﻴﻨﯚﻛﺲ ﺗﺎ ﺑﺘﻮﺍﻧﯽ ﺑﻪ ﺋﺎﺳﺎﻧﯽ ﺷ�� ﺑﻪﻛﺎﺭ ﺑﻴﻨﯽ‬
‫ﻟﻴﻨﯚﻛﺲ ﭼﻴﻪ ؟؟؟ ﺑﺮﻳﺘﻴﻪ ﻟﻪ ﺳﻴﺴﺘﻪﻣ�ﻜﯽ ﻛﺎﺭﭘ�ﻜﺮﺩﻧﯽ ﻭﻩﻙ ﻭﻳﻨﺪۆﺯ ﻛﻪ ﺯۆﺭﺑﻪی ﻫﻪﺭﻩ ﺯۆﺭی‬
‫ﺳ��ﭬﻪﺭﻩﻛﺎﻥ ﻟﻴﻨﯚﻛﺲ ﺑﻪﻛﺎﺭی ﺩﻩﻫ�ﻨﻦ‬
‫ﺋ�ﺴﺘﺎ ﺯﺍﻧﻴﻢ چ ﭘ�ﻮﻳﺴﺘﻪ ﺑﯚ ﻫﺎﻛﯽ ﺳﺎﻳﺖ ﻭ ﭼﯚﻥ ﺩﻩﻛﺮێ ﺑﺎ ﺑ�ﻦ ﺑﺎﺳﯽ ﺷ�� ﺑﻜﻪﻳﻦ ﻭ ﻓﺮﻣﺎﻧﻪ‬
‫ﮔﺮﻧﮕﻪﻛﺎﻧﯽ ﻭ ﺑﻪﺷﻪﻛﺎﻧﯽ ﺗﺎ ﺑﺘﻮﺍﻧﻴﻴﻦ ﺑﻪ ﺋﺎﺳﺎﻧﯽ ﻭ ﺑﻪ ڕ�ﻜﯽ ﺑﻪﻛﺎﺭی ﺑﻴﻨﻴﻦ‬
‫‪--------------------------------------------------------------------------‬‬
‫ﺷ�� ﭼﻴﻪ ؟؟؟؟‬
‫ﻛﻮﺭﺗﻪ ﭘ�ﻨﺎﺳﻪ�ﻜﯽ ﺷ�� ‪-:‬‬
‫ﺷ�� ﺑﺮﻳﺘﻴﻪ ﻟﻪ ﻓﺎﻳﻠ�ﻚ ﻛﻪ ﺑﻪ ﻳﻪﻛ�ﻚ ﻟﻪ ﺯﻣﺎﻧﻪﻛﺎﻧﯽ ﺑﻪﺭﻧﺎﻣﻪﺯﺍﻧﯽ ﺩﺍﺩﻩڕ�ﮋی ﻭﻩﻙ ) ‪Perl , PHP ,‬‬
‫‪ ( Asp‬ﺩﻭﻭﺭﺳﺖ ﺩﻩﻛﺮێ ﺑﯚ ﺟ�ﺒﻪﺟ� ﻛﺮﺩﻧﯽ ﻫﻪﻧﺪێ ﻓﺮﻣﺎﻥ ﻭ ﻛﺮﺩﺍﺭی ﺩﻳﺎﺭی ﻛﺮﺍﻭ ﻟﻪ ﺳﻪﺭ‬

‫‪1 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﻣﺎ�ﭙﻪڕ‪.‬ﺷ�� ﺯۆﺭ ﺟﯚﺭی ﻫﻪﻳﻪ ﺑﻪ ﺯﻣﺎﻧﯽ ﺟﻴﺎ ﺟﻴﺎ ﺩﻭﻭﺭﺳﺘﻜﺮﺍﻭﻥ ﺑﻪ�ﻡ ﻫﻪﻣﻮﻭی ﺑﯚ ﻳﻪﻙ‬
‫ﻣﻪﺑﻪﺳﺖ ﺑﻪﻛﺎﺭ ﺩێ ﺋﻪﻭﻳﺶ ﺟ�ﺒﻪﺟ�ﻜﺮﺩﻧﯽ ﻫﻪﻩﻧ� ﻓﺮﻣﺎﻥ ﻭ ﻛﺮﺩﺍﺭ ﻟﻪﺳﻪﺭ ﻣﺎ�ﭙﻪڕ‪.‬‬
‫ﺋﻪﻭ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ﻭ�ﻨﻪی ﺷ��ﯽ ‪ r57‬ﺑﻪ ﺯﻣﺎﻧﯽ ‪ Php‬ﺩﻭﺭﺳﺖ ﻛﺮﺍﻭﻩ‬

‫ﺋﻪﻭ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩﺵ ﻭ�ﻨﻪی ﺷ��� ‪ C100‬ﻛﻪ ﺑﻪ ﺯﻣﺎﻧﯽ ‪ Php‬ﺩﻭﻭﺭﺳﺘﻜﺮﺍﻭﻩ‬

‫‪2 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫=========================================================‬
‫ﻭ�ﻨﻪی ﺷ��ﯽ)‪ (c100‬ﻛﻪ ﺍﺷﺎء ﺍﷲ ﻟﻪﻭ ﭼﻪﻧﺪ ﺩ�ﺮﻩ ﺧﻮﺍﺭﻩﻭﻩ ﺑﺎﺳﯽ ﭼﯚﻧﻴﻪﺗﯽ ﺑﻪﻛﺎﺭﻫ�ﻨﺎﻧﯽ ﻭ‬
‫ﮔﺮﻧﮕﺘﺮﻳﻦ ﺑﻪﺷﻪﻛﺎﻧﯽ ﺩﻩﻛﻪﻥ‬

‫‪3 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ file:///D:/shell/index.htm

4 of 25 1/4/2010 19:05
‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﻓﻪﺭﻣﻮﻭ ﺋ�ﻮﻩﻭ ﺷ��ﯽ ‪ C100‬ﺷﻴﻜﺮﺩﻧﻪﻭﻩی ﮔﺮﻧﮕﺘﺮﻳﻦ ﺑﻪﺷﻪﻛﺎﻧﯽ‬

‫‪5 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪ \1‬ﺣﺎﻟﻪﺗﯽ ﭘﺎﺭ�ﺰﮔﺎﺭی ﻳﻌﻨﯽ ﻳﺎﻥ ﺑﻪ ﻋﻪﺭﺑﯽ ﭘ�ﺪﻩﮔﻮﺗﺮێ ﺍﻟﻮﺿﻊ ﺍﻷﻣﻦ ‪-:‬‬


‫ﻳﺎﻥ ‪ ON‬ﻭﻩ ﻳﺎﻥ ‪ OFF‬ﺋﻪﮔﻪﺭ ‪ OFF‬ﺑ� ﺋﻪﻭﺍ ﺩﻩﺗﻮﺍﻧﯽ ﺯۆﺭ ﻛﺮﺩﺍﺭ ﺟ�ﺒﻪﺟ� ﺑﻜﻪی ﺑﻪ ﺋﺎﺳﺎﻧﯽ‬
‫ﺑﻪ�ﻡ ﺋﻪﮔﻪﺭ‬
‫‪ ON‬ﺑ� ﺋﻪﻭﻩ ﻧﺎﺗﻮﺍﻧﯽ ﺯۆﺭ ﮔﺮﺩﺍﺭﻭ ﻓﺮﻣﺎﻥ ﻫﻪﻳﻪ ﺟ�ﺒﻪﺟ� ﺑﻜﻪی ﻫﻪﺗﺎ ﻫﻪﻧﺪێ ﺑﻪﺷﯽ ﺷ��ﻪﻛﯽ‬
‫ﻻﺩﻩﺑﺎﺕ‬
‫‪ \2‬ﺷﻮ�ﻨﺖ ﻟﻪﺳﻪﺭ ﺳ�ﺮﭬﻪﺭﻩﻛﻪ‪ -:‬ﻭﺍﺗﺎ ﺷﻮ�ﻨﯽ ﺷ��ﻪﻛﻪ ﻭ ﺷﻮ�ﻨﯽ ﻛﺎﺭﻛﺮﺩﻥ ﻟﻪﺳﻪﺭ ﻣﺎ�ﭙﻪڕﻩﻛﻪ‬
‫‪ home‬ﺷﻮ�ﻨﯽ ﻫﻪﻣﻮﻭ ﻳﻮﺯﻩﺭﻩﻛﺎﻧﯽ ﺳﻪﺭ ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ﭘﺎﺷﺎﻥ ‪ svetlana‬ﺋﻪﻣﻪ ﻳﻮﺯﻩﺭﻩﻛﻪﻳﻪﺗﯽ‬
‫ﻣﻪﺭﺝ ﻧﻴﻪ ﻧﺎﻭی ﻳﻮﺯﻩﺭﻩﻛﻪی ﻫﻪﻣﺎﻥ ﻧﺎﻭی ﻣﺎ�ﭙﻪڕﻩﻛﻪ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﻣﺎ�ﭙﻪڕی‬
‫‪ www.h4kurd.com‬ﻳﻮﺯﻩﺭی ﺑﺮﻳﺘﻴﻪ ﻟﻪ ‪ hack‬ﻳﻌﻨﯽ ﻫﻴﭻ ﭘﻪﻳﻮﻩﻧﺪی ﺑﻪ ﻧﺎﻭی ﺩۆﻣﻴﻨﯽ‬
‫ﺳﺎﻳﺘﻪﻛﻪﻭﻩ ﻧﻴﻪ ﻫﻪﺭﻛﻪﺳﻪ ﺑﻪ ﻫﻪﻭﻩﺳﯽ ﺧﯚی ﻧﺎﻭ�ﻚ ﺑﯚ ﻳﻮﺯﻩﺭﻩﻛﻪی ﺩﺍﺩﻩﻧ� ﻟﻪ ﻛﺎﻧﯽ‬
‫ﺩﻭﺭﺳﺘﻜﺮﺩﻧﯽ ﻣﺎ�ﭙﻪڕ‪ .‬ﺋﻪﻭی ﮔﺮﻧﮓ ﺑ� ﻟﻪ ﺩﻭﺍی ﻧﺎﻭی ﻳﻮﺯﻩﺭﻩﻛﻪی ﺩﻩﺑﻴﻨﻴﻦ ﻧﻮﺳﺮﺍﻭﻩ‬
‫‪ public_html‬ﻭﺍﺗﺎ ﻫﻪﺭﭼﯽ ﻓﺎﻳﻞ ﻭ ﻓﯚ�ﺪﻩﺭ ﻭ ﺳﻜﺮﻳﭙﺖ ﻫﻪﻳﻪ ﺩﻩﻛﻪﻭ�ﺘﻪ ﻧﺎﻭ ﺋﻪﻭ ﻓﯚ�ﺪﻩﺭﻩ‬
‫ﻫﻪﻣﻮﻭ ﻛﺎﺭﻩﻛﺎﻧﺖ ﻟﻪﻭێ ﺩﻩﺑ� ‪.‬‬
‫ﺍﺷﺎء ﺍﷲ ﻟﻪ ﺩﺍﻫﺎﺗﻮﻭ‬ ‫‪ \3‬ﺩﻩﺳﺖ ﻫﻪ�ﺗﯽ ﻛﺎﺭﻛﺮﺩﻥ ﻭﺍﺗﺎ ﺻﻼﺣﻴﺎﺕ ﻳﺎﻥ ‪ user‬ﻳﺎﻥ ‪nobody‬‬
‫ﺑﺎﺳﯽ ﺩﻩﻛﻪﻥ ‪.‬‬
‫‪ \4‬ﺟﯚﺭی ﺳﻴﺴﺘﻪﻣﻪی ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ﺳﻴﺴﺘﻪﻣﺎﻧﻦ ﺯۆﺭﻥ ﻳﺎﻥ ‪ Windows‬ﻳﺎﻥ ‪ Linux‬ﻳﺎﻥ‬
‫‪ FreeBSD‬ﺑﻪ�ﻡ ﺋﻪﻭﻩی ﻟﻪ ﻭ�ﻨﻪﻛﻪ ﺩﻳﺎﺭﻩ ﻧﻮﺳﺮﺍﻭﻩ ﻛﻪ ‪Linux‬‬
‫===================================‬
‫ﺷﻮ�ﻨﯽ ﭘﻴﺸﺎﻧﺪﺍﻧﺎﻧﯽ ﻓﺎﻝ ﻭ ﻓﯚ�ﺪﻩﺭﻩﻛﺎﻥ ﻭ ﻛﺎﺭﻛﺮﺩﻧﻤﺎﻥ‬

‫‪6 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪ \1‬ﻓﯚ�ﺪﻩﺭﻭ ﻓﺎﻳﻠﻪﻛﺎﻥ‬
‫‪ \2‬ﻗﻪﺑﺎﺭﻩی ﻓﺎﻳﻠﻪﻛﺎﻥ‬
‫‪ \3‬ﺋﻪﻡ ﺑﻪﺷﻪ ﺯۆﺭ ﮔﺮﻧﮕﻪ ﺑﻪﭘ� ﺋﻪﻭ ﺩﻩﺳﺘﻬﻪ�ﺗﺎﻧﻪ ﺩﻩﺗﻮﺍﻧﯽ ﺩﻩﺳﺘﻜﺎﺭی ﺑﻜﻪی ﻟﻪ ﻟﻪ ڕﻩﺷﻜﺮﺩﻧﻪﻭﻩ‬
‫ﻭ ﺯﻳﺎﺩ ﻛﺮﺩﻧﯽ ﭬﯚ�ﺪﻩﺭ ﻭ ﻓﺎﻳﻞ‬
‫ﺋﻪﻡ ﺷ�ﻮﻩ ﻧﻮﺳﺮﺍﻭﻩ )‪ (drwxrwxrwx‬ﺩﻩﺳﺘﻪ�ﺗﺖ ﻳﺎﻥ ﺻﻼﺣﻴﺎﺕ ﻳﺎﻥ ‪ Permission‬ﭘﻴﺸﺎﻥ‬
‫ﺩﻩﺩﺍﺕ ﻟﻪﺳﻪﺭ ﻓﯚ�ﺪﻩﺭﻩﻛﻪ ﻳﺎﻥ ﻓﺎﻳﻠﻪﻛﻪ ﻭﺍﺗﺎ ﺑﻪ ﮔﻮ�ﺮﻩی ﺋﻪﻭ ﻫ�ﻤﺎﻳﺎﻧﻪی ﻟﻪ ﺑﻪﺭﺍﻣﺒﻪﺭی ﻛﺮﺍﻭﻩ‬
‫ڕ�ﮕﻪﺕ ﭘ�ﺪﻩﺩﺭێ ﺑﯚ ﺩﻩﺳﺘﻜﺎﺭﻳﻜﺮﺩﻥ ‪.‬ﺯۆﺭ ﮔﺮﻧﮕﻪ ﺑﯚ ﻫﺎﻙ ﻛﺮﺩﻥ ﭼﻮﻧﻜﻪ ﺋﻪﮔﻪﺭ ڕ�ﮕﻪ ﭘ�ﻨﻪﺩﺭﺍﻭ‬
‫ﺑﯽ ﺗﻪﻧﻬﺎ ﺩﻩﺗﻮﺍﻧﯽ ﺑﻴﺨﻮ�ﻨﻴﻨﻪﻭﻩ ﻧﺎﺗﻮﺍﻧﯽ ﻫﻴﭻ ﺩﻩﺳﺘﻜﺎﺭی ﺑﻜﻪی ﻳﺎﻥ ﻫﻪﻧﺪێ ﺟﺎﺭ ﻧﺎﺗﻮﺍﻧﯽ‬
‫ﺑﻴﺨﻮ�ﻨﻴﻪﻭﻩ ﻳﺎﻥ ﻫﻪﻧﺪێ ﺟﺎﺭ ﻫﻪﺭ ﭘﻴﺸﺎﻥ ﻧﺎﺩﺍﺕ ﺑﯚﻳﻪ ﺋﻪﻭ ﺑﻪﺷﻪ ﺯۆﺭ ﮔﺮﻧﮕﻪ ‪.‬‬
‫=====================================‬
‫‪ Premission‬ﭼﻴﻪ ؟؟‬
‫ﺑﺮﻳﺘﻴﻪ ﻟﻪﻭ ﺗﺎﻳﺒﻪﺕ ﻣﻪﻧﺪﻳﻪ ﻛﻪ ﺧﺎﻭﻩﻥ ﻣﺎ�ﭙﻪڕ ﺑﯚ ﻓﺎﻳﻞ ﻳﺎﻥ ﻓﯚ�ﺪﻩﺭ ﺩﺍﻳﺪﻩﻧ� ﺑﯚ ﭘﺎﺭ�ﺰﮔﺎﺭی ‪.‬‬
‫‪ \1‬ﺑﯚ ﺧﻮ�ﻨﺪﻧﻪﻭﻩی ﻓﺎﻳﻞ ﺑﻪﺗﻪﻧﻬﺎ ﻭﺍﺗﺎ ﻧﺎﺗﻮﺍﻧﯽ ﺩﻩﺳﺘﻜﺎﺭی ﺑﻜﻪی ‪.‬‬
‫‪ \2‬ﺧﻮ�ﻨﺪﻧﻪﻭﻩی ‪ +‬ﺩﻩﺳﺘﻜﺎﺭی ﻛﺮﺩﻥ ‪ +‬ڕﻩﺷﻜﺮﺩﻧﻪﻭﻩ ﻳﺎﻥ ﺯﻳﺎﺗﻜﺮﺩﻧﯽ ﭘ�ﻜﻬﺎﺗﻪﻛﺎﻧﯽ ﻧﺎﻭ ﻓﺎﻳﻠﻪﻛﻪ ﺑﻪ‬
‫ﭘ� ﭘ�ﻮﻳﺴﺘﯽ ﺧﯚﺕ ﺑﻪ ﻫﻪﻣﻮﻭ ﺷ�ﻮﻩﻙ ﺩﻩﺗﻮﺍﻧﯽ ﺩﻩﺳﺘﻜﺎﺭی ﺑﻜﻪی‪.‬‬
‫ﭼﯚﻥ ﺩﻩﺯﺍﻧﯽ ﺋﻪﻭ ﻓﺎﻳﻠﻪ ﻳﺎﻥ ﺋﻪﻭ ﻓﯚ�ﺪﻩﺭﻩ ﺩﻩﺗﻮﺍﻧﯽ ﺩﻩﺳﺘﻜﺎﺭی ﺑﻜﻪی ؟؟؟ ﭼﯚﻥ ﺣﺴﺎﺏ ﺩﻩﻛﺮێ ﺋﻪﻭ‬
‫ﻫ�ﻤﺎﻳﺎﻧﻪ ؟؟‬

‫‪7 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪ \1‬ﻓﯚ�ﺪﻩﺭﻩﻛﺎﻥ‪ -:‬ﺋﻪﻭ ﻫ�ﻤﺎﻳﺎﻧﻪی ﺑﻪﺭﺍﻣﺒﻪﺭ ﻓﯚ�ﺪﻩﺭﻩﻛﺎﻥ ﺩﻩﻧﻮﺳﺮێ ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﺑ�‬


‫‪drwxrwxrwx‬‬
‫‪ \2‬ﻓﺎﻳﻠﻪﻛﺎﻥ ‪ -:‬ﺋﻪﻭ ﻫ�ﻤﺎﻳﺎﻧﻪی ﺑﻪﺭﺍﻣﺒﻪﺭ ﻓﺎﻳﻠﻪﻛﺎﻥ ﺩﻩﻧﻮﺳﺮێ ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﺑ� ‪-rwxrwxrwx‬‬
‫ﺋﻪﻭ ﻧﻤﻮﻭﻧﻪ ﻫ�ﻤﺎﻳﺎﻧﻪی ﺳﻪﺭﻩﻭﻩ ﻓﺎﻳﻞ ﻭ ﻓﯚ�ﺪﻩﺭﻥ ﺑﻪ ﺟﻤﯚﺩی ‪ 777‬ﻭﺍﺗﺎ ﺩﻩﺗﻮﺍﻧﯽ ﭼﯚﻧﺖ ﺑﻮێ‬
‫ﺩﻩﺳﺘﻜﺎﺭی ﺑﻜﻪی ﻟﻪ ﺳ�ﻳﻨﻪﻭﻩ ‪ .‬ﺑﯚ ﻫﻪﺭ ژﻣﺎﺭﻩﻳﻪﻙ ﻫ�ﻤﺎﻳﻪﻙ ﻫﻪﻳﻪ ﻧﺎﮔﯚڕی ﻟﻪ ﻫﻪﻣﻮﻭ‬
‫ﺳ�ﺮﭬﻪﺭﻩﻛﺎﻥ ﻭﻩﻙ ﻳﻪﻛﻪ ﺋ�ﺴﺘﺎ ﺩ�ﻦ ﭼﯚﻧﻴﻪﺗﯽ ﺣﺴﺎﺑﻜﺮﺩﻧﯽ ﺋﻪﻭ ﻫ�ﺎﻧﻪ ﺩﻩﻛﻪﻳﻦ ‪.‬‬
‫ﭼﯚﻧﻤﺎﻥ ﺯﺍﻧﯽ ﺋﻪﻭ ﻓﺎﻳﻞ ﻭ ﻓﯚ�ﺪﻩﺭﺍﻧﻪ ﺟﻤﻮﺩﻳﺎﻥ ‪ 777‬؟؟؟‬
‫ﺑﯚ ﻫﻪﺭ ژﻣﺎﺭﻩﻳﻪﻙ ﻫ�ﻤﺎﻳﻚ ﻫﻪﻳﻪ ﺑﻪﻡ ﺷ�ﻮﻩی ﺧﻮﺍﺭﻩﻭﻩ‬
‫‪r=4‬‬
‫‪w=2‬‬
‫‪x=1‬‬
‫ﺋﻪﮔﻪﺭ ﺑ�ﺖ ‪ 1+2+4‬ﺑﻜﻪﻳﻦ ﺩﻩﺑ�ﺘﻪ ‪7‬‬
‫‪r=4‬‬ ‫ﻭﺍﺗﺎ‬
‫‪w=2‬‬ ‫ﻭﻩ‬
‫‪x=1‬‬ ‫ﻭﻩ‬

‫‪8 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪ rwx‬ﻛﻪ ﻛﯚی ﻫﻪﻣﻮﻭی ﺩﻩﻛﺎﺗﻪ ‪ 7‬ﻭﻩﻙ ﻟﻪﺳﻪﺭﻩﻭﻩ ﺋﺎﻣﺎژﻩﻡ‬ ‫ﺑﻪﻡ ﺷ�ﻮﻩی ﺧﻮﺍﺭﻩﻭﻩی ﻟ�ﺪێ‬
‫ﭘ�ﻜﺮﺩ‬
‫ﺋﻪﮔﻪﺭ ‪ x w r‬ﺳ� ﺟﺎﺭ ﺩﻭﻭﺑﺎﺭﻩ ﺑ�ﺘﻪﻭﻩ ﺩﻩﺑ�ﺘﻪ ‪ 777‬ﻭﻩﻙ ﻟﻪ ﻭ�ﻨﻪﻛﻪی ﺳﻪﺭﻩﻭﻩﺑﻴﻨﻴﻤﺎﻥ‬
‫‪rwxrwxrwx‬‬
‫ﻛﻪ ﻛﯚی ﻫﻪﻣﻤﻮﻳﺎﻥ ﺩﻩﻛﺎﺗﻪ ‪ 7‬ﻛﻪ ‪ 3‬ﺟﺎﺭ ﺩﻭﻭﺑﺎﺭﻩ ﺑﯚﻭﻩ ﺩﻩﺑ�ﺘﻪ ‪777‬‬ ‫‪4 2 1‬‬
‫ﻧﻤﻮﻭﻧﻪﻳﻜﯽ ﺗﺮ ‪rwx r-x r-x‬‬
‫ﻫ�ﻤﺎی )‪ (-‬ﻳﻪﻛﺴﺎﻧﻪ ﺻﻔﺮ ﺣﺴﺎﺏ ﻧﺎﻛﺮی ﺋﻪﻭﺍﻧﯽ ﺗﺮ ﺑﻪﻡ ﺷ�ﻮﻩی ﺧﻮﺍﺭﻩﻭﻩ ﺣﺴﺎﺏ ﺩﻩﻛﺮێ‬
‫‪rwx = 4+2+1=7‬‬
‫‪r-x = 4+0+1=5‬‬
‫‪r-x = 4+0+1=5‬‬
‫ﻛﻪﻭﺍﺗﻪ ﺟﻤﯚﺩی ﺩﻩﺑ�ﺘﻪ ‪755‬‬
‫؟؟؟؟‬ ‫‪xwr‬‬ ‫ﺋﻪﻭ ﻫ�ﻤﺎﻳﺎﻧﻪ ﻭﺍﺗﺎی ﭼﻴﻪ‬
‫‪ = x‬ﺟ�ﺒﻪﺟ�ﻜﺮﺩﻥ‬ ‫‪\1‬‬
‫‪ = w‬ﻧﻮﺳﻴﻦ‬ ‫‪\2‬‬
‫‪ = r‬ﺧﻮ�ﻨﺪﻧﻪﻭﻩ‬ ‫‪\3‬‬

‫ﺩﻩﺗﻮﺍﻧﯽ ﺑﻴﺨﻮ�ﻨﻴﻪﻭﻩ‬ ‫ﻛﻪﻭﺍﺗﺎ ﻛﺎﺗ�ﻚ ﺩﻩﺑﻴﻨﻴﻦ ﻛﻪ ﻓﺎﻳﻠﻪﻙ ﺋﻪﻭ ﻫ�ﻤﺎﻳﻪی ) ‪ ( rwxrwxrwx‬ﻟﻪﺳﻪﺭﻩ‬


‫ﺟ�ﺒﻪﺟ�ﺒﻜﻪی ﻭ ﺑﻨﻮﻭﺳﯽ‬

‫ﻫﻴﻮﺍﺩﺍﺭﻡ ﺗﻮﺍﻧﻴﺒﻢ ﺯﺍﻧﻴﺎﺭﻳﻪﻙ ﺑﮕﻪﻳﻨﻢ ﺑﻪ ﺧﻮ�ﻨﻪﺭی ﺑﻪڕ�ﺰ‬


‫======================================‬
‫ﺻـﻼﺣـﻴـﺎﺕ === ﺩﻩﺳﺘﻬﻪ�ﺕ‬
‫ﺑﺮﻳﺘﻴﻪ ﻟﻪ ﻭ ﺩﻩﺳﺘﻬﻪ�ﺗﻪی ﻛﻪ ﭘﺎﺵ ﺷ�� ﺋﻪﭘﻠﯚﺩ ﻛﺮﺩﻥ ﭘ�ﺖ ﺩﻩﺩﺭێ ﺑﻪ ﮔﻮ�ﺮﻩی ﺳﻜﻮﻳﺮﺗﯽ‬
‫ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ﺑﺮﻳﺘﯽ ﺩﻩﺑﯽ ﻟﻪ ﻳﻪﻛ�ﻚ ﻟﻪﻭ ﺻﻼﺣﻴﺎﺗﺎﻧﻪ ‪ user‬ﻳﺎﻥ ‪ Nobody‬ﻳﺎﻥ ‪Apache‬‬

‫‪9 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﻟﻪ ﺳ�ﺮﭬﻪﺭ�ﻚ ﺑﯚ ﺳ�ﺮﭬﻪﺭ�ﻜﯽ ﺗﺮ ﺩﻩﮔﯚڕێ ﺑﯚ ﻧﻤﻤﻮﻧﻪ ﺗﯚ ﻟﻪ ﺳ��ﭬﻪﺭ�ﻚ ﺷ�� ﺋﻪﭘ�ﯚﺩ ﺩﻩﻛﻪی‬


‫ﻟﻬﺴ�ﺮﭬﻪﺭ�ﻚ ﺻﻼﺣﺘﯽ ‪ Apache‬ﻩ‬
‫ﻟﻬﺴ�ﺮﭬﻪﺭ�ﻜﯽ ﺗﺮ ﺻﻼﺣﺘﯽ ‪ User‬ﺑ� ﻟﻪ ﺳ�ﺮﭬﻪﺭ�ﻜﯽ ﺗﺮ ‪ Nobody‬ﺑ� ﻭﻩ ﻫﻪﻭﻩﻫﺎ ﻳﻌﻨﯽ‬
‫ﻣﻪﺭﺝ ﻧﻴﻪ ﻟﻪ ﻫﻪﻣﻮﻭ ﺳ�ﺮﭬﻪﺭ�ﻚ ﻭﻩﻙ ﻳﻪﻙ ﺑ� ﺋﻪﻭﻩﺵ ﻟﻪ ﺳﻪﺭ ﺳﻜﻮﻳﺮﺗﯽ ﻭ ﺧﺎﻭﻩﻥ ﺳ�ﺮﭬﻪﺭ‬
‫ﺩﻩﺑ� ﺗﺎﭼﻪﻧﺪ ﺩﻩﺳﺘﻬﻪ�ﺕ ﺑﺪﺍﺕ ‪ .‬ﺯﺍﻧﻴﻨﯽ ﺻﻼﺣﻴﺎﺕ ﺑﯚ ﺋﻪﻭﻩ ﺑﺎﺷﻪ ﺗﯚ ﺩﻩﺯﺍﻧﯽ ﭼﺖ ﭘ�ﺪﻩﻛﺮێ‬
‫ﻟﻪﺳﻪﺭ ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ﺗﺎ ﺑﻴﮕﻪﻳﺘﻪ ﻣﻪﺑﻪﺳﺖ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﻟﻪ ﺩﻩﺗﻮﺍﻧﯽ ﺑﭙﻪڕﻳﻪﻭﻩ ﺳﺎﻳﺘﻪﻛﺎﻧﯽ ﺗﺮ ﻳﺎﻥ‬
‫ﻧﺎﺗﻮﺍﻧﯽ ﻳﺎﻥ ﺩﻩﺗﻮﺍﻧﯽ ﻓﺎﻳﻠﯽ ﺳﺎﻳﺘﻪﻛﺎﻧﯽ ﺗﺮ ﺑﺨﻮ�ﻨﻴﻪﻭﻩ ﻭﻩ ﻫﻪﺭﻭﻩﻫﺎﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍ‪.....‬‬

‫‪. Nobody \1‬‬

‫ﻭﻩﻙ ﻟﻪ ﻭ�ﻨﻪﻛﻪ ﺩﻳﺎﺭﻩ ڕﺍﺳﺘﻪﻭﺧﯚ ﺑﻪ ﺧﯚﻛﺎﺭی ﺩﻩﻧﻮﻭﺳﺮێ ﻟﻪﺳﻪﺭ ﺷ��ﻪﻛﻪ ﻳﺎﻥ ﺩﻩﺗﻮﺍﻧﯽ ﻟﻪ‬
‫ڕ�ﮕﻪی ﺟ�ﺒﻪﺟ�ﻜﺮﺩﻧﯽ ﻓﺮﻣﺎﻧﯽ ‪ id‬ﺑﯚ ﺯﺍﻧﻴﻨﯽ ﺩﻩﺳﺘﻬﻪ�ﺕ ﺍﺷﺎء ﺍﷲ ﻟﻪ ﺩﺍﻫﺎﺗﻮﻭ ﺑﻪ ﺩﺭ�ﮋی ﺑﺎﺳﯽ‬
‫ﻓﺮﻣﺎﻧﻪ ﮔﺮﻧﮕﻪﻛﺎﻥ ﺩﻩﻛﻪﻳﻦ ‪.‬‬
‫ﺑﺎﺷﺘﺮﻳﻦ ﺩﻩﺳﺘﻬﻪ�ﺕ ﻟﻪ ﺳ�ﺮﭬﻪﺭ ﺑﺎﺵ ﺷ�� ﺋﻪﭘ�ﯚﺩ ﻛﺮﺩﻥ ﺋﻪﻡ ﺟﯚﺭﻩﻳﻪ ﭼﻮﻧﻜﻪ ﺩﻩﺗﻮﺍﻧﯽ ﺑﭙﻪڕ�ﻪﻭﻩ‬
‫ﺳﻪﺭ ﺳﺎﻳﺘﻪﻛﺎﻧﯽ ﺗﺮ ﻭﻩ ﻓﺎﻳﻠﯽ ﺗﺮ ﺋﻪﭘ�ﯚﺩ ﺑﻜﻪی ﻭﻩ ﻫﻪﺭﻭﻩﻫﺎﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍﺍ‪..‬‬

‫‪User \2‬‬

‫‪10 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﻭﻩﻙ ﻟﻪ ﻭ�ﻨﻪﻛﻪ ﺩﻳﺎﺭﻩ ﺋﻪﻣﻪ ﺩﻩﺳﺘﻬﻪ�ﺗﯽ ‪ User‬ﻩ‬


‫‪/ home / h4kurd /‬‬ ‫ﺋﻪﮔﻪﺭﺑ�ﺘﻮ ﺑﺎﺵ ﺋﻪﭘ�ﯚﺩ ﻛﺮﺩﻧﯽ ﺷ�� ﺷﻮ�ﻨﯽ ﺷ��ﻪﻛﻪﺕ ﻟ�ﺮﻩ ﺑﻮﻭ‬
‫‪public_html /‬‬
‫ﺋﻪﻭﻩ ﺩﻩ ﺳﺘﻪﻫ�ﺗﻪﻛﻪﺕ ﺋﺎﻭﺍ ﺩﻩﻧﻮﻭﺳﺮێ )‪uid=609(h4kurd) gid=609(h4kurd‬‬
‫)‪groups=609(h4kurd‬‬

‫‪h4kurd‬‬ ‫ﺋﻪﮔﻪﺭ ﺗﻪﻣﺎﺷﺎ ﺑﻜﻪﻳﻦ ﻟﻪ ﻧ�ﻮﺍﻥ ﺩﻭﻭ ﻛﻪﻭﺍﻧﻪﻛﻪ ﻳﻮﺯﻩﺭی ﺳﺎﻳﺘﻪﻛﻪ ﻧﻮﻭﺳﺮﺍﻭﻩ‬
‫ﻟﻪ ﻫﻪﻣﺎﻥ ﺷﻮ�ﻨﯽ ﺑﻪﺭﺯﻛﺮﻧﺪﻧﻪﻭﻩی ﺷ��ﻪﻛﻪ ﻧﻮﺳﺮﺍﻭﻩ‪ .‬ژﻣﺎﺭﻩی =‪ 609‬ﺟ�ﮕﻴﺮ ﻧﻴﻪ ﻭﺍﺗﺎ‬
‫ﮔﯚڕﺍﻭﻩ ﻟﻪ ﺳ�ﺮﭬﻪﺭ�ﻚ ﺑﯚ ﺳ�ﺮﭬﻪﺭ�ﻜﯽ ﺗﺮ ﺩﻩﮔﯚڕێ‪ .‬ﻟﻪﻡ ﺩﻩﺳﺘﻬﻪ�ﺗﻪ ﺩﻩﺗﻮﺍﻧﯽ ﻫﻪﻣﻮﻭﺷﺘ�ﻚ ﺑﻜﻪی‬
‫ﻟﻪﺳﻪﺭ ﺳﺎﻳﺘﻪﻛﻪ ﻭﺍﺗﺎ ﺩﻩﺑﻴﺘﻪ ﺧﺎﻭﻩﻥ ﺳﺎﻳﺖ ﺑﻪ�ﻡ ﻧﺎﺗﻮﺍﻧﯽ ﺑﭙﻪڕﻳﺘﻪﻭﻩ ﺳﺎﻳﺘﻪﻛﺎﻧﯽ ﺗﺮی ﺳﻪﺭ‬
‫ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ‪ .‬ﻟﻪﻭﺍﻧﻪﻳﻪ ڕ�ﮕﻪﺵ ﻫﻪﺑ� ﺑﭙﻪڕﻳﻪﻭﻩ ﻫﻴﭻ ﺷﺘ�ﻚ ﻣﻪﺣﺎڵ ﻧﻴﻪ ﻟﻪ ڕ�ﮕﻪی ﺗﺎﻗﯽ‬
‫ﻛﺮﺩﻧﻪﻭﻩی ﺧﯚﺕ ﺗﺎﻗﯽ ﺑﻜﻪﻭﻩ ﺯﻳﺎﺗﺮ ﺷﺎﺭﻩﺯﺍﺩﻩﺑﯽ‪.‬‬
‫‪Apache \3‬‬

‫ﻫﺎﻭ ﺷ�ﻮﻩی ﺩﻩﺳﺘﻬﻪ�ﺗﯽ ‪ Nobody‬ﺑﻪ�ﻡ ﺟﻴﺎﻭﺍﺯی ﻫﻪﻳﻪ ﻟﻪ ﺋﻴﺸﻜﺮﺩﻧﻴﺶ ﻟﻪ ﺳ��ﭬﻪﺭﻳﻚ ﺑﯚ‬


‫ﺳ�ﺮﭬﻪﺭ�ﻜﯽ ﺗﺮ ﺩﻩﮔﯚڕی ﺑﻪﭘ� ﺳﻴﻜﻮﻳﺮﺗﯽ ﺳ��ﭬﻪﺭ‬

‫‪11 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫====================================‬

‫‪Safe Mode‬‬
‫ﭼﻴﻪ‪ Safe Mode‬؟؟‬
‫ﺑﺮﻳﺘﻴﻪ ﻟﻪ ﭘﺎﺭ�ﺰﮔﺎﺭﻳﻪﻙ ﻛﻪ ﻟﻪ ﻧﺎﻭ ﻣﺘﺮﺟﻤﯽ ‪ php‬ﻫﻪﻳﻪ ﻟﻪ ﻛﺎﺗﯽ ﭼﺎﻻﻙ ﺩﻩﻛﺮێ ﭼﻪﻧﺪ ﺩﻭﺍﻟﻪﻙ‬
‫ﻫﻪﻳﻪ ڕﺍﺩﻩﮔﻴﺮێ ﻭ ﻧﺎﭼﺎ�ﻙ ﺩﻩﺑﯽ‪.‬ﻧﺎﺗﻮﺍﻧﯽ ﻫﻪﻧﺪێ ﻓﺮﻣﺎﻥ ﻫﻪﻳﻪ ﺟ�ﺒﻪﺟ�ﻴﺒﻜﻪی‪ .‬ﻭﻩ ﻫﻪﺭﻭﻩﻫﺎ ﻟﻪ‬
‫ﻛﺎﺗﯽ ﭼﺎﻻﻙ ﺑﻮﻭﻧﯽ ‪ Safe Mode‬ﺩﻩﺑ�ﺘﻪ ﻫﯚی ﺷﺎﺭﺩﻧﻪﻭﻩی ‪ Run command‬ﺑﻪ ﻫﯚی‬
‫ﻧﺎﭼﺎ�ﻛﺮﺩﻧﯽ ﻫﻪﻧﺪێ ﺩﻩﻭﺍﻟﯽ )‪(system , shell_exec , exec‬‬

‫)‪ (Disable functions‬ﭼﻴﻪ ؟؟‬


‫ﺑﺮﻳﺘﻴﻪ ﻟﻪ ﭼﻪﻧﺪ ﺩﻭﺍﻟﻪﻙ ﻧﺎﭼﺎ�ﻙ ﺩﻩﻛﺮێ ﻳﺎﻥ ڕﺍﺩﻩﮔﻴﺮی ﻟﻪ ﻛﺎﺭﺩﻩﺧﺮێ ﺯﻳﺎﺗﺮ ﺑﯚ ﻣﻪﺑﻪﺳﺘﯽ‬
‫ﭘﺎﺭ�ﺰﮔﺎﺭی ﻛﺮﺩﻧﯽ ﺳ�ﺮﭬﻪﺭ ﺑﻪﻛﺎﺭﺩﻩﻫ�ﻨﻦ‪ .‬ﺑﯚی ﻛﺎﺗ�ﻚ ﺋﻪﻭ ﺩﻭﺍﻻﻧﻪ ﻧﺎﭼﺎ�ﻙ ﺩﻩﻛﺮێ ﻧﺎﺗﻮﺍﻧﯽ‬
‫ﻫﻪﻧﺪێ ﻓﺮﻣﺎﻥ ﻫﻪﻳﻪ ﻳﺎﻥ ﺯۆﺭ ﻛﺮﺩﺍﺭ ﻫﻪﻳﻪ ﺟ�ﺒﻪﺟ� ﺑﻜﻪی‪.‬ﻟﻪﺳﻪﺭ ﺷ��ﻪﻛﻪ ﭘﻴﺸﺎﻧﻤﺎﻥ ﺩﻩﺩﺍﺕ‬
‫ﺋﻪﮔﻪﺭ ﺩﻩﻭﺍﻻﻩﻛﺎﻥ ﻧﺎﭼﺎ�ﻙ ﺑﻮﻭﻥ ﺩﻩﻭﺍﻟﻪﻛﺎﻥ ﺩﻩﻧﻮﻭﺳﺮێ‪ .‬ﺋﻪﮔﻪﺭ ﻧﺎ ﺩﻩﻧﻮﺳﺮێ )‪(NONE‬‬
‫ﻭﻩﻫﻪﻭﻩﻫﺎ ﺧﺎﻭﻩﻥ ﺳ�ﺮﭬﻪﺭﺩﻩﺗﻮﺍﻧﯽ ﺯﻳﺎﺗﺮ ﻟﻪﻭ ﺩﻭﺍﻻﻧﻪ ﻧﺎﭼﺎﻻﻙ ﻛﺎ ﭼﻪﻧﺪ ژﻣﺎﺭﻩﻳﺎﻥ ﺯﻳﺎﺗﺮ ﺑﯽ‬
‫ﺋﻪﻭﻩﻧﺪﻩ ﺋﻴﺸﻜﺮﺩﻥ ﻟﻪﺳﻪﺭ ﺳ�ﺮﭬﻪﺭ ﺯﺣﻤﻪﺗﺮ ﺩﻩﺑﯽ ﺑﻪ�ﻡ ﻣﺎﻧﺎی ﺋﻪﻭﻩ ﻧﻴﻪ ﻛﻪ ﻫﻴﭽﻤﺎﻥ ﭘ� ﻧﺎﻛﺮی‬
‫ﺩﻩﺗﻮﺍﻧﯽ ﻓﺎﻳﻼﺗﯽ ﮔﺮﻧﮕﯽ ﺳﺎﻳﺘﻪﻛﺎﻧﯽ ﺗﺮ ﺑﺨﻮ�ﻨﻴﻪﻭﻩ ﺑﻪﺱ ﺑﻪ ﻣﻪﺭﺟ� ﺩﻩﺑﯽ ﺑﺰﺍﻧﯽ ﺷﻮﻳﻨﯽ ﻓﺎﻳﻠﻪﻛﻪ‬
‫ﺩﻩﻛﻪﻭ�ﺘﻪ ﻛﻮێ‪ .‬ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﺧﻮ�ﻨﺪﻧﻪﻭﻩی ﻛﯚﻧﻔﻴﮕﯽ ﺳﺎﻳﺖ ‪..‬ﻟﻪﻛﺎﺗﯽ ﺋﻴﺶ ﻛﺮﺩﻥ ﺯﻳﺎﺗﺮ ﺷﺎﺭﻩﺯﺍ‬
‫ﺩﻩﺑﻦ‪.‬‬
‫ﺗ�ﺒﻴﻨﯽ \\ ﻭﻩ ﺩﻩﺗﻮﺍﻧﯽ ﻟﻪ ﺳﻪﺭ ﻫﻪﻧﺪێ ﺳ�ﺮﭬﻪﺭ ﻛﻪ ﭬ�ﺮژﻧﯽ ‪ php‬ﻫﻪﻧﺪێ ﻫﻪ�ﻪﻳﺎﻥ ﻫﻪﻳﻪ ﺋﻪﻭ‬
‫ﭘﺎﺭ�ﺰﮔﺎﺭﻳﻪﺵ ﺑﺒ�ێ ﻭﺍﺗﺎ ﺳﻴﻒ ﻣﯚﺩ ﻧﺎﭼﺎ�ﻙ ﻛﻪی‬
‫ﻟ�ﺮﻩ ﺑﺎﺳﯽ ﻧﺎﻛﻪﻳﻦ ﭼﻮﻧﻜﻪ ﺋﻪﻭ ڕﻭﻧﻜﺮﺩﻧﻪﻭﺍﻧﻪ ﺑﯚ ﺳﻪﺭﻩﺗﺎﻛﺎﻥ ﺑﻪﺳﻪ ﺑﯚﻳﻪ ﻧﺎﭼﻴﻨﻪ ﻧﺎﻭ ﻗﻮ�ﻳﯽ‬
‫ﺑﺎﺳﻪﻛﺎﻥ ﺗﺎ ﻟ�ﺘﺎﻥ ﺗ�ﻜﻪڵ ﻧﻪﺑﯽ‬
‫ﻟﻪ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ﺩﻳﺎﺭﻩ ﻛﻪ ﺳﻴﻒ ﻣﯚﺩ ﭼﺎ�ﻛﻪ ﺑﻪ ڕﻩﻧﮕﯽ ﺳﻮﺭ ﺩﻩﻧﻮﻭﺳﺮێ‬

‫‪12 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﻭ�ﻨﻪی ﺩﻭﻭﻩﻡ ﺳﻴﻒ ﻣﯚﺩ ﻧﺎﭼﺎ�ﻛﻪ‬

‫=====================================‬
‫ﻓﺮﻣﺎﻧﻪﻛﺎﻧﯽ ﻟﻴﻨﯚﻛﺲ‬
‫ﻭﻩﻙ ﻟﻪ ﭘ�ﺸﺘﺮ ﺑﺎﺳﯽ ﺳ�ﺮﭬﻪﺭﻣﺎﻥ ﻛﺮﺩ ﻛﻪ ﺑﺮﻳﺘﻴﻪ ﻟﻪ ﺳﻴﺴﺘﻪﻣ�ﻜﯽ ﻛﺎﺭ ﭘ�ﻜﺮﺩ ﺑ�ﮕﻮﻣﺎﻥ ﺑﯚ ﺋﻴﺶ‬
‫ﭘ�ﻜﺮﺩﻧﯽ ﺷ�� ﺩﻩﺑ� ﻫﻪﻧﺪێ ﻓﺮﻣﺎﻧﯽ ﮔﺮﻧﮕﯽ ﻟﻴﻨﯚﻛﺲ ﺑﺰﺍﻧﻴﻦ ﺗﺎﻛﻮ ﺑﺘﻮﺍﻧﻴﻦ ﺋﻪﻭﻩی ﻣﻪﺑﻪﺳﺘﻤﺎﻧﻪ‬
‫ﺑﻴﻜﻪﻳﻦ‪.‬‬
‫ﺗ�ﺒﻴﻨﯽ ﺋﻪﻭ ﻓﺮﻣﺎﻧﺎﻧﻪ ﺗﻪﻧﺎ ﻟﻪﺳﻪﺭ ﺳ�ﺮﭬﻪﺭی ﻟﻴﻨﯚﻛﺲ ﺋﻴﺶ ﺩﻩﻛﺎﺕ‬

‫‪13 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﭼﯚﻥ ﻓﺮﻣﺎﻧﻪﻛﺎﻥ ﺟ�ﺒﻪ ﺟ� ﺑﻜﻪﻡ ؟؟ ﻟﻪ ﻛﻮێ ﺑﻨﻮﻭﺳﻢ ؟؟؟‬


‫ﮔﺮﻧﮕﺘﺮﻳﻦ ﻓﺮﻣﺎﻧﻪﻛﺎﻧﯽ ﻛﻪ ﺑﻪ ﺑﻪﺭﺩﻩﻭﺍﻡ ﺋﻴﺸﯽ ﭘ�ﺪﻩﻛﺮێ ﭼﻴﻦ؟ ﻛﺎﻣﻪﻥ؟؟؟؟‬
‫ﻭﻩﻙ ﻟﻪ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ﺩﻩﻳﺒﻴﻨﻦ ﺋ�ﺮﻩ ﺷﻮ�ﻨﯽ ﻧﻮﺳﻴﻨﯽ ﻓﺮﻣﺎﻧﻪﻛﺎﻧﻪ‬

‫ﻳﺎﻥ ﺩﻩﺗﻮﺍﻧﯽ ﻫﻪﻧﺪێ ﻛﺮﺩﺍﺭی ﻭﻩﻙ ﺳ��ﻨﻪﻭﻩ ﻭ ﺩﺍﺑﻪﺯﺍﻧﺪﻥ ﻭ ﻛﯚﭘﯽ ﻛﺮﺩﻥ ﻭ ‪ .....‬ﻟﻪ ڕﻳﮕﻪی‬
‫ﺋﺎﻣﺮﺯﺍﻩﻛﺎﻧﯽ ﺳﻪﺭ ﺷ��ﻪﻛﻪ ﺟ�ﺒﻪﺟ� ﺑﻜﻪی ﻭﻩﻙ ﻟﻪ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ﺩﻳﺎﺭﻩ‬

‫‪14 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﺋ�ﺴﺘﺎ ﺑﻪ ﻛﻮﺭﺗﯽ ﮔﺮﻧﻜﺘﺮﻳﻦ ﻓﺮﻣﺎﻧﻪﻛﺎﻧﯽ ﺷ�� ﻳﺎﻥ ﻟﻴﻨﻮﻛﺲ ﺑﺎﺱ ﺩﻩﻛﻪﻭﻳﻦ ﻛﻪ ﺯۆﺭ ﺑﻪﻛﺎﺭ‬
‫ﺩﻩﻫ�ﻨﺪﺭێ ﻟﻪ ﻛﺎﺗﯽ ﺋﺸﭙ�ﻜﺮﺩﻧﯽ ﺷ��‬

‫‪=1‬‬

‫‪ Id‬ﺑﯚ ﺯﺍﻧﻴﻨﯽ ﺩﻩﺳﻬﻪ�ﺕ ﻟﻪﺳﻪﺭ ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ﻭﻩﻙ ﻟﻪ ﺳﻪﺭﻩﻭﻩ ﺑﺎﺳﻢ ﻛﺮﺩ ﻛﻪ ﺳ� ﺑﻪﺷﻪ ﺑﻪ‬
‫ﮔﺸﺘﯽ ﻭﻩﻙ ‪Nobody user‬‬

‫‪15 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﻭﻩﻙ ﻟﻪ ﻭ�ﻨﻪی ﺳﻪﺭﻩﻭﻩ ﺩﻳﺎﺭﻩ ﻟﻪ ﻛﺎﺗﯽ ﻧﻮﺳﻴﻨﯽ ﻓﺮﻣﺎﻧﻪﻛﻪ ﻟﻪ ﺷﻮ�ﻨﯽ ﻧﻮﺳﻴﻨﯽ ﻓﺮﻣﺎﻥ ﺋﻴﻨﺠﺎ ‪Enter‬‬
‫ﺩﻩﻛﻪی‬
‫ﻭﻩﻙ ﺩﻩﺑﻴﻨﻦ ﭼﯽ ﭘﺌﺸﺎﻧﺪﺍﻳﻦ‬
‫‪-----------------------------------‬‬
‫‪=2‬‬
‫‪ Pwd‬ﺑﯚ ﺯﺍﻧﻴﻨﯽ ﺷﻮ�ﻨﺖ ﻟﻪﺳﻪﺭ ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ﻭﻩﻙ ﺋﻪﻭ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ﺩﻳﺎﺭﻩ‬

‫‪16 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪--------------------------------------‬‬
‫‪=3‬‬
‫‪ ls –la‬ﭘﻴﺸﺎﻧﺪﺍﻧﯽ ﻓﺎﻳﻠﻪﻛﺎﻥ ﻟﻪﮔﻪڵ ﺟﻤﯚﺩﻳﺎﻥ ﻭﻩﻙ ﻟﻪ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ﺩﻳﺎﺭﻩ‬

‫‪17 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪--------------------------------------‬‬
‫‪=4‬‬
‫‪ Cat‬ﺑﯚ ﺧﻮ�ﻨﺪﻧﻪﻭﻩی ﻓﺎﻳﻞ ﺑﯚ ﻧﻤﻤﻮﻧﻪ ﻓﺎﻳﻠ�ﻜﺖ ﻫﻪﻳﻪ ﺑﻪﻧﺎﻭی ‪ config.php‬ﺋﻪﮔﻪ ﺑﺘﻪﻭێ‬
‫ﺑﻴﺨﻮ�ﻨﻴﻪﻭﻩ ﻭﺍﺗﺎ ﻧﺎﻭﻩڕۆﻛﯽ ﻓﺎﻳﻠﻪﻛﻪ ﺑﺒﻴﻨﯽ ﺋﻪﻭﻩ ﻟﻪ ڕ�ﮕﻪی ﺋﻪﻭ ﻓﺮﻣﺎﻧﻪ ﺩﻩﺗﻮﺍﻧﯽ ﺟ�ﺒﻪﺟ�ﯽ ﺑﻜﻪی‬
‫‪cat config.php‬‬ ‫ﺑﻪﻡ ﺷ�ﻮﻩ ﺩﻩﻧﻮﺳﺮێ‬
‫‪------------------------‬‬
‫‪=5‬‬

‫‪18 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪ Mkdir‬ﺑﯚ ﺩﻭﺭﺳﺖ ﻛﺮﺩﻧﯽ ﻓﯚ�ﺪﻩﺭ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ‪ mkdir h4kurd‬ﺑﯚ ﺩﻭﺭﺳﺖ ﻛﺮﺩﻧﯽ‬


‫ﻓﯚ�ﺪﻩﺭ�ﻚ ﺑﻪ ﻧﺎﻭی ‪h4kurd‬‬
‫‪------------------------‬‬
‫‪=6‬‬
‫‪ Touch‬ﺑﯚ ﺩﻭﺭﺳﺖ ﻛﺮﺩﻧﯽ ﻓﺎﻳﻞ ﺑﯚ ﻧﻤﻮﻭﻧﻪ ﺩﻩﻣﺎﻧﻪﻭێ ﻓﺎﻳﻠ�ﻚ ﺩﻭﺭﺳﺖ ﺑﻜﻪﻳﻦ ﺑﻪﻧﺎﻭی‬
‫‪ h4kurd.php‬ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ‬
‫‪Touch h4kurd.php‬‬
‫‪---------------------------------‬‬
‫‪=7‬‬
‫‪Chmod‬ﺋﻪﻡ ﻓﺮﻣﺎﻧﻪ ﺑﻪﻛﺎﺭ ﺩێ ﺑﯚ ﭘ�ﺪﺍﻧﯽ ﺩﻩﺳﺘﻬﻪ�ﺕ ﺑﻪ ﻓﺎﻳﻠ�ﻚ ﻳﺎﻥ ﻓﯚ�ﺪﻩﺭ�ﻚ ﻭﻩﻙ ﻟﻪ ﺳﻪﺭﻩﻭﻩ‬
‫ﺑﺎﺳﻢ ﻛﺮﺩ ﺑﻪ ﺩﺭ�ﮋی‬
‫ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﻓﺎﻳﻠ�ﻜﺖ ﻫﻪﻳﻪ ﺑﻪ ﻧﺎﻭی ‪ h4kurd‬ﺟﻤﯚﺩی ‪ 750‬ﺩﻩﺗﻪﻭێ ﺑﻴﻜﻪﻳﻪ ‪ 777‬ﻟﻪ ڕ�ﮕﻪی ﺋﻪﻭ‬
‫ﻓﺮﻣﺎﻧﻪﻭﻩ ﺩﻩﺗﻮﺍﻧﯽ ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮ�ﺘﻪﻭﻩ‬
‫‪Chmod 777 h4kurd‬‬
‫‪----------------------------------‬‬
‫‪=8‬‬
‫‪ Mv‬ﺑﯚ ﻧﺎﻭ ﮔﯚڕ�ﻦ ﻭ ﮔﯚڕﻳﻨﯽ ﭘﺎﺷﮕﺮی ﻭﻩﻙ ﻓﺎﻳﻠ�ﻜﻤﺎﻥ ﻫﻪﻳﻪ ﺑﻪﻧﺎﻭی ‪ h4kurd.txt‬ﺩﻩﺗﻮێ‬
‫ﺑﻴﻜﻪﻳﺘﻪ ﺑﻪ ‪hangaw.php‬‬
‫‪mv h4kurd.txt hangaw.php‬‬ ‫ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ‬
‫‪mv h4kurd.txt hangaw.txt‬‬ ‫ﻳﺎﻥ ﮔﯚڕﻳﻨﯽ ﻧﺎﻭ ﺑﻪ ﺗﻪﻧﻬﺎ ﺑﻪﺑ� ﮔﯚڕﻳﻨﯽ ﭘﺎﺷﮕﺮی ﻭﻩﻙ‬
‫‪----------------------‬‬
‫‪=9‬‬
‫‪ Cp‬ﺑﯚ ﻛﯚﭘﯽ ﻛﺮﻥ ﺑﻪﻛﺎﺭ ﺩێ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﻓﺎﻟ�ﻜﻤﺎﻥ ﻫﻪﻳﻪ ﺑﻪ ﻧﺎﻭی ‪ h4kurd.php‬ﻟﻪﻡ‬
‫ﺷﻮ�ﻨﻴﻪ ‪/home/user/public_html/‬‬

‫‪19 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﺩﻩﻣﺎﻧﻪﻭێ ﻛﯚﭘﯽ ﺑﻜﻪﻳﻦ ﺑﯚ ﺋﻪﻡ ﺷﻮ�ﻨﻪ ‪home/user/public_html/kurd‬‬


‫ﺋﻪﻭﺍ ﺑﻪﻡ ﺷ�ﻪﻭﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ‬
‫‪Cp h4kurd.php /home/user/public_html/kurd‬‬
‫‪-------------------------------‬‬
‫‪=10‬‬
‫‪ Rm‬ﺑﯚ ﺳ�ﻳﻨﻪﻭﻩی ﻓﺎﻳﻞ ﺑﯚ ﻧﻤﻤﻮﻧﻪ ﺩﻩﺗﻪﻭێ ﻓﺎﻳﻠ�ﻚ ﺑﺴ�ﻳﻪﻭﻩ ﺑﻪ ﻧﺎﻭی ‪ shell.gif‬ﺋﻪﻭﻩ ﺑﻪﻡ‬
‫ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ‬
‫‪Rm shell.gif‬‬
‫‪------------------------------‬‬
‫‪=11‬‬
‫‪ Rm –r‬ﺑﯚ ﺳ�ﻳﻨﻪﻭﻩی ﻓﯚ�ﺪﻩﺭ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﻓﯚ�ﺪﻩﺭ�ﻜﺖ ﻫﻪﻳﻪ ﺑﻪ ﻧﺎﻭی ‪ shell‬ﺩﻩﺗﻮێ ﺑﻴﺴ�ﻳﻪﻭﻩ‬
‫ﺋﻪﻭﻩ ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ ‪rm –r shell‬‬
‫‪-------------------------‬‬
‫‪=12‬‬
‫*‬
‫) ﺋﻪﺳﺘ�ﺮﻩ ( ﻓﺮﻣﺎﻧ�ﻜﻪ ﺑﯚ ﻓﺮﻣﺎﻧﻪﻛﺎﻧﯽ ﺗﺮ ﺯﻳﺎﺩ ﺩﻩﻛﺮێ ﺑﻪ ﻣﻪﺑﻪﺳﺘﯽ ﮔﺸﺘﯽ ﻭﻩﻙ ﺳ�ﻳﻨﻪﻭﻩی‬
‫ﻫﻪﻣﻮﻭ ﻓﺎﻳﻠﻪﻛﺎﻧﯽ ‪php‬‬
‫ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ‪ rm *.php‬ﻭﺍﺗﺎ ﺳ�ﻳﻨﻪﻭﻩی ﻫﻪﻣﻮﻭ ﻓﺎﻳﻠﻪﻛﺎﻧﯽ ‪php‬‬
‫ﻳﺎﻥ‬
‫‪Rm *.txt‬‬
‫ﻳﺎﻥ‬
‫* ‪Chmod 777‬‬
‫‪-------------------------------‬‬

‫‪20 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪=13‬‬
‫;‬
‫ﺋﻪﻡ ﻓﺮﻣﺎﻧﻪ ﺑﯚ ﺑﻪﺳﺘﻨﻪﻭﻩی ﺩﻭﻭ ﻓﺮﻣﺎﻥ ﺑﯚ ﺟ�ﺒﻪﺟ�ﻜﺮﺩﻥ ﻟﻪ ﻳﻪﻙ ﻛﺎﺗﺪﺍ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﻓﺮﻣﺎﻧﯽ ‪id‬‬
‫ﻟﻪﮔﻪڵ ﻓﺮﻣﺎﻧﯽ ‪ sl –al‬ﺑﻪﻳﻪﻛﻪﻭﻩ ﺟ�ﺒﻪﺟ� ﺑﻜﻪﻳﻦ‬
‫ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺧﻮﺍﺭﻩﻭﻩ ﺩﻩﺑ�‬
‫‪Sl –al;id‬‬
‫‪----------------------------‬‬
‫‪=14‬‬
‫‪ Find‬ﻓﺮﻣﺎﻧﯽ ﮔﻪڕﺍﻥ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﺑﯚ ﮔﻪڕﻥ ﻟﻪ ﻓﺎﻳﻠ�ﻚ ﺑﻪ ﻧﺎﻭی ‪h4kurd.php‬‬
‫ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ‬
‫‪Find h4kurd.php‬‬
‫ﻳﺎﻥ ﮔﻪڕﺍﻥ ﺑﻪﺩﻭﺍی ﻧﺎﻭ�ﻚ ﺑﻪﻫﻪﺭ ﭘﺎﺷﮕﺮ�ﻚ ﺑﯽ ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﮔﻪڕﺍﻥ ﺑﻪ ﺩﻭﺍی ﻧﺎﻭی ‪h4kurd‬‬
‫ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ *‪find h4kurd‬‬
‫ﻳﺎﻥ ﮔﻪڕﺍﻥ ﺑﻪ ﺩﻭﺍی ﭘﺎﺷﮕﺮ�ﻚ ﻭﺍﺗﺎ ﮔﻪڕﺍﻥ ﺑﻪ ﺩﻭﺍی ﻫﻪﻣﻮﻭ ﻓﺎﻳﻠﻪﻛﺎﻥ ﺑﻪ ﭘﺎﺷﮕﺮی ‪ php‬ﺑﻪﻡ‬
‫ﺷ�ﻮﻩﻳﻪی ﺧﻮﺍﺭﻩﻭﻩ ﺩﻩﻧﻮﺳﺮێ‬
‫‪Find *.php‬‬
‫‪---------------------------‬‬
‫‪=15‬‬
‫‪Wget‬ﻭ ‪ curl‬ﻭ ‪ GET‬ﻭ ‪ lynx‬ﺑﻪﻛﺎﺭ ﺩ�ﺖ ﺑﯚ ڕﺍﻛ�ﺸﺎﻧﯽ ﻓﺎﻳﻠ�ﻚ ﻟﻪ ﺩﻩﺭﻩﻭﻩی ﺳ�ﺮﭬﻪﺭﻩﻛﻪ ﻳﺎﻥ‬
‫ﺋﻪﭘ�ﯚﺩﻛﺮﺩﻧﯽ ﻓﺎﻳ�ﻚ‬
‫ﭼﯚﻧﻴﻪﺗﯽ ﺑﻪﻛﺎﺭ ﻫ�ﻨﺎﻧﯽ ﺋﻪﻭﻩی ﺯۆﺭ ﺑﻪﻛﺎﺭﺩێ ﺋﻪﻡ ﻧﻤﻤﻮﻭﻧﻪی ﺧﻮﺍﺭﻩﻭﻩﻳﻪ ﺑﻤﺎﻧﻪﻭێ ﻓﺎﻳﻠ�ﻚ ﻟﻪﻡ‬
‫ﺷﻮ�ﻨﻪ ﺋﻪﭘ�ﯚﺩ ﺑﻜﻪﻳﻦ ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﻧﻮﺳﺮێ‬
‫‪Wget http: www.h4kurd.com/h4kurd.zip‬‬

‫‪21 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪-------------------------‬‬
‫‪= 16‬‬
‫‪ Unzip‬ﻛﺮﻧﻪﻭﻩی ﻓﺎﻳﻠﻪﻛﺎﻥ ﺑﻪ ﭘﺎﺷﮕﺮی ‪ zip‬ﭼﯚﻧﻴﻪﺗﯽ ﺑﻪﻛﺎﺭ ﻫ�ﻨﺎﻧﯽ ﺑﻪﻡ ﺷ�ﻮﻩی ﺧﻮﺍﺭﻩﻭﻩﻳﻪ‬
‫ﺑﯚ ﻧﻤﻤﻮﻭﻧﻪ ﻓﺎﻳﻠ�ﻜﻤﺎﻥ ﻫﻪﻳﻪ ﺑﻪﻧﺎﻣﯽ ‪ h4kurd.zip‬ﺩﻩﻣﺎﻧﻪﻭێ ﺑﻴﻜﻪﻳﻨﻪﻭﻩ ﭼﯚﻧﻴﻪﺗﯽ ﻧﻮﺳﻴﻨﯽ ﺋﻪﻡ‬
‫ﻓﺮﻣﺎﻧﻪ ﺑﻪﻡ ﺷ�ﻮﻩﻳﻪ ﺩﻩﺑﯽ‬
‫‪Unzip h4kurd.zip‬‬
‫‪-------------------‬‬
‫‪=17‬‬
‫‪ ls -la /etc/valiases‬ﻭ ‪ cat /etc/passwd‬ﻭ ‪ ls /var/named‬ﻭ‬

‫‪ ls -la /etc/valiases‬ﺑﯚ ﭘﻴﺸﺎﻧﺪﺍ ﻫﻪﻣﻮﻭ ﻳﻮﺯﻩﺭﻩﻛﺎﻥ ﻭ ﺳﺎﻳﺘﻪﻛﺎﻥ‬


‫‪ cat /etc/passwd‬ﭘﻴﺸﺎﻧﺪﺍﻧﯽ ﻫﻪﻣﻮﻭ ﻳﻮﺯﻩﺭﻩﻛﺎﻥ‬
‫‪ ls /var/named‬ﭘﻴﺸﺎﻧﺪﺍﻧﯽ ﻫﻪﻣﻮﻭ ﺳﺎﻳﺘﻪﻛﺎﻥ‬

‫ﺗ�ﺒﻴﻨﯽ\\\ ﺯۆﺭ ﺟﺎﺭ ﺋﻪﻭ ﻓﺮﻣﺎﻧﺎﻧﻪ ڕﺍﮔﻴﺮﺍﻭﻥ ﻳﺎﻥ ﻛﺎﺭ ﻧﺎﻛﻪﻥ ﻟﻪﺳﻪﺭ ﻫﻪﻣﻮﻭ ﺳ�ﺮﭬﻪﺭ�ﻚ ﭼﺎﻛﺘﺮ‬
‫ﻭﺍﻳﻪ ﺋﻪﻡ ﺩﻭﻭ ﻓﺮﻣﺎﻧﯽ ﺧﻮﺍﺭﻩﻭﻩ ﺑﻪﻛﺎﺭ ﺑﻴﻨﯽ ﺋﻪﮔﻪﺭ ﺋﻪﻭ ﻓﺮﻣﺎﻧﺎﻧﻪ ﺋﻴﺸﻴﺎﻥ ﻧﻪﻛﺮﺩ‬

‫ﺑﯚ ﭘﻴﺸﺎﻧﺪﺍﻧﯽ ﻫﻪﻣﻮﻭ ﻳﻮﺯﻩﺭﻩﻛﺎﻥ‬

‫‪awk -F: '{ print $1 }' /etc/passwd | sort‬‬


‫ﺑﯚ ﭘﻴﺸﺎﻧﺪﺍﻧﯽ ﻫﻪﻣﻮ ﻳﻮﺯﻩﺭﻩﻛﺎﻥ ڕ��ﻩﻭی ﻳﻮﺯﻩﺭﻩﻛﺎﻥ‬
‫| ‪awk -F: '{ print $1 " "$2 " " $3" "$4" "$5 " "$6" "$7" "}' /etc/passwd‬‬

‫‪22 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪sort‬‬

‫ﺗ�ﺒﻴﻨﯽ \ ﺑﯚ ﺟ�ﺒﻪﺟ� ﻛﺮﺩﻧﯽ ﻫﻪﻧﺪێ ﻓﺮﻣﺎﻥ ﺩﻩﺑ� ﺩﻩﺳﺘﻬﻪ�ﺗﺖ ﻫﻪﺑ� ﺑﻪﻻﻳﻨﯽ ﻛﻪﻡ ﺑﯚ ﺩﻭﺭﺳﺖ‬
‫ﻛﺮﺩﻧﯽ ﻓﺎﻳﻞ ﻭ ﺑﻪﺭﺯﻛﺮﺩﻧﻪﻭﻩی ﻓﺎﻳﻞ ﺳ��ﻨﻪﻭﻩ‪.‬ﺩﻩﺑﯽ ﺋﻪﻭ ﻓﯚ�ﺪﻩﺭﻩی ﺋﻴﺸﯽ ﻟﻪﺳﻪﺭ ﺩﻩﻛﻪی ﺟﻤﯚﺩی‬
‫‪777‬‬

‫ﺋﻪﻭﺍﻧﻪ ﺑﻪﮔﺸﺘﯽ ﮔﺮﻧﻜﺘﺮﻳﻦ ﻓﺮﻣﺎﻧﻪﻛﺎﻥ ﺑﻮﻥ ﻛﻪ ﺑﻪﺯۆﺭی ﺋﻴﺸﺎﻥ ﭘ�ﺪﻩﻛﺮی ﺑﻪ�ﻡ ﺳﻪﺍﻥ ﻓﺮﻣﺎﻧﯽ ﺗﺮ‬
‫ﻫﻪﻳﻪ ﺋﻪﮔﻪﺭ ﻫﻪﻣﻮﻭی ﺑﺎﺱ ﺑﻜﻪﻳﻦ ﻩﺋﻮﻩ ﻛﺎﺗ�ﻜﯽ ﺯۆﺭی ﺩﻩﻭێ ﻭ ﺋ�ﺴﺘﺎ ﺋ�ﺸﻤﺎﻥ ﭘ�ﺎﻥ ﻧﺎﺑﯽ ﺑﯚ‬
‫ﺳﻪﺭﻩﺗﺎﻛﺎﻥ ﺋﻪﻭﻩﻧﺪﻩ ﺑﻪﺳﻪ ﻟﻪ ﻛﺎﺗﯽ ﺋﻴﺸﻜﺮﺩﻥ ﺯﻳﺎﺗﺮ ﻓ�ﺮی ﺩﻩﺑﻦ‬
‫============================‬
‫ﺩﻭﺭﺳﺖ ﻛﺮﺩﻧﯽ ﻓﺎﻳﻞ ﻭ ﻓﯚ�ﺪﻩﺭ‬
‫ﺟﮕﻪ ﻟﻪﻭ ﺧﻠ�ﻧﻪی ﺳﻪﺭﻩﻭﻩ ﺑﺎﺳﻤﺎﻥ ﻛﺮﺩ ﻟﻪ ڕ�ﮕﻪی ﻓﺮﻣﺎﻧﻪﻛﺎﻧﯽ ﻟﻴﻨﯚﻛﺲ ﺩﻩﺗﻮﺍﻧﯽ ﻓﯚ�ﺪﻩﺭ ﻭ ﻓﺎﻳﻞ‬
‫ﻭ ﻭﻩ ﻫﻬﺮﻭﻩﻫﺎ ﺑﮕﻪڕﻳﻼ ﺑﻪ ﺩﻭﺍی ﻓﺎﻳﻞ ﻟﻪڕ�ﮕﻪی ﺷ��ﻪﻩﻭﻩ ﻭﺍﺗﺎ ﺑﻪﺑ� ﻧﻮﺳﻴﻨﯽ ﻓﺮﻣﺎﻥ‪ .‬ﻭﻩﻙ ﻟﻪ‬
‫ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ڕﻭﻧﻜﺮﺍﻳﺘﻪﻭﻩ‬

‫‪ \1‬ﮔﻪڕﺍﻥ ﺑﻪ ﺩﻭﺍی ﻓﺎﻳﻞ‬


‫‪ \2‬ﺑﻪﺭﺯﻛﺮﺩﻧﻪﻭﻩی ﻓﺎﻳﻞ ﺋﻪﻭﻩﺵ ﺩﻩﺑ� ڕ�ﮕﻪ ﭘ�ﺪﺭﺍﻭ ﺑ� ﻭﺍﺗﺎ ﺋﻪﻭ ﻓﯚ�ﺪﻩﺭﻩی ﻛﻪ ﻓﺎﻳﻠﯽ ﻟ�‬

‫‪23 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫ﺑﻪﺭﺯﺩﻩﻛﻪﻳﻪﻭﻩ ﺩﻩﺑ� ﺟﻤﯚﺩی ‪ 777‬ﺑ� ﺋﻪﻭ ﻛﺎﺕ ﺩﻩﺗﻮﺍﻧﯽ ﻓﺎﻳﻞ ﺑﻪﺭﺯﺑﻜﻪﻳﻪﻭﻩ‪.‬ﻭﻩﻙ ﺩﻩﺑﻴﻨﻦ ﺑﻪ‬
‫ڕﻩﻧﮕﯽ ﺳﻪﻭﺯ ﻧﻮﺳﺮﺍﻭﻩ ‪ OK‬ﻭﺍﺗﺎ ڕ�ﮕﻪ ﭘ�ﺪﺭﺍﻭی ﺑﻪ�ﻡ ﺋﻪﮔﻪﺭ ڕ�ﮕﻪ ﭘ�ﻨﻪﺩﺭﺍﻭ ﺑﯽ ﺋﻪﻭ ﻛﺎﻥ ﺑﻪ‬
‫ڕﻩﻧﮕﯽ ﺳﻮﺭ ﺩﻩﻧﻮﺳﺮێ ‪ Read-Only‬ﻭﻩﻙ ﻟﻪﻭ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ ﺩﻳﺎﺭﻩ‬

‫‪ \3‬ﺩﻭﺭﺳﺖ ﻛﺮﺩﻧﯽ ﻓﯚ�ﺪﻩﺭ ﺗﻪﻧﻬﺎ ﻧﺎﻭی ﻓﯚ�ﺪﻩﺭﻩﻛﻪ ﺩﻩﻧﻮﺳﯽ ﻛﻠﻴﻚ ﻟﻪﺳﻪﺭ ‪ Create‬ﺩﻩﻛﻪی‪.‬‬
‫ﻭﻩﻫﻪﺭﻭﻩﻫﺎ ﻭﻩﻙ ﺑﺎﺳﻢ ﻛﺮﺩ ﺩﻩﺑ� ﺋﻪﻭ ﻓﯚ�ﺪﻩﺭﻩ ﺟﻤﯚﺩی ‪ 777‬ﺋﻪﻭﻛﺎﺕ ﺩﻩﺗﻮﺍﻧﯽ ﻓﯚ�ﺪﻩﺭ ﺩﻭﺭﺳﺖ‬
‫ﺑﻜﻪی ﻳﺎﻥ ﺑﻪ ڕﻩﻧﮕﯽ ﺳﻪﻭﺯ ﺩﻩﻧﻮﺳﺮێ ‪ OK‬ﻭﺍﺗﺎ ڕ�ﮕﻪ ﭘ�ﺪﺭﺍﻭی ﻭﻩ ﺋﻪﮔﻪﺭ ﻧﺎ ﺑﻪ ڕﻩﻧﮕﯽ ﺳﻮﺭ‬
‫ﺩﻩﻧﻮﺳﺮێ ‪ Read-Only‬ﻭﻩﻙ ﺋﻪﻭ ﻭ�ﻨﻪی ﺧﻮﺍﺭﻩﻭﻩ‬

‫‪ \4‬ﺩﻭﺭﺳﺖ ﻛﺮﺩﻧﯽ ﻓﺎﻳﻞ ﺑﻪ ﻫﻪﻣﺎﻥ ﺷ�ﻮﻩ ﻧﺎﻭی ﻓﺎﻳﻠﻪﻛﻪ ﻭ ﭘﺎﺷﮕﺮی ﻓﺎﻳﻠﻪﻛﻪ ﺩﻩﻧﻮﺳﯽ ﻭﻩﻙ‬
‫ﺑﻤﺎﻧﻪﻭێ ﻓﺎﻳﻠ�ﻚ ﺩﻭﺭﺳﺖ ﺑﻜﻪﻳﻦ ﺑﻪ ﻧﺎﻭی ‪ h4lurd.php‬ﻛﻠﻴﻚ ﻟﻪﺳﻪﺭ ‪ Create‬ﺩﻩﻛﻪی‪.‬‬
‫ﻫﻪﺭﻭﻩﻫﺎ ﺩﻩﺑﯽ ﻓﯚ�ﺪﻩﺭﻩﻛﻪ ﺟﻤﯚﺩی ‪777‬ﺋﻪﻭﻛﺎﺕ ﺑﻪ ڕﻩﻧﮕﯽ ﺳﻪﻭﺯ ﺩﻩﻧﻮﺳﺮێ ‪ Ok‬ﻭﻩﻙ ﺋﻪﻭﻩی‬
‫ﺳﻪﺭﻩﻭﻩ ﺑﺎﺳﻤﺎﻥ ﻛﺮﺩ‬
‫ﺋﻪﮔﻪﺭ ﻧﺎ ﺑﻪ ڕﻩﻧﮕﯽ ﺳﻮﺭ ﺩﻩﻧﻮﻭﺳﯽ ‪Read-Only‬‬

‫‪24 of 25‬‬ ‫‪1/4/2010 19:05‬‬


‫ﺑﺴﻢ ﺍﷲ ﺍﻟﺮﺣﻤﻦ ﺍﻟﺮﺣﻴﻢ‬ ‫‪file:///D:/shell/index.htm‬‬

‫‪ \5‬ﭼﻮﻧﻪ ﺳﻪﺭ ﻓﯚ�ﺪﻩﺭ�ﻜﯽ ﺗﺮ ﻭﺍﺗﺎ ﭘﻪڕ�ﻨﻪﻭﻩ ﻟﻪ ﻓﯚ�ﺪﻩﺭ�ﻚ ﺑﯚ ﻓﯚ�ﺪﻩﺭ�ﻜﯽ ﺗﺮ‬


‫‪ \6‬ﭼﻮﻧﻪ ﺳﻪﺭ ﻓﺎﻳﻞ ﻳﺎﻥ ﻛﺮﺩﻧﻪﻭﻩی ﻓﺎﻳﻞ‬

‫=================================‬

‫ﻫﻴﻮﺍﺩﺍﺭﻡ ﺑﻪﻭ ﭼﻪﻧﺪ ﺩ��ﻩی ﺳﻪﺭﻩﻭﻩ ﺧﺰﻣﻪﺗ�ﻜﯽ ﺑﭽﻮﻭﻛﻢ ﻛﺮﺩﺑ�‬


‫ﻭﻩ ﻟﻪ ﻫﻪﻣﻮﻭ ﻛﻪﻡ ﻭ ﻛﻮڕﻳﻪﻛﺎﻥ ﭼﺎﻭ ﭘﯚﺷﯽ ﺑﻜﻪﻥ‬
‫==========================================================‬
‫‪http://www.kurd-security.com‬‬
‫‪http://www.h4kurd.com‬‬
‫‪Kurd-SeCuritY-TeaM‬‬
‫‪H4KurD-TeaM‬‬
‫==================‬
‫‪AnGrY BoY‬‬
‫‪25\12\2009‬‬

‫‪25 of 25‬‬ ‫‪1/4/2010 19:05‬‬