It's important to note that permissions on Linux are divided into three categories: owner, group, and others. The "u" in the argument refers to the owner of the file, "g" refers to the group and "o" refers to others.
Also, the file permissions are divided into three types: read, write and execute. "r" refers to read permission, "w" refers to write permission and "x" refers to execute permission.
So, this command allows the owner of the file "script.sh" to execute the file.
Passed yesterday - this dump is still good. Make sure you read the descriptions because the selected answers are often wrong. Read through all of the descriptions - many of the group answers are chat-GPT 3.5 and are also incredibly wrong
the right answers to these questions are in the discussions and people are linking sources - great for studying.
A is correct.
Only about 40% of exam questions were from here. I didn't go through PT1 ones, maybe there were more there. 3 out of 5 PBQs from here.
Passed by the skin of my teeth tbh, expected it to be easier after studying all 400+ questions.
Lots of scripting and tool output questions.
The chmod command is used to change the permissions of a file. In this case, the option u+x is used to grant execution permission to the file owner (u refers to the user/owner, and +x adds the execute permission).
By running chmod u+x script.sh, the penetration tester is allowing the file owner to execute the shell script.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
RRabbit_111
Highly Voted 1 year, 11 months agooutnumber_gargle024
Highly Voted 7 months, 2 weeks agoAlarming_Subject
Most Recent 2 weeks, 2 days agoMeisAdriano
5 months, 1 week agoRocky_sy
7 months agocongnguyen92
11 months, 2 weeks agoAlizade
1 year, 2 months agoKeToopStudy
1 year, 5 months agobieecop
1 year, 5 months ago