server

command
v0.0.0-...-394b203 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2017 License: BSD-2-Clause Imports: 8 Imported by: 0

README

hashdb server

This is a sample http server.

It understands three HTTP Requests:

  • /md5?q=AAAAAAA -> (GET) searches the MD5 hash in the database
  • /sha1?q=BBBBBB -> (GET) searches the SHA1 hash in the database
  • /new?p=newPassword -> (POST) adds the password to the database

Before the server can be started for the first time the following directories must exist:

  • db
    • db/md5
    • db/sha1

Use mkdir db db/md5 db/sha1 in the server directory to create them.

Documentation

Overview

This http-"server" understands three different requests:

  • /md5?q=AAAAAAA -> searches the MD5 hash in the database
  • /sha1?q=BBBBBB -> searches the SHA1 hash in the database
  • /new?p=newPassword -> adds the password to the database

Before the server is started the first time the "db" folder has to be created:

  • `mkdir db db/md5 db/sha1`

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL