en
stringlengths
4
3.31k
translation
stringlengths
5
3.49k
target_lang
stringclasses
10 values
domain
stringclasses
6 values
complexity
stringclasses
3 values
Thanks too to all the pentesters and researchers who have shared their knowledge.
ਉਹਨਾਂ ਸਾਰੇ ਪੈਂਟੈਸਟਰਾਂ ਅਤੇ ਖੋਜਕਰਤਾਵਾਂ ਦਾ ਵੀ ਧੰਨਵਾਦ ਜਿਨ੍ਹਾਂ ਨੇ ਆਪਣਾ ਗਿਆਨ ਸਾਂਝਾ ਕੀਤਾ ਹੈ।
pa
technical
moderate
We can use them to assess the security posture of our clients more effectively.
ਅਸੀਂ ਉਹਨਾਂ ਦੀ ਵਰਤੋਂ ਆਪਣੇ ਗਾਹਕਾਂ ਦੀ ਸੁਰੱਖਿਆ ਸਥਿਤੀ ਦਾ ਵਧੇਰੇ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਮੁਲਾਂਕਣ ਕਰਨ ਲਈ ਕਰ ਸਕਦੇ ਹਾਂ।
pa
technical
moderate
Teachers like me can use them with our students.
ਮੇਰੇ ਵਰਗੇ ਅਧਿਆਪਕ ਉਹਨਾਂ ਨੂੰ ਆਪਣੇ ਵਿਦਿਆਰਥੀਆਂ ਨਾਲ ਵਰਤ ਸਕਦੇ ਹਨ।
pa
technical
simple
Thanks as well to the creators of the great books, blog posts, courses, and so on.
ਵੱਡੀਆਂ ਕਿਤਾਬਾਂ, ਬਲੌਗ ਪੋਸਟਾਂ, ਕੋਰਸਾਂ ਅਤੇ ਹੋਰ ਬਹੁਤ ਕੁਝ ਬਣਾਉਣ ਵਾਲਿਆਂ ਦਾ ਵੀ ਧੰਨਵਾਦ।
pa
technical
moderate
I now hope to share the knowledge I’ve gained with other aspiring pentesters.
ਮੈਂ ਹੁਣ ਹੋਰ ਚਾਹਵਾਨ ਪੈਂਟੈਸਟਰਾਂ ਨਾਲ ਆਪਣੇ ਪ੍ਰਾਪਤ ਕੀਤੇ ਗਿਆਨ ਨੂੰ ਸਾਂਝਾ ਕਰਨ ਦੀ ਉਮੀਦ ਕਰਦਾ ਹਾਂ।
pa
technical
moderate
You’ll find a list of additional resources at the end of this book.
ਤੁਹਾਨੂੰ ਇਸ ਕਿਤਾਬ ਦੇ ਅੰਤ ਵਿੱਚ ਵਾਧੂ ਸਰੋਤਾਂ ਦੀ ਇੱਕ ਸੂਚੀ ਮਿਲੇਗੀ।
pa
technical
simple
These are some of the resources that I have found helpful on my own journey in infosec.
ਇਹ ਕੁਝ ਅਜਿਹੇ ਸਰੋਤ ਹਨ ਜੋ ਮੈਨੂੰ ਇਨਫੋਸੈਕ ਵਿੱਚ ਆਪਣੇ ਸਫ਼ਰ 'ਤੇ ਮਦਦਗਾਰ ਲੱਗੇ ਹਨ।
pa
technical
moderate
I encourage you to use them to learn more about the many penetration testing topics covered in this book.
ਮੈਂ ਤੁਹਾਨੂੰ ਇਸ ਕਿਤਾਬ ਵਿੱਚ ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਬਹੁਤ ਸਾਰੇ ਪ੍ਰਵੇਸ਼ ਟੈਸਟਿੰਗ ਵਿਸ਼ਿਆਂ ਬਾਰੇ ਹੋਰ ਜਾਣਨ ਲਈ ਉਹਨਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰਦਾ ਹਾਂ।
pa
technical
complex
I hope you enjoy your journey as much as I have.
ਮੈਨੂੰ ਉਮੀਦ ਹੈ ਕਿ ਤੁਸੀਂ ਮੇਰੇ ਵਾਂਗ ਆਪਣੇ ਸਫ਼ਰ ਦਾ ਆਨੰਦ ਮਾਣੋਗੇ।
pa
technical
simple
To work through this book, you will need to know how to install software on your computer.
ਇਸ ਕਿਤਾਬ 'ਤੇ ਕੰਮ ਕਰਨ ਲਈ, ਤੁਹਾਨੂੰ ਇਹ ਜਾਣਨ ਦੀ ਲੋੜ ਹੋਵੇਗੀ ਕਿ ਆਪਣੇ ਕੰਪਿਊਟਰ 'ਤੇ ਸਾਫਟਵੇਅਰ ਕਿਵੇਂ ਇੰਸਟਾਲ ਕਰਨਾ ਹੈ।
pa
technical
moderate
You don’t need to be a Linux expert or know the nitty-gritty of how networking protocols work.
ਤੁਹਾਨੂੰ ਲੀਨਕਸ ਮਾਹਰ ਹੋਣ ਜਾਂ ਨੈੱਟਵਰਕਿੰਗ ਪ੍ਰੋਟੋਕੋਲ ਕਿਵੇਂ ਕੰਮ ਕਰਦੇ ਹਨ, ਇਸ ਬਾਰੇ ਵਿਸਤ੍ਰਿਤ ਜਾਣਕਾਰੀ ਰੱਖਣ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
pa
technical
complex
When you encounter a topic that is not familiar to you, I encourage you to do some outside research.
ਜਦੋਂ ਤੁਸੀਂ ਕਿਸੇ ਅਜਿਹੇ ਵਿਸ਼ੇ ਦਾ ਸਾਹਮਣਾ ਕਰਦੇ ਹੋ ਜੋ ਤੁਹਾਡੇ ਲਈ ਜਾਣੂ ਨਹੀਂ ਹੈ, ਤਾਂ ਮੈਂ ਤੁਹਾਨੂੰ ਕੁਝ ਬਾਹਰੀ ਖੋਜ ਕਰਨ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰਦਾ ਹਾਂ।
pa
technical
moderate
We will walk step-by-step through all the tools and techniques that may be new to you.
ਅਸੀਂ ਉਹਨਾਂ ਸਾਰੇ ਟੂਲਸ ਅਤੇ ਤਕਨੀਕਾਂ ਵਿੱਚੋਂ ਕਦਮ-ਦਰ-ਕਦਮ ਚੱਲਾਂਗੇ ਜੋ ਤੁਹਾਡੇ ਲਈ ਨਵੇਂ ਹੋ ਸਕਦੇ ਹਨ।
pa
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.
ਜਦੋਂ ਮੈਂ ਸੂਚਨਾ ਸੁਰੱਖਿਆ ਵਿੱਚ ਸ਼ੁਰੂਆਤ ਕੀਤੀ ਸੀ, ਤਾਂ ਹੈਕਿੰਗ ਦੇ ਸਭ ਤੋਂ ਨੇੜੇ ਜੋ ਮੈਂ ਕੀਤਾ ਸੀ, ਉਹ ਸੀ ਵਿੰਡੋਜ਼ XP ਪ੍ਰੀ-SP2 ਸਟਾਰਟ ਮੀਨੂ ਨੂੰ ਸਟਾਰਟ ਦੀ ਬਜਾਏ ਜਾਰਜੀਆ ਕਹਿਣਾ।
pa
technical
complex
And I was pretty proud of myself at the time.
ਅਤੇ ਮੈਨੂੰ ਉਸ ਸਮੇਂ ਆਪਣੇ ਆਪ 'ਤੇ ਬਹੁਤ ਮਾਣ ਸੀ।
pa
technical
simple
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.
ਉਸ ਸਮੇਂ ਅਤੇ ਹੁਣ ਦੇ ਵਿਚਕਾਰ ਬਹੁਤ ਸਖ਼ਤ ਮਿਹਨਤ ਸੀ, ਅਤੇ ਜਿਵੇਂ-ਜਿਵੇਂ ਮੈਂ ਸੂਚਨਾ ਸੁਰੱਖਿਆ ਦੇ ਸਭ ਤੋਂ ਉੱਚੇ ਪੱਧਰ 'ਤੇ ਪਹੁੰਚਣ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰਾਂਗਾ, ਹੋਰ ਵੀ ਸਖ਼ਤ ਮਿਹਨਤ ਹੋਵੇਗੀ।
pa
technical
complex
I only hope that with this book I can inspire more people to follow the same path.
ਮੈਨੂੰ ਸਿਰਫ਼ ਉਮੀਦ ਹੈ ਕਿ ਇਸ ਕਿਤਾਬ ਨਾਲ ਮੈਂ ਹੋਰ ਲੋਕਾਂ ਨੂੰ ਉਸੇ ਮਾਰਗ 'ਤੇ ਚੱਲਣ ਲਈ ਪ੍ਰੇਰਿਤ ਕਰ ਸਕਦਾ ਹਾਂ।
pa
technical
moderate
In Chapter 0, we start out with some basic definitions of the phases of penetration testing.
ਅਧਿਆਇ 0 ਵਿੱਚ, ਅਸੀਂ ਪ੍ਰਵੇਸ਼ ਟੈਸਟਿੰਗ ਦੇ ਪੜਾਵਾਂ ਦੀਆਂ ਕੁਝ ਬੁਨਿਆਦੀ ਪਰਿਭਾਸ਼ਾਵਾਂ ਨਾਲ ਸ਼ੁਰੂਆਤ ਕਰਦੇ ਹਾਂ।
pa
technical
moderate
In Chapter 1, we build our small practice laboratory.
ਅਧਿਆਇ 1 ਵਿੱਚ, ਅਸੀਂ ਆਪਣੀ ਛੋਟੀ ਜਿਹੀ ਅਭਿਆਸ ਪ੍ਰਯੋਗਸ਼ਾਲਾ ਬਣਾਉਂਦੇ ਹਾਂ।
pa
technical
simple
I recommend that you take the time to set up your lab and work through the hands-on examples with me.
ਮੈਂ ਸਿਫਾਰਸ਼ ਕਰਦਾ ਹਾਂ ਕਿ ਤੁਸੀਂ ਆਪਣੀ ਪ੍ਰਯੋਗਸ਼ਾਲਾ ਸਥਾਪਤ ਕਰਨ ਅਤੇ ਮੇਰੇ ਨਾਲ ਹੱਥੀਂ ਉਦਾਹਰਣਾਂ 'ਤੇ ਕੰਮ ਕਰਨ ਲਈ ਸਮਾਂ ਕੱਢੋ।
pa
technical
moderate
Adding users When Windows starts up, log in as the user georgia with no password.
ਜਦੋਂ ਵਿੰਡੋਜ਼ ਸ਼ੁਰੂ ਹੁੰਦੀ ਹੈ, ਤਾਂ ਬਿਨਾਂ ਪਾਸਵਰਡ ਦੇ ਉਪਭੋਗਤਾ ਜਾਰਜੀਆ ਦੇ ਤੌਰ 'ਤੇ ਲੌਗ ਇਨ ਕਰੋ।
pa
technical
simple
Installing VMware Tools Now install VMware Tools, which will make it easier to use your virtual machine.
ਹੁਣ VMware ਟੂਲਸ ਸਥਾਪਿਤ ਕਰੋ, ਜੋ ਤੁਹਾਡੀ ਵਰਚੁਅਲ ਮਸ਼ੀਨ ਦੀ ਵਰਤੋਂ ਨੂੰ ਆਸਾਨ ਬਣਾ ਦੇਵੇਗਾ।
pa
technical
simple
In VMware Player, install VMware Tools from Player4Manage4Install V M w a r e To ol s, as shown in Figure 1-31.
VMware Player ਵਿੱਚ, VMware ਟੂਲਸ ਨੂੰ Player4Manage4Install V M w a r e To ol s ਤੋਂ ਸਥਾਪਿਤ ਕਰੋ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-31 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
moderate
The VMware Tools installer should automatically run in Windows XP.
VMware ਟੂਲਸ ਇੰਸਟਾਲਰ ਨੂੰ ਵਿੰਡੋਜ਼ XP ਵਿੱਚ ਆਪਣੇ ਆਪ ਚੱਲਣਾ ਚਾਹੀਦਾ ਹੈ।
pa
technical
simple
Install VMware Tools from Virtual Machines4Install VMware Tools, as shown in Figure 1-32.
ਵਰਚੁਅਲ ਮਸ਼ੀਨਾਂ4ਇੰਸਟਾਲ VMware ਟੂਲਸ ਤੋਂ VMware ਟੂਲਸ ਸਥਾਪਿਤ ਕਰੋ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-32 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
moderate
Now open the Control Panel from the Windows Start menu.
ਹੁਣ ਵਿੰਡੋਜ਼ ਸਟਾਰਟ ਮੀਨੂ ਤੋਂ ਕੰਟਰੋਲ ਪੈਨਲ ਖੋਲ੍ਹੋ।
pa
technical
simple
Click Security Center4Windows Firewall to turn off the Windows Firewall, as shown in Figure 1-33.
ਵਿੰਡੋਜ਼ ਫਾਇਰਵਾਲ ਨੂੰ ਬੰਦ ਕਰਨ ਲਈ ਸੁਰੱਖਿਆ ਕੇਂਦਰ4ਵਿੰਡੋਜ਼ ਫਾਇਰਵਾਲ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-33 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
moderate
Click the user georgia and then select Create a password.
ਉਪਭੋਗਤਾ ਜਾਰਜੀਆ 'ਤੇ ਕਲਿੱਕ ਕਰੋ ਅਤੇ ਫਿਰ ਇੱਕ ਪਾਸਵਰਡ ਬਣਾਓ ਚੁਣੋ।
pa
technical
simple
Set georgia’s password to password, as shown in Figure 1-34.
ਜਾਰਜੀਆ ਦਾ ਪਾਸਵਰਡ ਪਾਸਵਰਡ 'ਤੇ ਸੈੱਟ ਕਰੋ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-34 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
simple
Set the Preferred DNS server to your default gateway as well.
ਪਸੰਦੀਦਾ DNS ਸਰਵਰ ਨੂੰ ਆਪਣੇ ਡਿਫਾਲਟ ਗੇਟਵੇ 'ਤੇ ਵੀ ਸੈੱਟ ਕਰੋ।
pa
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 address of XP>, ਜਿਵੇਂ ਕਿ ਪਹਿਲਾਂ ਦਿਖਾਇਆ ਗਿਆ ਹੈ, ਤਾਂ ਤੁਹਾਡੀਆਂ ਵਰਚੁਅਲ ਮਸ਼ੀਨਾਂ ਸੰਚਾਰ ਕਰਨ ਦੇ ਯੋਗ ਹਨ।
pa
technical
moderate
Congratulations! You’ve set up a net- work of virtual machines.
ਵਧਾਈ ਹੋਵੇ! ਤੁਸੀਂ ਵਰਚੁਅਲ ਮਸ਼ੀਨਾਂ ਦਾ ਇੱਕ ਨੈੱਟਵਰਕ ਸਥਾਪਤ ਕੀਤਾ ਹੈ।
pa
technical
simple
Return to your XP virtual machine and follow these steps.
ਆਪਣੀ XP ਵਰਚੁਅਲ ਮਸ਼ੀਨ 'ਤੇ ਵਾਪਸ ਜਾਓ ਅਤੇ ਇਹਨਾਂ ਕਦਮਾਂ ਦੀ ਪਾਲਣਾ ਕਰੋ।
pa
technical
simple
Select Start4Run and enter secpol.msc to open the Local Security Settings panel.
ਸਟਾਰਟ4ਰਨ ਚੁਣੋ ਅਤੇ ਲੋਕਲ ਸੁਰੱਖਿਆ ਸੈਟਿੰਗਾਂ ਪੈਨਲ ਖੋਲ੍ਹਣ ਲਈ secpol.msc ਦਰਜ ਕਰੋ।
pa
technical
moderate
In the P olicy list in the pane on the right, double-click Network access: Sharing and security model for local accounts and choose Classic - local users authenticate as themselves from the drop-down list, as shown in Figure 1-36.
ਸੱਜੇ ਪਾਸੇ ਵਾਲੇ ਪੈਨ ਵਿੱਚ ਨੀਤੀ ਸੂਚੀ ਵਿੱਚ, ਨੈੱਟਵਰਕ ਪਹੁੰਚ 'ਤੇ ਡਬਲ-ਕਲਿੱਕ ਕਰੋ: ਸਥਾਨਕ ਖਾਤਿਆਂ ਲਈ ਸ਼ੇਅਰਿੰਗ ਅਤੇ ਸੁਰੱਖਿਆ ਮਾਡਲ ਅਤੇ ਕਲਾਸਿਕ ਚੁਣੋ - ਸਥਾਨਕ ਉਪਭੋਗਤਾ ਡ੍ਰੌਪ-ਡਾਉਨ ਸੂਚੀ ਵਿੱਚੋਂ ਆਪਣੇ ਆਪ ਨੂੰ ਪ੍ਰਮਾਣਿਤ ਕਰਦੇ ਹਨ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-36 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
complex
In this section we’ll install some vulnerable software on our Windows XP virtual machine.
ਇਸ ਭਾਗ ਵਿੱਚ ਅਸੀਂ ਆਪਣੀ ਵਿੰਡੋਜ਼ XP ਵਰਚੁਅਲ ਮਸ਼ੀਨ 'ਤੇ ਕੁਝ ਕਮਜ਼ੋਰ ਸੌਫਟਵੇਅਰ ਸਥਾਪਿਤ ਕਰਾਂਗੇ।
pa
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/ ਤੋਂ ਡਾਊਨਲੋਡ ਕਰੋ।
pa
technical
simple
Unzip the down- loaded archive and double-click the Zervit program to open and run it.
ਡਾਊਨਲੋਡ ਕੀਤੀ ਆਰਕਾਈਵ ਨੂੰ ਅਨਜ਼ਿਪ ਕਰੋ ਅਤੇ ਇਸਨੂੰ ਖੋਲ੍ਹਣ ਅਤੇ ਚਲਾਉਣ ਲਈ Zervit ਪ੍ਰੋਗਰਾਮ 'ਤੇ ਡਬਲ-ਕਲਿੱਕ ਕਰੋ।
pa
technical
moderate
Download and run SLMail version 5.5 from http://www.exploit-db.com/ exploits/638/, using the default options when prompted.
SLMail ਵਰਜਨ 5.5 ਨੂੰ http://www.exploit-db.com/ exploits/638/ ਤੋਂ ਡਾਊਨਲੋਡ ਅਤੇ ਚਲਾਓ, ਜਦੋਂ ਪੁੱਛਿਆ ਜਾਵੇ ਤਾਂ ਡਿਫਾਲਟ ਵਿਕਲਪਾਂ ਦੀ ਵਰਤੋਂ ਕਰਦੇ ਹੋਏ।
pa
technical
moderate
Once SLMail is installed, restart your virtual machine.
ਇੱਕ ਵਾਰ SLMail ਸਥਾਪਿਤ ਹੋ ਜਾਣ 'ਤੇ, ਆਪਣੀ ਵਰਚੁਅਲ ਮਸ਼ੀਨ ਨੂੰ ਮੁੜ ਚਾਲੂ ਕਰੋ।
pa
technical
simple
Click the Play button and, when prompted as shown in Figure 1-1, choose I copied it.
ਪਲੇ ਬਟਨ 'ਤੇ ਕਲਿੱਕ ਕਰੋ ਅਤੇ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-1 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ, ਪੁੱਛੇ ਜਾਣ 'ਤੇ, 'ਮੈਂ ਇਸਨੂੰ ਕਾਪੀ ਕੀਤਾ' ਚੁਣੋ।
pa
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 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ। ਸਭ ਤੋਂ ਉੱਪਰਲਾ (ਮੂਲ) ਹਾਈਲਾਈਟ ਕੀਤਾ ਵਿਕਲਪ ਚੁਣੋ।
pa
technical
simple
Once Kali Linux boots, you will be presented with a login screen like the one shown in Figure 1-3.
ਇੱਕ ਵਾਰ ਕਾਲੀ ਲੀਨਕਸ ਬੂਟ ਹੋਣ 'ਤੇ, ਤੁਹਾਨੂੰ ਇੱਕ ਲੌਗਇਨ ਸਕ੍ਰੀਨ ਦਿਖਾਈ ਦੇਵੇਗੀ ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-3 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
simple
Click Other and enter the default credentials for Kali Linux, root:toor, as shown in Figure 1-4. Then click the Log In button.
ਹੋਰ 'ਤੇ ਕਲਿੱਕ ਕਰੋ ਅਤੇ ਕਾਲੀ ਲੀਨਕਸ, root:toor ਲਈ ਡਿਫਾਲਟ ਪ੍ਰਮਾਣ ਪੱਤਰ ਦਰਜ ਕਰੋ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-4 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ। ਫਿਰ ਲੌਗ ਇਨ ਬਟਨ 'ਤੇ ਕਲਿੱਕ ਕਰੋ।
pa
technical
simple
You will be presented with a screen like the one shown in Figure 1-5.
ਤੁਹਾਨੂੰ ਇੱਕ ਸਕ੍ਰੀਨ ਪੇਸ਼ ਕੀਤੀ ਜਾਵੇਗੀ ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-5 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
simple
Because we’ll be using Kali Linux to attack our target systems over a network, we need to place all our virtual machines on the same virtual network.
ਕਿਉਂਕਿ ਅਸੀਂ ਇੱਕ ਨੈੱਟਵਰਕ 'ਤੇ ਆਪਣੇ ਨਿਸ਼ਾਨਾ ਸਿਸਟਮਾਂ 'ਤੇ ਹਮਲਾ ਕਰਨ ਲਈ ਕਾਲੀ ਲੀਨਕਸ ਦੀ ਵਰਤੋਂ ਕਰਾਂਗੇ, ਸਾਨੂੰ ਆਪਣੀਆਂ ਸਾਰੀਆਂ ਵਰਚੁਅਲ ਮਸ਼ੀਨਾਂ ਨੂੰ ਇੱਕੋ ਵਰਚੁਅਲ ਨੈੱਟਵਰਕ 'ਤੇ ਰੱਖਣ ਦੀ ਲੋੜ ਹੈ।
pa
technical
moderate
VMware offers three options for virtual network connections: bridged, NAT, and host only.
VMware ਵਰਚੁਅਲ ਨੈੱਟਵਰਕ ਕਨੈਕਸ਼ਨਾਂ ਲਈ ਤਿੰਨ ਵਿਕਲਪ ਪੇਸ਼ ਕਰਦਾ ਹੈ: ਬ੍ਰਿਜਡ, NAT, ਅਤੇ ਸਿਰਫ਼ ਹੋਸਟ।
pa
technical
moderate
The bridged network connects the virtual machine directly to the local network using the same connection as the host system.
ਬ੍ਰਿਜਡ ਨੈੱਟਵਰਕ ਵਰਚੁਅਲ ਮਸ਼ੀਨ ਨੂੰ ਸਿੱਧੇ ਤੌਰ 'ਤੇ ਲੋਕਲ ਨੈੱਟਵਰਕ ਨਾਲ ਜੋੜਦਾ ਹੈ, ਉਸੇ ਕਨੈਕਸ਼ਨ ਦੀ ਵਰਤੋਂ ਕਰਦਾ ਹੈ ਜਿਵੇਂ ਕਿ ਹੋਸਟ ਸਿਸਟਮ।
pa
technical
moderate
NAT, short for network address translation, sets up a private network on the host machine.
NAT, ਜੋ ਕਿ ਨੈੱਟਵਰਕ ਐਡਰੈੱਸ ਅਨੁਵਾਦ ਲਈ ਛੋਟਾ ਹੈ, ਹੋਸਟ ਮਸ਼ੀਨ 'ਤੇ ਇੱਕ ਪ੍ਰਾਈਵੇਟ ਨੈੱਟਵਰਕ ਸਥਾਪਤ ਕਰਦਾ ਹੈ।
pa
technical
moderate
The host-only network limits the virtual machine to a local private network on the host.
ਸਿਰਫ਼-ਹੋਸਟ ਨੈੱਟਵਰਕ ਵਰਚੁਅਲ ਮਸ਼ੀਨ ਨੂੰ ਹੋਸਟ 'ਤੇ ਇੱਕ ਲੋਕਲ ਪ੍ਰਾਈਵੇਟ ਨੈੱਟਵਰਕ ਤੱਕ ਸੀਮਤ ਕਰਦਾ ਹੈ।
pa
technical
moderate
Because our target virtual machines will have multiple known security vulnerabilities, use caution when attaching them to your local network.
ਕਿਉਂਕਿ ਸਾਡੀਆਂ ਨਿਸ਼ਾਨਾ ਵਰਚੁਅਲ ਮਸ਼ੀਨਾਂ ਵਿੱਚ ਕਈ ਜਾਣੀਆਂ-ਪਛਾਣੀਆਂ ਸੁਰੱਖਿਆ ਕਮਜ਼ੋਰੀਆਂ ਹੋਣਗੀਆਂ, ਇਸ ਲਈ ਉਹਨਾਂ ਨੂੰ ਤੁਹਾਡੇ ਲੋਕਲ ਨੈੱਟਵਰਕ ਨਾਲ ਜੋੜਦੇ ਸਮੇਂ ਸਾਵਧਾਨੀ ਵਰਤੋ।
pa
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 ਪਲੇਅਰ ਸ਼ੁਰੂ ਕਰੋ ਅਤੇ ਫਿਰ ਆਪਣੀ ਕਾਲੀ ਲੀਨਕਸ ਵਰਚੁਅਲ ਮਸ਼ੀਨ 'ਤੇ ਕਲਿੱਕ ਕਰੋ।
pa
technical
moderate
Choose Edit virtual machine settings, as shown in Figure 1-6.
ਵਰਚੁਅਲ ਮਸ਼ੀਨ ਸੈਟਿੰਗਾਂ ਨੂੰ ਸੰਪਾਦਿਤ ਕਰੋ ਚੁਣੋ, ਜਿਵੇਂ ਕਿ ਚਿੱਤਰ 1-6 ਵਿੱਚ ਦਿਖਾਇਆ ਗਿਆ ਹੈ।
pa
technical
simple
On the next screen, choose Network Adapter in the Hardware tab and choose the Bridged option in the Network connection section.
ਅਗਲੀ ਸਕ੍ਰੀਨ 'ਤੇ, ਹਾਰਡਵੇਅਰ ਟੈਬ ਵਿੱਚ ਨੈੱਟਵਰਕ ਅਡਾਪਟਰ ਚੁਣੋ ਅਤੇ ਨੈੱਟਵਰਕ ਕਨੈਕਸ਼ਨ ਸੈਕਸ਼ਨ ਵਿੱਚ ਬ੍ਰਿਜਡ ਵਿਕਲਪ ਚੁਣੋ।
pa
technical
moderate
Now click the Configure Adapters button and check the network adapter that you’re using with your host operating system.
ਹੁਣ ਕੌਂਫਿਗਰ ਅਡਾਪਟਰ ਬਟਨ 'ਤੇ ਕਲਿੱਕ ਕਰੋ ਅਤੇ ਨੈੱਟਵਰਕ ਅਡਾਪਟਰ ਦੀ ਜਾਂਚ ਕਰੋ ਜੋ ਤੁਸੀਂ ਆਪਣੇ ਹੋਸਟ ਓਪਰੇਟਿੰਗ ਸਿਸਟਮ ਨਾਲ ਵਰਤ ਰਹੇ ਹੋ।
pa
technical
moderate
Kali Linux should automatically pull an IP address from the Bridged network once you make the switch.
ਇੱਕ ਵਾਰ ਜਦੋਂ ਤੁਸੀਂ ਸਵਿੱਚ ਕਰ ਲੈਂਦੇ ਹੋ, ਤਾਂ ਕਾਲੀ ਲੀਨਕਸ ਨੂੰ ਬ੍ਰਿਜਡ ਨੈੱਟਵਰਕ ਤੋਂ ਆਪਣੇ ਆਪ ਇੱਕ IP ਐਡਰੈੱਸ ਖਿੱਚਣਾ ਚਾਹੀਦਾ ਹੈ।
pa
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 ਐਡਰੈੱਸ ਦੀ ਪੁਸ਼ਟੀ ਕਰਨ ਲਈ, ਕਾਲੀ ਸਕ੍ਰੀਨ ਦੇ ਉੱਪਰ ਖੱਬੇ ਪਾਸੇ ਟਰਮੀਨਲ ਆਈਕਨ 'ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਇੱਕ ਲੀਨਕਸ ਟਰਮੀਨਲ ਖੋਲ੍ਹੋ।
pa
technical
moderate
Then run the command ifconfig to see your network information.
ਫਿਰ ਆਪਣੇ ਨੈੱਟਵਰਕ ਦੀ ਜਾਣਕਾਰੀ ਦੇਖਣ ਲਈ ifconfig ਕਮਾਂਡ ਚਲਾਓ।
pa
technical
simple
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 ਵਿੱਚ ਬੋਲਡ ਵਿੱਚ ਹਾਈਲਾਈਟ ਕੀਤਾ ਗਿਆ ਹੈ।
pa
technical
moderate
Now let’s make sure that Kali Linux can connect to the Internet.
ਹੁਣ ਆਓ ਯਕੀਨੀ ਬਣਾਈਏ ਕਿ ਕਾਲੀ ਲੀਨਕਸ ਇੰਟਰਨੈਟ ਨਾਲ ਜੁੜ ਸਕਦਾ ਹੈ।
pa
technical
simple
Linux user accounts offer resources to a particular individual or service.
ਲਿਨਕਸ ਉਪਭੋਗਤਾ ਖਾਤੇ ਇੱਕ ਖਾਸ ਵਿਅਕਤੀ ਜਾਂ ਸੇਵਾ ਨੂੰ ਸਰੋਤ ਪ੍ਰਦਾਨ ਕਰਦੇ ਹਨ।
pa
technical
moderate
A user may log in with a password and be offered certain resources on the Linux system.
ਇੱਕ ਉਪਭੋਗਤਾ ਇੱਕ ਪਾਸਵਰਡ ਨਾਲ ਲੌਗਇਨ ਕਰ ਸਕਦਾ ਹੈ ਅਤੇ ਲਿਨਕਸ ਸਿਸਟਮ 'ਤੇ ਕੁਝ ਸਰੋਤ ਪੇਸ਼ ਕੀਤੇ ਜਾ ਸਕਦੇ ਹਨ।
pa
technical
moderate
That user may not be able to see files that belong to other users.
ਉਹ ਉਪਭੋਗਤਾ ਉਹਨਾਂ ਫਾਈਲਾਂ ਨੂੰ ਨਹੀਂ ਦੇਖ ਸਕਦਾ ਜੋ ਦੂਜੇ ਉਪਭੋਗਤਾਵਾਂ ਨਾਲ ਸਬੰਧਤ ਹਨ।
pa
technical
simple
In addition to traditional user accounts, Linux systems can allow software to have a user account.
ਰਵਾਇਤੀ ਉਪਭੋਗਤਾ ਖਾਤਿਆਂ ਤੋਂ ਇਲਾਵਾ, ਲਿਨਕਸ ਸਿਸਟਮ ਸਾਫਟਵੇਅਰ ਨੂੰ ਇੱਕ ਉਪਭੋਗਤਾ ਖਾਤਾ ਰੱਖਣ ਦੀ ਆਗਿਆ ਦੇ ਸਕਦੇ ਹਨ।
pa
technical
moderate
The software can have the ability to use system resources to do its job.
ਸਾਫਟਵੇਅਰ ਕੋਲ ਆਪਣਾ ਕੰਮ ਕਰਨ ਲਈ ਸਿਸਟਮ ਸਰੋਤਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੀ ਸਮਰੱਥਾ ਹੋ ਸਕਦੀ ਹੈ।
pa
technical
moderate
The accepted best practice on Linux systems is to run day-to-day commands as an unprivileged user account.
ਲਿਨਕਸ ਸਿਸਟਮਾਂ 'ਤੇ ਸਵੀਕਾਰ ਕੀਤੀ ਸਭ ਤੋਂ ਵਧੀਆ ਪ੍ਰੈਕਟਿਸ ਹੈ ਕਿ ਰੋਜ਼ਾਨਾ ਕਮਾਂਡਾਂ ਨੂੰ ਇੱਕ ਗੈਰ-ਅਧਿਕਾਰਤ ਉਪਭੋਗਤਾ ਖਾਤੇ ਵਜੋਂ ਚਲਾਇਆ ਜਾਵੇ।
pa
technical
complex
Adding a new user georgia to your Kali system use the adduser command.
ਆਪਣੇ ਕਾਲੀ ਸਿਸਟਮ ਵਿੱਚ ਇੱਕ ਨਵਾਂ ਉਪਭੋਗਤਾ ਜਾਰਜੀਆ ਸ਼ਾਮਲ ਕਰਨ ਲਈ adduser ਕਮਾਂਡ ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
moderate
To add a new user, a group is created, and a home directory is created for the user.
ਇੱਕ ਨਵਾਂ ਉਪਭੋਗਤਾ ਜੋੜਨ ਲਈ, ਇੱਕ ਸਮੂਹ ਬਣਾਇਆ ਜਾਂਦਾ ਹੈ, ਅਤੇ ਉਪਭੋਗਤਾ ਲਈ ਇੱਕ ਘਰੇਲੂ ਡਾਇਰੈਕਟਰੀ ਬਣਾਈ ਜਾਂਦੀ ਹੈ।
pa
technical
moderate
The system prompts for information about the user, such as a password and the user’s full name.
ਸਿਸਟਮ ਉਪਭੋਗਤਾ ਬਾਰੇ ਜਾਣਕਾਰੀ ਮੰਗਦਾ ਹੈ, ਜਿਵੇਂ ਕਿ ਇੱਕ ਪਾਸਵਰਡ ਅਤੇ ਉਪਭੋਗਤਾ ਦਾ ਪੂਰਾ ਨਾਮ।
pa
technical
moderate
When you need to do something that requires root privileges as a regular user, use the sudo command.
ਜਦੋਂ ਤੁਹਾਨੂੰ ਕੁਝ ਅਜਿਹਾ ਕਰਨ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ ਜਿਸ ਲਈ ਇੱਕ ਨਿਯਮਤ ਉਪਭੋਗਤਾ ਦੇ ਤੌਰ 'ਤੇ ਰੂਟ ਵਿਸ਼ੇਸ਼ ਅਧਿਕਾਰਾਂ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ, ਤਾਂ sudo ਕਮਾਂਡ ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
complex
To switch users in your terminal session, use the su command.
ਆਪਣੇ ਟਰਮੀਨਲ ਸੈਸ਼ਨ ਵਿੱਚ ਉਪਭੋਗਤਾਵਾਂ ਨੂੰ ਬਦਲਣ ਲਈ, su ਕਮਾਂਡ ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
simple
If you try to run commands that require more privileges than the current user, the command is unsuccessful.
ਜੇਕਰ ਤੁਸੀਂ ਉਹ ਕਮਾਂਡਾਂ ਚਲਾਉਣ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰਦੇ ਹੋ ਜਿਨ੍ਹਾਂ ਲਈ ਮੌਜੂਦਾ ਉਪਭੋਗਤਾ ਨਾਲੋਂ ਵੱਧ ਵਿਸ਼ੇਸ਼ ਅਧਿਕਾਰਾਂ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ, ਤਾਂ ਕਮਾਂਡ ਅਸਫਲ ਹੋ ਜਾਂਦੀ ਹੈ।
pa
technical
moderate
To create a new, empty file called myfile, use the touch command.
myfile ਨਾਮ ਦੀ ਇੱਕ ਨਵੀਂ, ਖਾਲੀ ਫਾਈਲ ਬਣਾਉਣ ਲਈ, ਟੱਚ ਕਮਾਂਡ ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
simple
To create a new directory in your current working directory, enter mkdir directory.
ਆਪਣੀ ਮੌਜੂਦਾ ਵਰਕਿੰਗ ਡਾਇਰੈਕਟਰੀ ਵਿੱਚ ਇੱਕ ਨਵੀਂ ਡਾਇਰੈਕਟਰੀ ਬਣਾਉਣ ਲਈ, mkdir ਡਾਇਰੈਕਟਰੀ ਦਰਜ ਕਰੋ।
pa
technical
simple
To copy a file, use the cp command.
ਇੱਕ ਫਾਈਲ ਦੀ ਕਾਪੀ ਬਣਾਉਣ ਲਈ, cp ਕਮਾਂਡ ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
simple
Similarly, you can move a file from one location to another using the mv command.
ਇਸੇ ਤਰ੍ਹਾਂ, ਤੁਸੀਂ mv ਕਮਾਂਡ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਇੱਕ ਫਾਈਲ ਨੂੰ ਇੱਕ ਟਿਕਾਣੇ ਤੋਂ ਦੂਜੇ ਟਿਕਾਣੇ 'ਤੇ ਲੈ ਜਾ ਸਕਦੇ ਹੋ।
pa
technical
moderate
You can remove a file from the filesystem by entering rm file.
ਤੁਸੀਂ rm ਫਾਈਲ ਦਰਜ ਕਰਕੇ ਫਾਈਲ ਸਿਸਟਮ ਤੋਂ ਇੱਕ ਫਾਈਲ ਨੂੰ ਹਟਾ ਸਕਦੇ ਹੋ।
pa
technical
simple
To save text to a file, you can redirect your input to a file instead of to the terminal with the > symbol.
ਟੈਕਸਟ ਨੂੰ ਇੱਕ ਫਾਈਲ ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਕਰਨ ਲਈ, ਤੁਸੀਂ > ਪ੍ਰਤੀਕ ਨਾਲ ਟਰਮੀਨਲ ਦੀ ਬਜਾਏ ਆਪਣੀ ਇਨਪੁਟ ਨੂੰ ਇੱਕ ਫਾਈਲ 'ਤੇ ਰੀਡਾਇਰੈਕਟ ਕਰ ਸਕਦੇ ਹੋ।
pa
technical
moderate
To append text to a file, use >>.
ਇੱਕ ਫਾਈਲ ਵਿੱਚ ਟੈਕਸਟ ਜੋੜਨ ਲਈ, >> ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
simple
Linux files have permissions to read, write, and execute.
ਲਿਨਕਸ ਫਾਈਲਾਂ ਵਿੱਚ ਪੜ੍ਹਨ, ਲਿਖਣ ਅਤੇ ਚਲਾਉਣ ਦੀਆਂ ਇਜਾਜ਼ਤਾਂ ਹੁੰਦੀਆਂ ਹਨ।
pa
technical
simple
You can also send a command shell back to a Netcat listener.
ਤੁਸੀਂ ਇੱਕ ਕਮਾਂਡ ਸ਼ੈੱਲ ਨੂੰ ਇੱਕ ਨੈੱਟਕੈਟ ਸਰੋਤੇ ਨੂੰ ਵਾਪਸ ਵੀ ਭੇਜ ਸਕਦੇ ਹੋ।
pa
technical
moderate
Now open a second terminal, and connect back to the Netcat listener you just created.
ਹੁਣ ਇੱਕ ਦੂਜਾ ਟਰਮੀਨਲ ਖੋਲ੍ਹੋ, ਅਤੇ ਉਸ ਨੈੱਟਕੈਟ ਸਰੋਤੇ ਨਾਲ ਦੁਬਾਰਾ ਜੁੜੋ ਜੋ ਤੁਸੀਂ ਹੁਣੇ ਬਣਾਇਆ ਹੈ।
pa
technical
moderate
Connect with Netcat as usual, but this time use the -e flag to execute /bin/bash on the connection.
ਆਮ ਵਾਂਗ ਨੈੱਟਕੈਟ ਨਾਲ ਜੁੜੋ, ਪਰ ਇਸ ਵਾਰ ਕਨੈਕਸ਼ਨ 'ਤੇ /bin/bash ਨੂੰ ਚਲਾਉਣ ਲਈ -e ਫਲੈਗ ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
complex
If you enter terminal commands, you will see them executed.
ਜੇਕਰ ਤੁਸੀਂ ਟਰਮੀਨਲ ਕਮਾਂਡਾਂ ਦਰਜ ਕਰਦੇ ਹੋ, ਤਾਂ ਤੁਸੀਂ ਉਹਨਾਂ ਨੂੰ ਚਲਾਉਂਦੇ ਹੋਏ ਦੇਖੋਗੇ।
pa
technical
simple
Now, one more thing with Netcat.
ਹੁਣ, ਨੈੱਟਕੈਟ ਨਾਲ ਇੱਕ ਹੋਰ ਗੱਲ।
pa
technical
simple
This time, instead of outputting what comes into your listener to the screen, use > to send it to a file.
ਇਸ ਵਾਰ, ਤੁਹਾਡੇ ਸਰੋਤੇ ਵਿੱਚ ਜੋ ਆਉਂਦਾ ਹੈ ਉਸਨੂੰ ਸਕ੍ਰੀਨ 'ਤੇ ਆਉਟਪੁੱਟ ਕਰਨ ਦੀ ਬਜਾਏ, ਇਸਨੂੰ ਇੱਕ ਫਾਈਲ ਵਿੱਚ ਭੇਜਣ ਲਈ > ਦੀ ਵਰਤੋਂ ਕਰੋ।
pa
technical
moderate
You have used Netcat to transfer the file.
ਤੁਸੀਂ ਫਾਈਲ ਨੂੰ ਟ੍ਰਾਂਸਫਰ ਕਰਨ ਲਈ ਨੈੱਟਕੈਟ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਹੈ।
pa
technical
simple
The cron command allows us to schedule tasks to automatically run at a specified time.
ਕ੍ਰੋਨ ਕਮਾਂਡ ਸਾਨੂੰ ਕੰਮਾਂ ਨੂੰ ਇੱਕ ਨਿਰਧਾਰਤ ਸਮੇਂ 'ਤੇ ਆਪਣੇ ਆਪ ਚਲਾਉਣ ਲਈ ਤਹਿ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ।
pa
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.
ਇੱਕ ਕ੍ਰੋਨਟੈਬ ਵਿੱਚ ਖੇਤਰ, ਖੱਬੇ ਤੋਂ ਸੱਜੇ, ਮਿੰਟ, ਘੰਟਾ, ਮਹੀਨੇ ਦਾ ਦਿਨ, ਮਹੀਨਾ, ਹਫ਼ਤੇ ਦਾ ਦਿਨ, ਉਪਭੋਗਤਾ ਜੋ ਕਮਾਂਡ ਚਲਾਏਗਾ, ਅਤੇ, ਅੰਤ ਵਿੱਚ, ਚਲਾਉਣ ਲਈ ਕਮਾਂਡ ਹਨ।
pa
technical
complex
In this chapter we’ve looked at some common Linux tasks.
ਇਸ ਅਧਿਆਇ ਵਿੱਚ ਅਸੀਂ ਕੁਝ ਆਮ ਲੀਨਕਸ ਕੰਮਾਂ 'ਤੇ ਨਜ਼ਰ ਮਾਰੀ ਹੈ।
pa
technical
simple
We will look at writing programs to automate various useful tasks in multiple programming languages.
ਅਸੀਂ ਕਈ ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਵੱਖ-ਵੱਖ ਉਪਯੋਗੀ ਕੰਮਾਂ ਨੂੰ ਸਵੈਚਾਲਤ ਕਰਨ ਲਈ ਪ੍ਰੋਗਰਾਮ ਲਿਖਣ 'ਤੇ ਵਿਚਾਰ ਕਰਾਂਗੇ।
pa
technical
moderate
We’ll call our first script pingscript.sh.
ਅਸੀਂ ਆਪਣੇ ਪਹਿਲੇ ਸਕ੍ਰਿਪਟ ਨੂੰ pingscript.sh ਕਹਾਂਗੇ।
pa
technical
simple
We’ll use the ping tool to determine which hosts are reachable on a network.
ਅਸੀਂ ਇਹ ਨਿਰਧਾਰਤ ਕਰਨ ਲਈ ਪਿੰਗ ਟੂਲ ਦੀ ਵਰਤੋਂ ਕਰਾਂਗੇ ਕਿ ਇੱਕ ਨੈੱਟਵਰਕ 'ਤੇ ਕਿਹੜੇ ਹੋਸਟ ਪਹੁੰਚਯੋਗ ਹਨ।
pa
technical
moderate
By default, we supply the IP address or hostname to ping.
ਮੂਲ ਰੂਪ ਵਿੱਚ, ਅਸੀਂ ਪਿੰਗ ਕਰਨ ਲਈ IP ਐਡਰੈੱਸ ਜਾਂ ਹੋਸਟਨਾਮ ਪ੍ਰਦਾਨ ਕਰਦੇ ਹਾਂ।
pa
technical
simple
We can tell from the ping output that the Windows XP target is up and responding to ping probes.
ਅਸੀਂ ਪਿੰਗ ਆਉਟਪੁੱਟ ਤੋਂ ਦੱਸ ਸਕਦੇ ਹਾਂ ਕਿ ਵਿੰਡੋਜ਼ XP ਟਾਰਗੇਟ ਚਾਲੂ ਹੈ ਅਤੇ ਪਿੰਗ ਪ੍ਰੋਬਸ ਦਾ ਜਵਾਬ ਦੇ ਰਿਹਾ ਹੈ।
pa
technical
moderate
Let’s begin writing a simple Bash script to ping hosts on the network.
ਆਓ ਨੈੱਟਵਰਕ 'ਤੇ ਹੋਸਟਾਂ ਨੂੰ ਪਿੰਗ ਕਰਨ ਲਈ ਇੱਕ ਸਧਾਰਨ ਬੈਸ਼ ਸਕ੍ਰਿਪਟ ਲਿਖਣਾ ਸ਼ੁਰੂ ਕਰੀਏ।
pa
technical
simple
The PATH variable tells Linux which directories to search for executable files.
PATH ਵੇਰੀਏਬਲ ਲੀਨਕਸ ਨੂੰ ਦੱਸਦਾ ਹੈ ਕਿ ਐਗਜ਼ੀਕਿਊਟੇਬਲ ਫਾਈਲਾਂ ਦੀ ਖੋਜ ਕਰਨ ਲਈ ਕਿਹੜੀਆਂ ਡਾਇਰੈਕਟਰੀਆਂ ਹਨ।
pa
technical
moderate
Instead we’ll enter ./pingscript.sh to tell the terminal to run the script from our current directory.
ਇਸ ਦੀ ਬਜਾਏ ਅਸੀਂ ਟਰਮੀਨਲ ਨੂੰ ਮੌਜੂਦਾ ਡਾਇਰੈਕਟਰੀ ਤੋਂ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਲਈ ./pingscript.sh ਦਰਜ ਕਰਾਂਗੇ।
pa
technical
moderate
Now let’s add in a bit more functionality with an if statement.
ਹੁਣ ਆਓ ਇੱਕ if ਸਟੇਟਮੈਂਟ ਨਾਲ ਥੋੜਾ ਹੋਰ ਕਾਰਜਸ਼ੀਲਤਾ ਸ਼ਾਮਲ ਕਰੀਏ।
pa
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.
ਜੇਕਰ ਉਪਭੋਗਤਾ ਅਜਿਹਾ ਕਰਨ ਵਿੱਚ ਅਸਫਲ ਰਹਿੰਦਾ ਹੈ, ਤਾਂ ਅਸੀਂ ਉਪਭੋਗਤਾ ਨੂੰ ਵਰਤੋਂ ਜਾਣਕਾਰੀ ਪ੍ਰਿੰਟ ਕਰਕੇ ਸਾਡੀ ਸਕ੍ਰਿਪਟ ਨੂੰ ਸਹੀ ਢੰਗ ਨਾਲ ਚਲਾਉਣ ਬਾਰੇ ਸੂਚਿਤ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹਾਂ।
pa
technical
complex