GIAC Penetration Tester (GPEN) — Question 40

You are pen testing a Linux target from your windows-based attack platform. You just moved a script file from the windows system to the Linux target, but it will not execute properly. What is the most likely problem?

Answer options

Correct answer: B

Explanation

The most likely issue is that the end-of-line characters differ between Windows and Linux, which can prevent the script from executing correctly. Windows typically uses carriage return and line feed (CRLF), while Linux uses just line feed (LF). The other options are less likely; byte length differences are not common, file corruption during transfer is unlikely, and ASCII character sets are generally consistent across these platforms.