QuestionQ344

Endpoint Attack and Pivoting

Computer remus is receiving traffic on port 53. You want to forward that traffic to system romulus on port 1234. Which command should you run on remus to accomplish this?

  • A nc -l -p 53 | nc romulus 1234
  • B nc romulus 1234 < remus 53
  • C while [1]; nc -l -p 53; nc romulus -p 1234; done
  • D nc -l -p remus 153 -e remus 1234
Explanation

nc -l -p 53 listens on port 53, and its output is piped into nc romulus 1234, which opens a connection to romulus on port 1234 and sends the received traffic there.

Community Discussion

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