Skip to content

Commit

Permalink
Update tcp-client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwhale committed Jul 7, 2023
1 parent 72fb285 commit fbe2ec3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blackhat-python3/chapter2 - Network Basics/tcp-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import socket

# Define the target host and port
target_host = "www.google.com"
target_host = "www.example.com"
target_port = 80

# Create a socket object
Expand All @@ -22,3 +22,5 @@

# Print the response after decoding it from bytes to a string
print(response.decode())


0 comments on commit fbe2ec3

Please sign in to comment.