Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 49 The programmers on your team are analyzing the free, open source software being used to run FTP services on a server in your

image text in transcribed

QUESTION 49 The programmers on your team are analyzing the free, open source software being used to run FTP services on a server in your organization. They notice that there is excessive number of functions in the source code that might lead to bufter overfloW. These Cfunctions do not check bounds. Identify the line in the source code that might lead to buffer overflow? 1 Winclude 2 void stripni(char str) 3. while(strien(str) && ((stristrienistr)-1]-13) II 4. strstrlen(str) - 110)) 5. stristrien(str)-1]-0 9. int maino 10 FILE infle 11. char tname(40] 12 char line(100]. 13. int Icount 14 15. Read in the hlename choose the beet answer 16. printr Enter the name of a asci fie 17. fgets tname, sizeof fname), stdin). 19.?We need to get rid of the nevine char 20. stripnl(name) 21 22?Open the ne tt NULL is returned there was an error 23 if((intile : fopen(fname. r)-: NULL) { 24. printf Error Opening File n) 25. exit() 28. while( tgets(line, sizeof ine), intle)!- NULL) 29. Get each line from the infile " 3D. kount++ 31 print the line number and data 32 pnntf("Line %d: %s", Icount, ine): 34 35, close(infile): 36.) Close the file 20 32 QUESTION 50 Travis works primarily from home as a medical transcriptionist He just bought a brand new Dual Core Pentum computer with over 3 GB of RAM He uses voice recognition sottware to help him transfer what he dictates to electronic documents The voice recognition software is processor intensive, which is why he bought the new computer Travis frequently has to get on the Internet to do research on what the is working on After about two months of working on his new computer, he notices that it is not running nearly as fast as it used to. Travis uses antivirus sotware, ant-spywaire sortware, and aways keeps the computer up-to-date with Microsott patches. Ater another month of working on the computer, Travis' computer is even more noticeably sow Every once in awhile Travis also notices a window or two pop-up on his screen, but they quickly dsappear.He has seen these windows show up, even when he has not been on the Intemet. Travis is realy wornied about his computer because he spent a ot of money on it, and he depends on it to work. Travis scans his computer with all kinds of software, and cannot find anything out of the ordinary. Travis decides to go through Windows Explorer and check out the file system, folder by fokter, to see if there is anything he can find He spends over four hours pouring over the files and fokders and cannot find anything But, bctore he gres up, he notkes that his computer only has about 10 G8 of froc spacc avalabic.Sincc his hard drve is a 200 GB hard drive, Trais thinks this is very odd. choose the beet answer Travis downloads Space Monger and adds up the sizes for all the foiders and files on his computer. According to his caiculations, he should have around 150 GB of free space. What is mostly likely the cause of Travis' problems? OA Travis's computer is infected with stealth kernel level rootkit O B- Travis's computer is intected with Stealth Trojan Virus c. Traviss computer is infected with Selr-Replication Worm that fils the hard disk space ?1. Logic Bomb is triggered at random times creating hidden data consuming junk files QUESTION 49 The programmers on your team are analyzing the free, open source software being used to run FTP services on a server in your organization. They notice that there is excessive number of functions in the source code that might lead to bufter overfloW. These Cfunctions do not check bounds. Identify the line in the source code that might lead to buffer overflow? 1 Winclude 2 void stripni(char str) 3. while(strien(str) && ((stristrienistr)-1]-13) II 4. strstrlen(str) - 110)) 5. stristrien(str)-1]-0 9. int maino 10 FILE infle 11. char tname(40] 12 char line(100]. 13. int Icount 14 15. Read in the hlename choose the beet answer 16. printr Enter the name of a asci fie 17. fgets tname, sizeof fname), stdin). 19.?We need to get rid of the nevine char 20. stripnl(name) 21 22?Open the ne tt NULL is returned there was an error 23 if((intile : fopen(fname. r)-: NULL) { 24. printf Error Opening File n) 25. exit() 28. while( tgets(line, sizeof ine), intle)!- NULL) 29. Get each line from the infile " 3D. kount++ 31 print the line number and data 32 pnntf("Line %d: %s", Icount, ine): 34 35, close(infile): 36.) Close the file 20 32 QUESTION 50 Travis works primarily from home as a medical transcriptionist He just bought a brand new Dual Core Pentum computer with over 3 GB of RAM He uses voice recognition sottware to help him transfer what he dictates to electronic documents The voice recognition software is processor intensive, which is why he bought the new computer Travis frequently has to get on the Internet to do research on what the is working on After about two months of working on his new computer, he notices that it is not running nearly as fast as it used to. Travis uses antivirus sotware, ant-spywaire sortware, and aways keeps the computer up-to-date with Microsott patches. Ater another month of working on the computer, Travis' computer is even more noticeably sow Every once in awhile Travis also notices a window or two pop-up on his screen, but they quickly dsappear.He has seen these windows show up, even when he has not been on the Intemet. Travis is realy wornied about his computer because he spent a ot of money on it, and he depends on it to work. Travis scans his computer with all kinds of software, and cannot find anything out of the ordinary. Travis decides to go through Windows Explorer and check out the file system, folder by fokter, to see if there is anything he can find He spends over four hours pouring over the files and fokders and cannot find anything But, bctore he gres up, he notkes that his computer only has about 10 G8 of froc spacc avalabic.Sincc his hard drve is a 200 GB hard drive, Trais thinks this is very odd. choose the beet answer Travis downloads Space Monger and adds up the sizes for all the foiders and files on his computer. According to his caiculations, he should have around 150 GB of free space. What is mostly likely the cause of Travis' problems? OA Travis's computer is infected with stealth kernel level rootkit O B- Travis's computer is intected with Stealth Trojan Virus c. Traviss computer is infected with Selr-Replication Worm that fils the hard disk space ?1. Logic Bomb is triggered at random times creating hidden data consuming junk files

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Strategic Database Technology Management For The Year 2000

Authors: Alan Simon

1st Edition

155860264X, 978-1558602649

More Books

Students also viewed these Databases questions

Question

Set targets together with the managers.

Answered: 1 week ago

Question

2. How will the team select a leader?

Answered: 1 week ago