Files
freeCodeCamp/curriculum/challenges/japanese/09-information-security/python-for-penetration-testing/developing-a-banner-grabber.md
2022-01-20 20:30:18 +01:00

567 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5ea9997bbec2e9bc47e94db3 バナー取得の開発 11 CeGW761BIsA
aid bvid cid
633014533 BV1Sb4y127H9 409036288
developing-a-banner-grabber

--question--

--text--

次の空欄を埋めて banner 関数を完成させてください。

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