power are motivated by thrill, validation of skills, sense of Script Kitties Traditional Hackers Code Developers Script Writers
Added by David P.
Close
Step 1
Step 1: The question asks which group of people are motivated by thrill, validation of skills, and a sense of power. Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 71 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Overview: The goal of this assignment is to exploit a "badly written" piece of code to gain root (administrator) access on a system. Do not use this code anywhere. The code called badcopy asks the user for two filenames; it then copies the contents of the first file (source) to the second file (destination). The code does not check if the second file exists, it just overwrites it. Since badcopy has setuid as root, to prevent users from copying restricted files, a file called .restricted is checked to make sure that none of the two strings entered are "restricted". If that is the case, the copying is not performed. As an attacker, think about ways to obtain a copy of this file and to bypass this restriction. Problem 1 - Find four unique exploits and write shell scripts for each exploit. Name your scripts exploit1.sh, exploit2.sh, exploit3.sh, and exploit4.sh. To determine if two exploits are unique, think about this. If you fixed the code to prevent the first exploit, does that also prevent the second exploit? If you answer yes, then the two exploits are not unique. If you are not sure, please contact the course staff. Important: At least one of your exploits must be a buffer overflow attack or ROP/return-to-libc or string format attack. The goal here is to get a root shell. In addition to the exploit scripts, create a text file explaining what vulnerability your exploit attacks and what your script does. Name your text file exploit1.txt, exploit2.txt, exploit3.txt, and exploit4.txt.
Akash M.
Which scripting language do you believe is best suited for penetration testing: Bash, Python, Ruby, or PowerShell? Defend your rationale.
Lucas F.
Yuri is a skilled computer security expert who attempts to break into the systems belonging to his clients. He has permission from the clients to perform this testing as part of a paid contract. What type of person is Yuri?
Sanchit J.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD