en
stringlengths 4
3.31k
| translation
stringlengths 5
3.49k
| target_lang
stringclasses 10
values | domain
stringclasses 6
values | complexity
stringclasses 3
values |
|---|---|---|---|---|
Linux user accounts provide resources to individuals or services.
|
لینکس صارف اکاؤنٹس افراد یا خدمات کو وسائل فراہم کرتے ہیں۔
|
ur
|
technical
|
simple
|
A user can log in with a password and access system resources.
|
ایک صارف پاس ورڈ کے ساتھ لاگ ان ہو سکتا ہے اور سسٹم کے وسائل تک رسائی حاصل کر سکتا ہے۔
|
ur
|
technical
|
simple
|
Users can't see each other's files by default.
|
صارفین ڈیفالٹ کے طور پر ایک دوسرے کی فائلیں نہیں دیکھ سکتے۔
|
ur
|
technical
|
simple
|
Linux systems allow software to have user accounts.
|
لینکس سسٹم سافٹ ویئر کو صارف اکاؤنٹس رکھنے کی اجازت دیتے ہیں۔
|
ur
|
technical
|
moderate
|
Software can use system resources but can't read other users' private files.
|
سافٹ ویئر سسٹم کے وسائل استعمال کر سکتا ہے لیکن دوسرے صارفین کی نجی فائلیں نہیں پڑھ سکتا۔
|
ur
|
technical
|
moderate
|
It's best to run commands as an unprivileged user.
|
کمانڈز کو غیر استحقاق یافتہ صارف کے طور پر چلانا بہتر ہے۔
|
ur
|
technical
|
simple
|
The root account can do anything on Linux.
|
روٹ اکاؤنٹ لینکس پر کچھ بھی کر سکتا ہے۔
|
ur
|
technical
|
simple
|
Use the 'adduser' command to add a new user.
|
نیا صارف شامل کرنے کے لیے 'adduser' کمانڈ استعمال کریں۔
|
ur
|
technical
|
simple
|
A group is created when a user is added.
|
جب کوئی صارف شامل کیا جاتا ہے تو ایک گروپ بنایا جاتا ہے۔
|
ur
|
technical
|
simple
|
You'll be prompted for user information, including a password.
|
آپ سے صارف کی معلومات طلب کی جائیں گی، بشمول پاس ورڈ۔
|
ur
|
technical
|
moderate
|
Add a user to the sudoers file to allow privileged commands.
|
استحقاق یافتہ کمانڈز کی اجازت دینے کے لیے صارف کو سوڈوورز فائل میں شامل کریں۔
|
ur
|
technical
|
moderate
|
Use the 'su' command to switch users.
|
'su' کمانڈ استعمال کریں صارفین کو تبدیل کرنے کے لیے۔
|
ur
|
technical
|
simple
|
The 'sudo' command runs commands as root.
|
'sudo' کمانڈ کمانڈز کو روٹ کے طور پر چلاتی ہے۔
|
ur
|
technical
|
simple
|
If a command requires more privileges, it may fail.
|
اگر کسی کمانڈ کو زیادہ مراعات کی ضرورت ہو تو، یہ ناکام ہو سکتی ہے۔
|
ur
|
technical
|
moderate
|
Use 'touch' to create an empty file.
|
خالی فائل بنانے کے لیے 'touch' استعمال کریں۔
|
ur
|
technical
|
simple
|
Use 'mkdir' to create a new directory.
|
نیا ڈائریکٹری بنانے کے لیے 'mkdir' استعمال کریں۔
|
ur
|
technical
|
simple
|
The 'cp' command copies a file.
|
'cp' کمانڈ ایک فائل کو کاپی کرتی ہے۔
|
ur
|
technical
|
simple
|
The 'mv' command moves a file.
|
'mv' کمانڈ ایک فائل کو منتقل کرتی ہے۔
|
ur
|
technical
|
simple
|
Be careful when removing files recursively.
|
فائلوں کو بار بار ہٹاتے وقت محتاط رہیں۔
|
ur
|
technical
|
moderate
|
The 'echo' command writes text to the terminal or a file.
|
'echo' کمانڈ ٹرمینل یا فائل میں متن لکھتی ہے۔
|
ur
|
technical
|
moderate
|
Adding users When Windows starts up, log in as the user georgia with no password.
|
جب ونڈوز شروع ہو، تو صارف جارجیا کے طور پر بغیر کسی پاس ورڈ کے لاگ ان کریں۔
|
ur
|
technical
|
simple
|
Installing VMware Tools Now install VMware Tools, which will make it easier to use your virtual machine.
|
اب VMware ٹولز انسٹال کریں، جو آپ کی ورچوئل مشین کو استعمال کرنا آسان بنا دے گا۔
|
ur
|
technical
|
simple
|
VMware Player on Microsoft Windows In VMware Player, install VMware Tools from Player4Manage4Install V M w a r e To ol s, as shown in Figure 1-31.
|
مائیکروسافٹ ونڈوز پر VMware پلیئر میں، VMware ٹولز کو Player4Manage4Install V M w a r e To ol s سے انسٹال کریں، جیسا کہ شکل 1-31 میں دکھایا گیا ہے۔
|
ur
|
technical
|
moderate
|
The VMware Tools installer should automatically run in Windows XP.
|
VMware ٹولز انسٹالر کو خود بخود ونڈوز XP میں چلنا چاہیے۔
|
ur
|
technical
|
simple
|
Install VMware Tools from Virtual Machines4Install VMware Tools, as shown in Figure 1-32.
|
ورچوئل مشینیں4انسٹال VMware ٹولز سے VMware ٹولز انسٹال کریں، جیسا کہ شکل 1-32 میں دکھایا گیا ہے۔
|
ur
|
technical
|
moderate
|
Now open the Control Panel from the Windows Start menu.
|
اب ونڈوز اسٹارٹ مینو سے کنٹرول پینل کھولیں۔
|
ur
|
technical
|
simple
|
Click Security Center4Windows Firewall to turn off the Windows Firewall, as shown in Figure 1-33.
|
ونڈوز فائر وال کو بند کرنے کے لیے سیکیورٹی سینٹر4ونڈوز فائر وال پر کلک کریں، جیسا کہ شکل 1-33 میں دکھایا گیا ہے۔
|
ur
|
technical
|
moderate
|
Click the user georgia and then select Create a password.
|
صارف جارجیا پر کلک کریں اور پھر پاس ورڈ بنائیں کو منتخب کریں۔
|
ur
|
technical
|
simple
|
Set georgia’s password to password, as shown in Figure 1-34.
|
جارجیا کا پاس ورڈ پاس ورڈ پر سیٹ کریں، جیسا کہ شکل 1-34 میں دکھایا گیا ہے۔
|
ur
|
technical
|
simple
|
Set a static IP address so your networking information won’t change as you work through the book.
|
ایک جامد IP ایڈریس سیٹ کریں تاکہ آپ کی نیٹ ورکنگ کی معلومات نہ بدلے جب آپ کتاب پر کام کر رہے ہوں۔
|
ur
|
technical
|
moderate
|
To find the default gateway, open a Windows command prompt by going to Start4Run, entering cmd, and clicking OK.
|
ڈیفالٹ گیٹ وے تلاش کرنے کے لیے، Start4Run پر جا کر، cmd درج کر کے، اور OK پر کلک کر کے ونڈوز کمانڈ پرامپٹ کھولیں۔
|
ur
|
technical
|
moderate
|
In the command prompt, enter ipconfig. This will show you the networking information, including the default gateway.
|
کمانڈ پرامپٹ میں، ipconfig درج کریں۔ یہ آپ کو نیٹ ورکنگ کی معلومات دکھائے گا، بشمول ڈیفالٹ گیٹ وے۔
|
ur
|
technical
|
moderate
|
Now it’s time to see if our virtual machines can communicate.
|
اب وقت آگیا ہے کہ دیکھیں کہ آیا ہماری ورچوئل مشینیں بات چیت کر سکتی ہیں۔
|
ur
|
technical
|
simple
|
If you see output beginning with 64 bytes from <ip address of XP>, as shown previously, your virtual machines are able to communicate.
|
اگر آپ آؤٹ پٹ دیکھتے ہیں جو 64 بائٹس سے شروع ہوتا ہے <ip ایڈریس آف XP>، جیسا کہ پہلے دکھایا گیا ہے، تو آپ کی ورچوئل مشینیں بات چیت کرنے کے قابل ہیں۔
|
ur
|
technical
|
complex
|
Congratulations! You’ve set up a net- work of virtual machines.
|
مبارک ہو! آپ نے ورچوئل مشینوں کا ایک نیٹ ورک قائم کیا ہے۔
|
ur
|
technical
|
simple
|
Finally, we need to modify a setting in Windows XP so that it will behave as if it were a member of a Windows domain, as many of your clients will be.
|
آخر میں، ہمیں ونڈوز XP میں ایک سیٹنگ کو تبدیل کرنے کی ضرورت ہے تاکہ یہ اس طرح برتاؤ کرے جیسے کہ یہ ونڈوز ڈومین کا رکن ہو، جیسا کہ آپ کے بہت سے کلائنٹ ہوں گے۔
|
ur
|
technical
|
complex
|
Select Start4Run and enter secpol.msc to open the Local Security Settings panel.
|
Start4Run منتخب کریں اور Local Security Settings پینل کھولنے کے لیے secpol.msc درج کریں۔
|
ur
|
technical
|
moderate
|
In this section we’ll install some vulnerable software on our Windows XP virtual machine.
|
اس سیکشن میں ہم اپنی ونڈوز XP ورچوئل مشین پر کچھ کمزور سافٹ ویئر انسٹال کریں گے۔
|
ur
|
technical
|
moderate
|
Download Zervit version 0.4 from http://www.exploit-db.com/exploits/12582/.
|
Zervit ورژن 0.4 کو http://www.exploit-db.com/exploits/12582/ سے ڈاؤن لوڈ کریں۔
|
ur
|
technical
|
simple
|
Once SLMail is installed, restart your virtual machine.
|
SLMail انسٹال ہونے کے بعد، اپنی ورچوئل مشین کو دوبارہ شروع کریں۔
|
ur
|
technical
|
simple
|
Thanks too to all the pentesters and researchers who have shared their knowledge.
|
ان تمام پین ٹیسٹرز اور محققین کا بھی شکریہ جنہوں نے اپنا علم شیئر کیا ہے۔
|
ur
|
technical
|
moderate
|
I now hope to share the knowledge I’ve gained with other aspiring pentesters.
|
اب میں امید کرتا ہوں کہ میں نے جو علم حاصل کیا ہے اسے دوسرے خواہشمند پین ٹیسٹرز کے ساتھ شیئر کروں گا۔
|
ur
|
technical
|
moderate
|
You’ll find a list of additional resources (including courses and blogs) at the end of this book.
|
آپ کو اس کتاب کے آخر میں اضافی وسائل (بشمول کورسز اور بلاگز) کی ایک فہرست ملے گی۔
|
ur
|
technical
|
simple
|
These are some of the resources that I have found helpful on my own journey in infosec.
|
یہ وہ وسائل ہیں جو مجھے انفوسیک میں اپنے سفر میں مددگار لگے ہیں۔
|
ur
|
technical
|
moderate
|
I encourage you to use them to learn more about the many penetration testing topics covered in this book.
|
میں آپ کو ان کا استعمال کرنے کی ترغیب دیتا ہوں تاکہ اس کتاب میں شامل پینیٹریشن ٹیسٹنگ کے بہت سے موضوعات کے بارے میں مزید معلومات حاصل کی جا سکیں۔
|
ur
|
technical
|
moderate
|
I hope you enjoy your journey as much as I have.
|
مجھے امید ہے کہ آپ میرے جتنا ہی اپنے سفر سے لطف اندوز ہوں گے۔
|
ur
|
general
|
simple
|
To work through this book, you will need to know how to install software on your computer.
|
اس کتاب پر کام کرنے کے لیے، آپ کو یہ جاننے کی ضرورت ہوگی کہ اپنے کمپیوٹر پر سافٹ ویئر کیسے انسٹال کرنا ہے۔
|
ur
|
technical
|
simple
|
When you encounter a topic that is not familiar to you, I encourage you to do some outside research.
|
جب آپ کسی ایسے موضوع کا سامنا کریں جو آپ کے لیے واقف نہیں ہے، تو میں آپ کو کچھ بیرونی تحقیق کرنے کی ترغیب دیتا ہوں۔
|
ur
|
technical
|
moderate
|
We will walk step-by-step through all the tools and techniques that may be new to you.
|
ہم ان تمام ٹولز اور تکنیکوں کے ذریعے قدم بہ قدم چلیں گے جو آپ کے لیے نئے ہو سکتے ہیں۔
|
ur
|
technical
|
moderate
|
When I started in information security, the closest thing I’d ever done to hacking was making the Windows XP pre-SP2 Start menu say Georgia instead of Start.
|
جب میں نے انفارمیشن سیکیورٹی شروع کی، تو ہیکنگ کے قریب ترین کام جو میں نے کیا تھا وہ ونڈوز ایکس پی پری ایس پی 2 اسٹارٹ مینو کو اسٹارٹ کے بجائے جارجیا کہنا تھا۔
|
ur
|
technical
|
complex
|
There was a lot of hard work between then and now, and there will be much more hard work as I endeavor to reach the highest level of information security.
|
اس وقت اور اب کے درمیان بہت محنت تھی، اور بہت زیادہ محنت ہوگی کیونکہ میں معلومات کی حفاظت کی اعلیٰ ترین سطح تک پہنچنے کی کوشش کرتا ہوں۔
|
ur
|
technical
|
complex
|
In Chapter 0, we start out with some basic definitions of the phases of penetration testing.
|
باب 0 میں، ہم پینیٹریشن ٹیسٹنگ کے مراحل کی کچھ بنیادی تعریفوں سے شروع کرتے ہیں۔
|
ur
|
technical
|
simple
|
In Chapter 1, we build our small practice laboratory, which we will use to work through the exercises in this book.
|
باب 1 میں، ہم اپنی چھوٹی پریکٹس لیبارٹری بناتے ہیں، جسے ہم اس کتاب میں مشقوں پر کام کرنے کے لیے استعمال کریں گے۔
|
ur
|
technical
|
simple
|
I recommend that you take the time to set up your lab and work through the hands-on examples with me.
|
میں تجویز کرتا ہوں کہ آپ اپنا لیب سیٹ اپ کرنے اور میرے ساتھ ہینڈ آن مثالوں پر کام کرنے کے لیے وقت نکالیں۔
|
ur
|
technical
|
moderate
|
In Chapter 2, we start with the basics of using Kali Linux and Linux operating systems in general.
|
باب 2 میں، ہم کلی لینکس اور عام طور پر لینکس آپریٹنگ سسٹمز کے استعمال کی بنیادی باتوں سے شروع کرتے ہیں۔
|
ur
|
technical
|
simple
|
Next, Chapter 3 covers the basics of programming.
|
اس کے بعد، باب 3 پروگرامنگ کی بنیادی باتوں کا احاطہ کرتا ہے۔
|
ur
|
technical
|
simple
|
If you are new to these areas, please do continue your studies outside of this book.
|
اگر آپ ان شعبوں میں نئے ہیں، تو براہ کرم اس کتاب سے باہر اپنی پڑھائی جاری رکھیں۔
|
ur
|
technical
|
simple
|
Linux-based operating systems are becoming more and more prevalent as the platforms for mobile devices and web services.
|
لینکس پر مبنی آپریٹنگ سسٹم موبائل آلات اور ویب سروسز کے لیے پلیٹ فارمز کے طور پر زیادہ سے زیادہ عام ہوتے جا رہے ہیں۔
|
ur
|
technical
|
moderate
|
We look at the basics of using the Metasploit Framework, a tool we will leverage throughout this book, in Chapter 4.
|
ہم باب 4 میں میٹااسپلوئٹ فریم ورک کے استعمال کی بنیادی باتوں پر نظر ڈالتے ہیں، جو ایک ایسا ٹول ہے جسے ہم اس کتاب میں استعمال کریں گے۔
|
ur
|
technical
|
moderate
|
Though we will also learn to perform many tasks without Metasploit, it is a go-to tool for many pentesters in the field.
|
اگرچہ ہم میٹااسپلوئٹ کے بغیر بھی بہت سے کام کرنا سیکھیں گے، لیکن یہ فیلڈ میں بہت سے پین ٹیسٹرز کے لیے ایک بہترین ٹول ہے۔
|
ur
|
technical
|
moderate
|
Click the Play button and, when prompted as shown in Figure 1-1, choose I copied it.
|
پلے بٹن پر کلک کریں اور، جب اشارہ کیا جائے جیسا کہ شکل 1-1 میں دکھایا گیا ہے، تو 'میں نے اسے کاپی کیا' منتخب کریں۔
|
ur
|
technical
|
simple
|
As Kali Linux boots up, you will be prompted as shown in Figure 1-2. Choose the top (default) highlighted option.
|
جب کالی لینکس شروع ہو گی، تو آپ کو شکل 1-2 میں دکھائے گئے مطابق اشارہ کیا جائے گا۔ سب سے اوپر والا (ڈیفالٹ) نمایاں آپشن منتخب کریں۔
|
ur
|
technical
|
simple
|
Once Kali Linux boots, you will be presented with a login screen like the one shown in Figure 1-3.
|
ایک بار جب کالی لینکس شروع ہو جائے گی، تو آپ کو لاگ ان اسکرین دکھائی دے گی جیسا کہ شکل 1-3 میں دکھایا گیا ہے۔
|
ur
|
technical
|
simple
|
Click Other and enter the default credentials for Kali Linux, root:toor, as shown in Figure 1-4.
|
Other پر کلک کریں اور کالی لینکس کے لیے ڈیفالٹ اسناد درج کریں، root:toor، جیسا کہ شکل 1-4 میں دکھایا گیا ہے۔
|
ur
|
technical
|
simple
|
You will be presented with a screen like the one shown in Figure 1-5.
|
آپ کو ایک اسکرین دکھائی جائے گی جیسا کہ شکل 1-5 میں دکھایا گیا ہے۔
|
ur
|
technical
|
simple
|
You should choose the bridged option, but here’s a bit of information about each:
|
آپ کو برجڈ آپشن منتخب کرنا چاہیے، لیکن یہاں ہر ایک کے بارے میں تھوڑی سی معلومات ہے:
|
ur
|
technical
|
moderate
|
The bridged network connects the virtual machine directly to the local network using the same connection as the host system.
|
برجڈ نیٹ ورک ورچوئل مشین کو براہ راست مقامی نیٹ ورک سے جوڑتا ہے جو میزبان سسٹم جیسا ہی کنکشن استعمال کرتا ہے۔
|
ur
|
technical
|
moderate
|
As far as the local network is concerned, our virtual machine is just another node on the network with its own IP address.
|
جہاں تک مقامی نیٹ ورک کا تعلق ہے، ہماری ورچوئل مشین نیٹ ورک پر ایک اور نوڈ ہے جس کا اپنا IP ایڈریس ہے۔
|
ur
|
technical
|
moderate
|
NAT, short for network address translation, sets up a private network on the host machine.
|
NAT، جو نیٹ ورک ایڈریس ٹرانسلیشن کا مخفف ہے، میزبان مشین پر ایک نجی نیٹ ورک قائم کرتا ہے۔
|
ur
|
technical
|
moderate
|
The host-only network limits the virtual machine to a local private network on the host.
|
صرف میزبان نیٹ ورک ورچوئل مشین کو میزبان پر ایک مقامی نجی نیٹ ورک تک محدود کرتا ہے۔
|
ur
|
technical
|
moderate
|
Because our target virtual machines will have multiple known security vulnerabilities, use caution when attaching them to your local network.
|
چونکہ ہماری ٹارگٹ ورچوئل مشینوں میں متعدد معلوم سیکیورٹی کمزوریاں ہوں گی، اس لیے انہیں اپنے مقامی نیٹ ورک سے منسلک کرتے وقت احتیاط برتیں۔
|
ur
|
technical
|
complex
|
For this reason, I do not recommend working through this book on a public network where you do not trust the other users.
|
اس وجہ سے، میں اس کتاب پر کسی عوامی نیٹ ورک پر کام کرنے کی سفارش نہیں کرتا جہاں آپ دوسرے صارفین پر بھروسہ نہیں کرتے ہیں۔
|
ur
|
technical
|
moderate
|
To change the virtual network on VMware Player for Windows, start VMware Player and then click your Kali Linux virtual machine.
|
ونڈوز کے لیے VMware پلیئر پر ورچوئل نیٹ ورک کو تبدیل کرنے کے لیے، VMware پلیئر شروع کریں اور پھر اپنی کالی لینکس ورچوئل مشین پر کلک کریں۔
|
ur
|
technical
|
moderate
|
Choose Edit virtual machine settings, as shown in Figure 1-6.
|
ورچوئل مشین کی ترتیبات میں ترمیم کریں منتخب کریں، جیسا کہ شکل 1-6 میں دکھایا گیا ہے۔
|
ur
|
technical
|
simple
|
On the next screen, choose Network Adapter in the Hardware tab and choose the Bridged option in the Network connection section, as shown in Figure 1-7.
|
اگلی اسکرین پر، ہارڈ ویئر ٹیب میں نیٹ ورک اڈاپٹر منتخب کریں اور نیٹ ورک کنکشن سیکشن میں برجڈ آپشن منتخب کریں، جیسا کہ شکل 1-7 میں دکھایا گیا ہے۔
|
ur
|
technical
|
moderate
|
Now click the Configure Adapters button and check the network adapter that you’re using with your host operating system.
|
اب کنفیگر اڈاپٹرز بٹن پر کلک کریں اور اس نیٹ ورک اڈاپٹر کو چیک کریں جسے آپ اپنے میزبان آپریٹنگ سسٹم کے ساتھ استعمال کر رہے ہیں۔
|
ur
|
technical
|
moderate
|
To change the virtual network connection in VMware Fusion, go to Virtual Machine4Network Adapter and change from NAT to Bridged, as shown in Figure 1-9.
|
VMware Fusion میں ورچوئل نیٹ ورک کنکشن کو تبدیل کرنے کے لیے، ورچوئل مشین4نیٹ ورک اڈاپٹر پر جائیں اور NAT سے برجڈ میں تبدیل کریں، جیسا کہ شکل 1-9 میں دکھایا گیا ہے۔
|
ur
|
technical
|
moderate
|
Kali Linux should automatically pull an IP address from the Bridged network once you make the switch.
|
کالی لینکس کو سوئچ کرنے کے بعد خود بخود برجڈ نیٹ ورک سے ایک IP ایڈریس کھینچ لینا چاہیے۔
|
ur
|
technical
|
moderate
|
To verify your IP address, open a Linux terminal by clicking the terminal icon at the top left of the Kali screen.
|
اپنے IP ایڈریس کی تصدیق کرنے کے لیے، کالی اسکرین کے اوپر بائیں جانب ٹرمینل آئیکن پر کلک کرکے ایک لینکس ٹرمینل کھولیں۔
|
ur
|
technical
|
moderate
|
The IPv4 address for this virtual machine is 192.168.20.9, as highlighted in bold in Listing 1-1.
|
اس ورچوئل مشین کا IPv4 ایڈریس 192.168.20.9 ہے، جیسا کہ فہرست 1-1 میں بولڈ میں نمایاں کیا گیا ہے۔
|
ur
|
technical
|
moderate
|
Now open a second terminal, and connect back to the Netcat listener you just created.
|
اب ایک دوسرا ٹرمینل کھولیں، اور ابھی بنائے گئے نیٹ کیٹ سننے والے سے دوبارہ جڑیں۔
|
ur
|
technical
|
moderate
|
If you enter terminal commands, you will see them executed.
|
اگر آپ ٹرمینل کمانڈز داخل کرتے ہیں، تو آپ انہیں عمل میں آتے دیکھیں گے۔
|
ur
|
technical
|
simple
|
In the second terminal you set up Netcat to connect, but this time you use the < symbol to tell it to send the contents of a file.
|
دوسرے ٹرمینل میں آپ نیٹ کیٹ کو جوڑنے کے لیے سیٹ اپ کرتے ہیں، لیکن اس بار آپ اسے فائل کا مواد بھیجنے کے لیے < علامت کا استعمال کرتے ہیں۔
|
ur
|
technical
|
moderate
|
You have used Netcat to transfer the file.
|
آپ نے فائل منتقل کرنے کے لیے نیٹ کیٹ کا استعمال کیا ہے۔
|
ur
|
technical
|
simple
|
The cron command allows us to schedule tasks to automatically run at a specified time.
|
کرون کمانڈ ہمیں کاموں کو ایک مخصوص وقت پر خود بخود چلانے کے لیے شیڈول کرنے کی اجازت دیتا ہے۔
|
ur
|
technical
|
moderate
|
The fields in a crontab are, from left to right, the minute, hour, day of the month, month, day of the week, user who will run the command, and, finally, the command to be run.
|
کرون ٹیب میں موجود فیلڈز بائیں سے دائیں جانب منٹ، گھنٹہ، مہینے کا دن، مہینہ، ہفتے کا دن، وہ صارف جو کمانڈ چلائے گا، اور آخر میں، وہ کمانڈ ہے جسے چلایا جانا ہے۔
|
ur
|
technical
|
complex
|
In this chapter we’ve looked at some common Linux tasks.
|
اس باب میں ہم نے کچھ عام لینکس کاموں پر نظر ڈالی ہے۔
|
ur
|
technical
|
simple
|
You may want to automatically run a command periodically by setting up a cron job or use Netcat to transfer a file from your attack machine.
|
آپ وقتاً فوقتاً ایک کمانڈ خود بخود چلانا چاہیں گے، اس کے لیے کرون جاب سیٹ اپ کریں یا اپنی اٹیک مشین سے فائل منتقل کرنے کے لیے نیٹ کیٹ کا استعمال کریں۔
|
ur
|
technical
|
moderate
|
We will look at writing programs to automate various useful tasks in multiple programming languages.
|
ہم متعدد پروگرامنگ زبانوں میں مختلف مفید کاموں کو خودکار بنانے کے لیے پروگرام لکھنے پر غور کریں گے۔
|
ur
|
technical
|
moderate
|
Bash scripts, or shell scripts, are files that include multiple terminal commands to be run.
|
باش اسکرپٹس، یا شیل اسکرپٹس، وہ فائلیں ہیں جن میں چلانے کے لیے متعدد ٹرمینل کمانڈز شامل ہیں۔
|
ur
|
technical
|
simple
|
We’ll call our first script pingscript.sh.
|
ہم اپنے پہلے اسکرپٹ کو pingscript.sh کہیں گے۔
|
ur
|
technical
|
simple
|
We’ll use the ping tool to determine which hosts are reachable on a network.
|
ہم یہ معلوم کرنے کے لیے کہ نیٹ ورک پر کون سے میزبان قابل رسائی ہیں، پنگ ٹول کا استعمال کریں گے۔
|
ur
|
technical
|
simple
|
By default, we supply the IP address or hostname to ping.
|
ڈیفالٹ کے طور پر، ہم پنگ کرنے کے لیے IP ایڈریس یا ہوسٹ نام فراہم کرتے ہیں۔
|
ur
|
technical
|
simple
|
We can tell from the ping output that the Windows XP target is up and responding to ping probes.
|
ہم پنگ آؤٹ پٹ سے بتا سکتے ہیں کہ ونڈوز ایکس پی ٹارگٹ اپ ہے اور پنگ پروبس کا جواب دے رہا ہے۔
|
ur
|
technical
|
moderate
|
Let’s begin writing a simple Bash script to ping hosts on the network.
|
آئیے نیٹ ورک پر میزبانوں کو پنگ کرنے کے لیے ایک سادہ باش اسکرپٹ لکھنا شروع کریں۔
|
ur
|
technical
|
simple
|
The PATH variable tells Linux which directories to search for executable files.
|
PATH متغیر لینکس کو بتاتا ہے کہ قابل عمل فائلوں کی تلاش کے لیے کون سی ڈائریکٹریز ہیں۔
|
ur
|
technical
|
simple
|
Instead we’ll enter ./pingscript.sh to tell the terminal to run the script from our current directory.
|
اس کے بجائے ہم ./pingscript.sh درج کریں گے تاکہ ٹرمینل کو ہمارے موجودہ ڈائریکٹری سے اسکرپٹ چلانے کے لیے کہا جائے۔
|
ur
|
technical
|
moderate
|
Typically a script needs to print usage information only if the user uses it incorrectly.
|
عام طور پر ایک اسکرپٹ کو استعمال کی معلومات صرف اس صورت میں پرنٹ کرنے کی ضرورت ہوتی ہے جب صارف اسے غلط طریقے سے استعمال کرے۔
|
ur
|
technical
|
moderate
|
If the user fails to do so, we want to inform the user how to run our script correctly by printing the usage information.
|
اگر صارف ایسا کرنے میں ناکام رہتا ہے، تو ہم صارف کو استعمال کی معلومات پرنٹ کرکے بتانا چاہتے ہیں کہ ہمارا اسکرپٹ صحیح طریقے سے کیسے چلایا جائے۔
|
ur
|
technical
|
moderate
|
Because we want this script to ping all possible hosts on the local network, we need to loop through the numbers 1 through 254.
|
چونکہ ہم چاہتے ہیں کہ یہ اسکرپٹ مقامی نیٹ ورک پر موجود تمام ممکنہ میزبانوں کو پنگ کرے، اس لیے ہمیں 1 سے 254 تک کے نمبروں کے ذریعے لوپ کرنے کی ضرورت ہے۔
|
ur
|
technical
|
complex
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.