Skip to content

Instantly share code, notes, and snippets.

@ephur
Created March 8, 2013 17:30
Show Gist options
  • Save ephur/5118208 to your computer and use it in GitHub Desktop.
Save ephur/5118208 to your computer and use it in GitHub Desktop.
""" Verify File """
@app.route('/file/verify/<hash>',methods=["POST"])
def post_file_verify(hash):
filename = request.form["filename"]
if host_audit.host.verify_file(hash,filename):
return("",200)
else:
return("",500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment