[Free] 2018(Jan) EnsurePass Dumpsleader ECCouncil 312-92 Dumps with VCE and PDF 1-10

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan ECCouncil Official New Released 312-92
100% Free Download! 100% Pass Guaranteed!

EC-Council Certified Secure Programmer (ECSP)

Question No: 1

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?

  1. Blowfish

  2. RC5

  3. RC4

  4. RC6

Answer: D

Question No: 2

What security package is implemented with the following code?

dwStatus = DsMakSpn (

“ldap”, “MyServer.Mydomain.com”, NULL,

0, NULL,

amp;pcSpnLength, pszSpn


rpcStatus = RpcServerRegisterAuthInfo (




  1. Diffie-Hellman encryption

  2. Repurposing

  3. SSPI

  4. SMDT

Answer: A

Question No: 3

Steve is using the libcap library to create scripts for capturing and analyzing network traffic.

Steve has never used libcap before and is struggling with finding out the correct functions to use. Steve is trying to pick the default network interface in his script and does not know which function to use. Which function would he use to correctly choose the default interface in the script?

  1. pcap_open_live

  2. pcap_int_default

  3. pcap_lookupdev

  4. pcap_use_int

Answer: C

Question No: 4

Processes having the “CAP_NET_BIND_SERVICE” can listen on which ports?

  1. Any TCP port over 1024

  2. Any UDP port under 1024

  3. Any TCP port under 1024

  4. Any UDP port over 1024

Answer: C

Question No: 5

David is an applications developer working for Dewer and Sons law firm in Los Angeles David just completed a course on writing secure code and was enlightened by all the intricacies of how code must be rewritten many times to ensure its security. David decides to go through all the applications he has written and change them to be more secure. David comes across the following snippet in one of his programs:

#include lt;stdio.hgt;

int main(int argc, char **argv)


int number = 5; printf(argv[1]);


printf(“number (%p) is equal to %d\n”,

amp;value, value);


What could David change, add, or delete to make this code more secure?

  1. Change putchar(‘\n’) to putchar(“%s”, ‘\n’)

  2. Change printf(argv[1]) to printf(“%s”, argv[1])

  3. Change printf(argv[1]) to printf(constv [0])

  4. Change int number = 5 to const number = “”

Answer: B

Question No: 6

Which Linux command will securely delete a file by overwriting its contents?

  1. rm -rf /

  2. Shred

  3. ps -rm

  4. del -rm

Answer: B

Question No: 7

Shayla is designing a web-based application that will pass data to and from a company extranet. This data is very sensitive and must be protected at all costs. Shayla will use a digital certificate and a digital signature to protect the data. The digital signature she has chosen to use is based on the difficulty in computing discrete logarithms. Which digital signature has she chosen?

  1. Rabin

  2. Diffie-Hellman

  3. SA-PSS

  4. ElGamal

Answer: D

Question No: 8

After learning from an external auditor that his code was susceptible to attack, George decided to rewrite some of his code to look like the following. What is George preventing by changing the code?

public voif doContent(…) {

String s;

if ((s = getUsernameByID(“userid”)) != null) { s = StringUtils.encodeToHTML(s, 50); response.write(“lt;brgt;Applicant:lt;ugt;” s “lt;/ugt;”);



  1. Query string manipulation

  2. XSS attack

  3. Cookie poisoning

  4. SQL injection

Answer: B

Question No: 9

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?

  1. 21

  2. 23

  3. 25

  4. 80

Answer: D

Question No: 10

What would be the result of the following code?

#include lt;stdio.hgt;

#include lt;stdlib.hgt;

int main(int argc, char *argv[])


char *input=malloc(20); char *output=malloc(20);

strcpy(output, “normal output”); strcpy(input, argv[1]);

printf(“input at %p: %s\n”, input, input); printf(“output at %p: %s\n”, output, output); printf(“\n\n%s\n”, output);


  1. Stack buffer overflow

  2. Heap overflow

  3. Query string manipulation

  4. Pointer Subterfuge

Answer: B

100% Ensurepass Free Download!
Download Free Demo:312-92 Demo PDF
100% Ensurepass Free Guaranteed!
312-92 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.