nerdexam
EC-Council

EC0-350 · Question #244

An engineer is learning to write exploits in C++ and is using the exploit tool Backtrack. The engineer wants to compile the newest C++ exploit and name it calc.exe. Which command would the engineer…

The correct answer is A. g++ hackersExploit.cpp -o calc.exe. See the full explanation below for the reasoning.

Question

An engineer is learning to write exploits in C++ and is using the exploit tool Backtrack. The engineer wants to compile the newest C++ exploit and name it calc.exe. Which command would the engineer use to accomplish this?

Options

  • Ag++ hackersExploit.cpp -o calc.exe
  • Bg++ hackersExploit.py -o calc.exe
  • Cg++ -i hackersExploit.pl -o calc.exe
  • Dg++ --compile -i hackersExploit.cpp -o calc.exe

How the community answered

(59 responses)
  • A
    71% (42)
  • B
    14% (8)
  • C
    10% (6)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full EC0-350 Practice