Skip to content

Instantly share code, notes, and snippets.

@meyt
Created August 23, 2018 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meyt/ba7edfac1df8322213ffb8b8f01ee15b to your computer and use it in GitHub Desktop.
Save meyt/ba7edfac1df8322213ffb8b8f01ee15b to your computer and use it in GitHub Desktop.
executable_file_extensions = (
# https://support.symantec.com/en_US/article.INFO3768.html
'.adp',
'.app',
'.asp',
'.bas',
'.bat',
'.cer',
'.chm',
'.cmd',
'.cnt',
'.com',
'.cpl',
'.crt',
'.csh',
'.der',
'.exe',
'.fxp',
'.gadget',
'.hlp',
'.hpj',
'.hta',
'.inf',
'.ins',
'.isp',
'.its',
'.js',
'.jse',
'.ksh',
'.lnk',
'.mad',
'.maf',
'.mag',
'.mam',
'.maq',
'.mar',
'.mas',
'.mat',
'.mau',
'.mav',
'.maw',
'.mda',
'.mdb',
'.mde',
'.mdt',
'.mdw',
'.mdz',
'.msc',
'.msh',
'.msh1',
'.msh2',
'.mshxml',
'.msh1xml',
'.msh2xml',
'.msi',
'.msp',
'.mst',
'.ops',
'.osd',
'.pcd',
'.pif',
'.plg',
'.prf',
'.prg',
'.pst',
'.reg',
'.scf',
'.scr',
'.sct',
'.shb',
'.shs',
'.ps1',
'.ps1xml',
'.ps2',
'.ps2xml',
'.psc1',
'.psc2',
'.tmp',
'.url',
'.vb',
'.vbe',
'.vbp',
'.vbs',
'.vsmacros',
'.vsw',
'.ws',
'.wsc',
'.wsf',
'.wsh',
'.xnk',
'.ade',
'.cla',
'.class',
'.grp',
'.jar',
'.mcf',
'.ocx',
'.pl',
'.xbap',
# http://www.silverink.nl/list-executable-file-extensions/
'.action',
'.apk',
'.app',
'.bat',
'.bin',
'.cmd',
'.com',
'.command',
'.cpl',
'.csh',
'.exe',
'.gadget',
'.inf1',
'.ins',
'.inx',
'.ipa',
'.isu',
'.job',
'.jse',
'.ksh',
'.lnk',
'.msc',
'.msi',
'.msp',
'.mst',
'.osx',
'.out',
'.paf',
'.pif',
'.prg',
'.ps1',
'.reg',
'.rgs',
'.run',
'.scr',
'.sct',
'.shb',
'.u3p',
'.vbscript',
'.workflow',
'.0xe',
'.73k',
'.89k',
'.a6p',
'.ac',
'.acc',
'.acr',
'.actm',
'.ahk',
'.air',
'.arscript',
'.as',
'.asb',
'.awk',
'.azw2',
'.beam',
'.btm',
'.cel',
'.celx',
'.cof',
'.dek',
'.dld',
'.dmc',
'.docm',
'.dotm',
'.dxl',
'.ear',
'.ebm',
'.ebs',
'.ebs2',
'.ecf',
'.eham',
'.elf',
'.es',
'.ex4',
'.exopc',
'.ezs',
'.fas',
'.fky',
'.fpi',
'.frs',
'.gs',
'.hms',
'.hpf',
'.iim',
'.ipf',
'.jsx',
'.kix',
'.lo',
'.ls',
'.mcr',
'.mel',
'.mpx',
'.mrc',
'.ms',
'.mxe',
'.nexe',
'.obs',
'.ore',
'.otm',
'.pex',
'.plx',
'.potm',
'.ppam',
'.ppsm',
'.pptm',
'.prc',
'.pvd',
'.pwc',
'.pyc',
'.pyo',
'.qpx',
'.rbx',
'.rox',
'.rpj',
'.s2a',
'.sbs',
'.sca',
'.scar',
'.scb',
'.script',
'.smm',
'.sp',
'.tcp',
'.thm',
'.tlb',
'.tms',
'.udf',
'.upx',
'.vlx',
'.vpm',
'.wcm',
'.widget',
'.wiz',
'.wpk',
'.wpm',
'.xap',
'.xlam',
'.xlm',
'.xlsm',
'.xltm',
'.xqt',
'.xys',
'.zl9'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment