Skip to content

Commit

Permalink
Merge pull request #32 from strictlymike/issue-31-http-exe
Browse files Browse the repository at this point in the history
MIME type for .exe fixes #31
  • Loading branch information
iphelix authored Aug 2, 2017
2 parents 11b598c + cadefd3 commit b4c6a69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fakenet/listeners/HTTPListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'image/jpeg': 'FakeNet.jpg',
'application/octet-stream': 'FakeNetMini.exe',
'application/x-msdownload': 'FakeNetMini.exe',
'application/x-msdos-program': 'FakeNetMini.exe',
'application/pdf': 'FakeNet.pdf',
'application/xml': 'FakeNet.html'
}
Expand Down Expand Up @@ -289,4 +290,4 @@ def main():
test(config)

if __name__ == '__main__':
main()
main()

0 comments on commit b4c6a69

Please sign in to comment.