EC-COUNCIL EC-Council Certified Secure Programmer v2 - 312-92 FREE EXAM DUMPS QUESTIONS & ANSWERS

What function can be used with SQL to encrypt user supplied-passwords to that they can be compared with the encrypted passwords stored on the SQL server?
Correct Answer: C Vote an answer
Jacob just purchased the BlueFire Mobile Security Enterprise software package for all his company's mobile devices. Jacob wants to configure the software so that it will quarantine a device by blocking all incoming and outgoing network communication if a breach or violation has occurred. What feature of the BlueFire software will be able to accomplish this?
Correct Answer: C Vote an answer
When a developer is creating port binding shell code, why should he/she not use the NULL characters?
Correct Answer: B Vote an answer
When the following code is compiled and run is a program what size block will be used to hold name string?
#include <stdio.h>
int main(int argc, char **argv)
{
char target[5]="TTTT";
char attacker[11]="AAAAAAAAAA";
strcpy(attacker, " DDDDDDDDDDDDDD");
printf("% \n", target);
return 0;
}
Correct Answer: D Vote an answer
Neil is almost finished developing a Web-based inventorytracking application for a company he is working for under contract. Neil finds out that the company wants to pay him half of what they had agreed upon so he is very angry. Neil decides to insert the following code into his application. What is Neil trying to create here?
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
char buffer[10];
if (argc < 2)
{
fprintf(stderr, "USAGE: %s
string\n", argv[0]);
return 1;
}
strcpy(buffer, argv[1]);
return 0;
}
Correct Answer: A Vote an answer
Devon is an applications developer that just got back from a conference on how to correctly write code. Devon has a number of programs he has written that access data across WAN links, so he is particularly concerned about their security. Devon writes a script in C++ to check the security of the programs running on his internal servers. What will the following code from Devon's script accomplish?
#include <iostream>
#include <socket.cpp>
#include <util.h>
using namespace std;
bool tryPort(int p);
string target("");
int main(int argC, char *argV[])
{
printf("PlagueZ port scanner 0.1\n");
int startPort = getInt("start Port: ");
int endPort = getInt("end Port: ");
target = getString("Host: ");
printf("[Processing port %d to %d]\n",
startPort, endPort);
for(int i=0; i<endPort; i++)
{
printf("[Trying port: %d]\n", i);
if(tryPort(i)) // port open
printf("[Port %d is open]\n", i);
}
printf("------Scan Finished-------\n");
system("pause");
return 0;
}
bool tryPort(int p)
{
SocketClient *scan;
try
{
scan = new SocketClient(target, p);
}
catch(int e) { delete &scan; return
false; }
delete &scan;
return true;
}
Correct Answer: B 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: D Vote an answer
Clay is a SQL dba working for Integrated Solutions Inc., a graphics design company in Miami. Clay administers 10 SQL servers at the company's headquarters. Clay wants to ensure that all SQL traffic stays within the internal network and no SQL traffic from the outside can get into the internal network. What ports should Clay tell the network team to close off at the firewall to disallow all incoming and outgoing SQL traffic?
Correct Answer: A,C Vote an answer
Peter is writing a program that has a GUI front-end and uses a MS SQL database as a backend. Peter's application will repeatedly update and call upon specific tables in the database on a regular basis. Peter wants to make sure that his program always has the ability to update the database and that no other calls or updates can touch the database tables used at the same time. How could Peter accomplish this in his application?
Correct Answer: C Vote an answer
What encryption algorithm is used by PERL crypt() function?
Correct Answer: D Vote an answer
0
0
0
10