Mike Murr

Solving Technological Problems With Behavioral Science

Connect

  • Email
  • RSS
  • Twitter

Copyright © 2025 · Mike Murr · All Rights Reserved

Copyright © 2025 · MikeMurr Theme on Genesis Framework · WordPress · Log in

Creating an EICAR test file

December 16, 2015 by Mike Leave a Comment

Copy and save the following as eicar.com (yes, it’s an all ASCII .com file):

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

As a sanity check, the file should be 68 bytes long. You can also try running the file, which should print “EICAR-STANDARD-ANTIVIRUS-TEST-FILE” to the screen.

Alternatively, you can download eicar.com.txt.

Filed Under: Security

Python Web Server in One Line

June 23, 2014 by Mike 1 Comment

Quick and dirty web server in Python that serves files out of the current directory.

For Python 3.X:

python -m http.server 8080

For Python 2.X:

python -m SimpleHTTPServer

Filed Under: Code Tagged With: one liner, python

Invoke the Python Debugger in One Line

June 23, 2014 by Mike Leave a Comment

Add the following snippet where you want to invoke the Python debugger:

import pdb;pdb.set_trace()

Filed Under: Code Tagged With: debugging, one liner, python

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »