Skip to content

Commit

Permalink
Correct missing comma in post-commands
Browse files Browse the repository at this point in the history
No  comma resulted in a command line that tried: mkdir /root/.msf4 cp /opt/database.yml /root/.msf4

Added comma after the inital mkdir to separate into a separate mkdir and cp command.
  • Loading branch information
l0stkn0wledge authored Sep 6, 2016
1 parent 6484c43 commit f2856c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/exploitation/metasploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
FEDORA=""

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},mv msfupdate.erb msfinstall,chmod 755 msfinstall,./msfinstall,rm msfinstall,update-rc.d postgresql enable, chmod +x {PTF_LOCATION}/modules/exploitation/msfdb.sh,sh {PTF_LOCATION}/modules/exploitation/msfdb.sh,mkdir /root/.msf4 cp /opt/database.yml /root/.msf4/,rm -rf /pentest/exploitation/metasploit 2> /dev/null,rm -rf /usr/local/bin/msf*"
AFTER_COMMANDS="cd {INSTALL_LOCATION},mv msfupdate.erb msfinstall,chmod 755 msfinstall,./msfinstall,rm msfinstall,update-rc.d postgresql enable, chmod +x {PTF_LOCATION}/modules/exploitation/msfdb.sh,sh {PTF_LOCATION}/modules/exploitation/msfdb.sh,mkdir /root/.msf4, cp /opt/database.yml /root/.msf4/,rm -rf /pentest/exploitation/metasploit 2> /dev/null,rm -rf /usr/local/bin/msf*"

# THIS WILL CREATE AN AUTOMATIC LAUNCHER FOR THE TOOL
LAUNCHER=""
Expand Down

0 comments on commit f2856c7

Please sign in to comment.