chore(i8n,learn): processed translations

This commit is contained in:
Crowdin Bot
2021-02-06 04:42:36 +00:00
committed by Mrugesh Mohapatra
parent 15047f2d90
commit e5c44a3ae5
3274 changed files with 172122 additions and 14164 deletions

View File

@ -0,0 +1,30 @@
---
id: 5ea9997bbec2e9bc47e94db0
title: Creating a TCP Client
challengeType: 11
videoId: ugYfJNTawks
dashedName: creating-a-tcp-client
---
# --question--
## --text--
Which socket object method lets you set the maximum amount of data your client accepts at once?
## --answers--
`.recv(1024)`
---
`.decode('ascii')`
---
`.connect(host, port)`
## --video-solution--
1

View File

@ -0,0 +1,43 @@
---
id: 5ea9997bbec2e9bc47e94db3
title: Developing a Banner Grabber
challengeType: 11
videoId: CeGW761BIsA
dashedName: developing-a-banner-grabber
---
# --question--
## --text--
Fill in the blanks to complete the `banner` function below:
```py
def banner(ip, port):
s = socket.socket()
s.__A__((ip, __B__))
print(s.recv(1024))
```
## --answers--
A: `connect`
B: `port`
---
A: `getsockname`
B: `'1-1024'`
---
A: `connect`
B: `int(port)`
## --video-solution--
3

View File

@ -0,0 +1,30 @@
---
id: 5ea9997bbec2e9bc47e94db4
title: Developing a Port Scanner
challengeType: 11
videoId: z_qkqZS7KZ4
dashedName: developing-a-port-scanner
---
# --question--
## --text--
What is the main difference between the `.connect()` and `.connect_ex()` methods?
## --answers--
There is no difference between the two methods.
---
If there is an error or if no host is found, `.connect()` returns an error code while `.connect_ex()` raises an exception.
---
If there is an error or if no host is found, `.connect()` raises an exception while `.connect_ex()` returns an error code.
## --video-solution--
3

View File

@ -0,0 +1,30 @@
---
id: 5ea9997bbec2e9bc47e94db1
title: Developing an Nmap Scanner part 1
challengeType: 11
videoId: jYk9XaGoAnk
dashedName: developing-an-nmap-scanner-part-1
---
# --question--
## --text--
What is the correct command to install the Python 3 version of the `python-nmap` library?
## --answers--
`sudo apt install python-nmap`
---
`pip install python-nmap`
---
`pip3 install python-nmap`
## --video-solution--
3

View File

@ -0,0 +1,30 @@
---
id: 5ea9997bbec2e9bc47e94db2
title: Developing an Nmap Scanner part 2
challengeType: 11
videoId: a98PscnUsTg
dashedName: developing-an-nmap-scanner-part-2
---
# --question--
## --text--
Which of the following allows you to scan for UDP ports between 21 to 443?
## --answers--
`.scan(ip_addr, '21-443', '-v -sU')`
---
`.scan(ip_addr, '1-1024', '-v -sS')`
---
`.scan(ip_addr, '21-443', '-v -sS')`
## --video-solution--
1

View File

@ -0,0 +1,30 @@
---
id: 5ea9997bbec2e9bc47e94dae
title: Introduction and Setup
challengeType: 11
videoId: XeQ7ZKtb998
dashedName: introduction-and-setup
---
# --question--
## --text--
What code editor and extension does the instructor recommend for developing penetration testing tools in Python?
## --answers--
Atom and the atom-python-run extension.
---
VSCode and Microsoft's Python extension.
---
Sublime Text and the Anaconda package.
## --video-solution--
2

View File

@ -0,0 +1,30 @@
---
id: 5ea9997bbec2e9bc47e94daf
title: Understanding Sockets and Creating a TCP Server
challengeType: 11
videoId: F1QI9tNuDQg
dashedName: understanding-sockets-and-creating-a-tcp-server
---
# --question--
## --text--
Which of the following functions creates a socket object?
## --answers--
`socket.bind((host, port))`
---
`socket.gethostbyname()`
---
`socket.socket(socket.AF_INET, socket.SOCK_STREAM)`
## --video-solution--
3