QuestionQ69

VerifiedNetwork Interfaces

An attacker does not yet know the target's IP address. Using the socket module, he creates a backdoor program and is writing the command that binds the computer's current IP address and port 4444 to the backdoor socket. Which command should he use?

Explanation

For an IPv4 Python socket, bind() requires an address tuple of the form (host, port). An empty host value binds the socket to the local machine’s available network interfaces on port 4444.

Community Discussion

No comments yet. Be the first to start the discussion!