def ms_attacks(exploit):
 return {'1': 'dll_hijacking', '2': 'unc_embed', '3': 'exploit/windows/fileformat/ms15_100_mcl_exe', '4': 'exploit/windows/fileformat/ms14_017_rtf', '5': 'exploit/windows/fileformat/ms11_006_createsizeddibsection', '6': 'exploit/windows/fileformat/ms10_087_rtf_pfragments_bof', '7': 'exploit/windows/fileformat/adobe_flashplayer_button', '8': 'exploit/windows/fileformat/adobe_cooltype_sing', '9': 'exploit/windows/fileformat/adobe_flashplayer_newfunction', '10': 'exploit/windows/fileformat/adobe_collectemailinfo', '11': 'exploit/windows/fileformat/adobe_geticon', '12': 'exploit/windows/fileformat/adobe_jbig2decode', '13': 'exploit/windows/fileformat/adobe_pdf_embedded_exe', '14': 'exploit/windows/fileformat/adobe_utilprintf', '15': 'custom/exe/to/vba/payload', '16': 'exploit/windows/fileformat/adobe_u3d_meshdecl', '17': 'exploit/windows/fileformat/adobe_pdf_embedded_exe_nojs', '18': 'exploit/windows/fileformat/foxit_title_bof', '19': 'exploit/windows/fileformat/apple_quicktime_pnsize', '20': 'exploit/windows/fileformat/nuance_pdf_launch_overflow', '21': 'exploit/windows/fileformat/adobe_reader_u3d', '22': 'exploit/windows/fileformat/ms12_027_mscomctl_bof'}.get(exploit, 'INVALID')

def ms_attacks ( exploit ) : return { '1' : 'dll_hijacking' , '2' : 'unc_embed' , '3' : 'exploit/windows/fileformat/ms15_100_mcl_exe' , '4' : 'exploit/windows/fileformat/ms14_017_rtf' , '5' : 'exploit/windows/fileformat/ms11_006_createsizeddibsection' , '6' : 'exploit/windows/fileformat/ms10_087_rtf_pfragments_bof' , '7' : 'exploit/windows/fileformat/adobe_flashplayer_button' , '8' : 'exploit/windows/fileformat/adobe_cooltype_sing' , '9' : 'exploit/windows/fileformat/adobe_flashplayer_newfunction' , '10' : 'exploit/windows/fileformat/adobe_collectemailinfo' , '11' : 'exploit/windows/fileformat/adobe_geticon' , '12' : 'exploit/windows/fileformat/adobe_jbig2decode' , '13' : 'exploit/windows/fileformat/adobe_pdf_embedded_exe' , '14' : 'exploit/windows/fileformat/adobe_utilprintf' , '15' : 'custom/exe/to/vba/payload' , '16' : 'exploit/windows/fileformat/adobe_u3d_meshdecl' , '17' : 'exploit/windows/fileformat/adobe_pdf_embedded_exe_nojs' , '18' : 'exploit/windows/fileformat/foxit_title_bof' , '19' : 'exploit/windows/fileformat/apple_quicktime_pnsize' , '20' : 'exploit/windows/fileformat/nuance_pdf_launch_overflow' , '21' : 'exploit/windows/fileformat/adobe_reader_u3d' , '22' : 'exploit/windows/fileformat/ms12_027_mscomctl_bof' } . get ( exploit , 'INVALID' )
receives the input given by the user from create_payload .